tscdriver
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
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")
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# Maintainer: rafaelff <rafaelff@gnome.org>
pkgname=tscdriver
pkgver=1.2.13
pkgrel=1
pkgdesc="Drivers for TSC Printers"
arch=(x86_64)
url="https://www.tscprinters.com"
license=('custom:proprietary')
depends=(gtk2 libusb)
makedepends=(unzip)
source=("$pkgname-$pkgver.zip::https://fs.tscprinters.com/system/files/linux64_v${pkgver}.zip")
sha256sums=('8661fa914b0b07b4c3f32ab9900397a4cb3503e1f1e35aa081e21e6f20c6a2dd')
prepare() {
#unzip linux64_v${pkgver}/Linux64_v${pkgver}.zip
tar xf Linux64_v${pkgver}/barcodedriver-${pkgver}-x86_64.tar.gz
}
package() {
cd barcodedriver-$pkgver
install -vdm755 "$pkgdir/usr/bin/"
install -vm755 thermalprinterui "$pkgdir/usr/bin/"
install -vm4755 thermalprinterut "$pkgdir/usr/bin/"
install -vdm755 "$pkgdir/usr/lib/cups/backend/"
install -vm755 backend/brusb "$pkgdir/usr/lib/cups/backend/"
install -vm755 backend/brsocket "$pkgdir/usr/lib/cups/backend/"
install -vdm755 "$pkgdir/usr/lib/cups/filter/"
install -vm755 rastertobarcodetspl "$pkgdir/usr/lib/cups/filter/rastertobarcodetspl"
install -vdm755 "$pkgdir/usr/share/cups/model/tsc-ppds/"
install -vm644 ppd/*.ppd "$pkgdir/usr/share/cups/model/tsc-ppds/"
install -vDm644 thermalprinterui.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/thermalprinterui.png"
install -vDm644 barcodeprintersetting.desktop "$pkgdir/usr/share/applications/barcodeprintersetting.desktop"
sed -i "$pkgdir/usr/share/applications/barcodeprintersetting.desktop" \
-e 's/Exec=.*/Exec=thermalprinterui/;s/Icon=.*/Icon=thermalprinterui.png/'
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |