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-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |