tscdriver

maintainer Thorned_Rose · 3 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged This PKGBUILD installs prebuilt binaries (thermalprinterui, thermalprinterut with SUID bit 4755, brusb, brsocket CUPS backends, rastertobarcodetspl CUPS filter) extracted from a zip archive hosted on fs.tscprinters.com. While tscprinters.com is the official TSC printer vendor website, fs.tscprinters.com is a file-hosting subdomain that is not a well-known, independently verifiable software distribution channel. The binaries are executed directly without any source build, and one binary (thermalprinterut) is installed SUID root (mode 4755), which is a significant privilege escalation vector if the binary is malicious or compromised. A sha256sum is present, which mitigates substitution attacks somewhat, but does not verify the integrity of the original vendor release. The combination of unverified prebuilt binaries from a vendor subdomain plus a SUID binary installation constitutes a real medium-severity supply-chain concern.

Triggered rules

MEDIUM source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:12 source=("$pkgname-$pkgver.zip::https://fs.tscprinters.com/system/files/linux64_v${pkgver}.zip")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD installs prebuilt binaries (thermalprinterui, thermalprinterut with SUID bit 4755, brusb, brsocket CUPS backends, rastertobarcodetspl CUPS filter) extracted from a zip archive hosted on fs.tscprinters.com. While tscprinters.com is the official TSC printer vendor website, fs.tscprinters.com is a file-hosting subdomain that is not a well-known, independently verifiable software distribution channel. The binaries are executed directly without any source build, and one binary (thermalprinterut) is installed SUID root (mode 4755), which is a significant privilege escalation vector if the binary is malicious or compromised. A sha256sum is present, which mitigates substitution attacks somewhat, but does not verify the integrity of the original vendor release. The combination of unverified prebuilt binaries from a vendor subdomain plus a SUID binary installation constitutes a real medium-severity supply-chain concern.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: rafaelff <rafaelff@gnome.org>
2
3pkgname=tscdriver
4pkgver=1.2.13
5pkgrel=1
6pkgdesc="Drivers for TSC Printers"
7arch=(x86_64)
8url="https://www.tscprinters.com"
9license=('custom:proprietary')
10depends=(gtk2 libusb)
11makedepends=(unzip)
12source=("$pkgname-$pkgver.zip::https://fs.tscprinters.com/system/files/linux64_v${pkgver}.zip")
13sha256sums=('8661fa914b0b07b4c3f32ab9900397a4cb3503e1f1e35aa081e21e6f20c6a2dd')
14
15prepare() {
16 #unzip linux64_v${pkgver}/Linux64_v${pkgver}.zip
17 tar xf Linux64_v${pkgver}/barcodedriver-${pkgver}-x86_64.tar.gz
18}
19
20package() {
21 cd barcodedriver-$pkgver
22
23 install -vdm755 "$pkgdir/usr/bin/"
24 install -vm755 thermalprinterui "$pkgdir/usr/bin/"
25 install -vm4755 thermalprinterut "$pkgdir/usr/bin/"
26
27 install -vdm755 "$pkgdir/usr/lib/cups/backend/"
28 install -vm755 backend/brusb "$pkgdir/usr/lib/cups/backend/"
29 install -vm755 backend/brsocket "$pkgdir/usr/lib/cups/backend/"
30
31 install -vdm755 "$pkgdir/usr/lib/cups/filter/"
32 install -vm755 rastertobarcodetspl "$pkgdir/usr/lib/cups/filter/rastertobarcodetspl"
33
34 install -vdm755 "$pkgdir/usr/share/cups/model/tsc-ppds/"
35 install -vm644 ppd/*.ppd "$pkgdir/usr/share/cups/model/tsc-ppds/"
36
37 install -vDm644 thermalprinterui.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/thermalprinterui.png"
38 install -vDm644 barcodeprintersetting.desktop "$pkgdir/usr/share/applications/barcodeprintersetting.desktop"
39 sed -i "$pkgdir/usr/share/applications/barcodeprintersetting.desktop" \
40 -e 's/Exec=.*/Exec=thermalprinterui/;s/Icon=.*/Icon=thermalprinterui.png/'
41}
42

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion