brother-pt9800pcn
maintainer marcel83
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads official Brother driver RPMs from the vendor's own download domain, which is plausible and expected for proprietary drivers; the non-whitelisted host is the vendor's official support site, and the build process unpacks and installs expected files without executing remote code or introducing untrusted binaries.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads official Brother driver RPMs from the vendor's own download domain, which is plausible and expected for proprietary drivers; the non-whitelisted host is the vendor's official support site, and the build process unpacks and installs expected files without executing remote code or introducing untrusted binaries.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:11
"https://download.brother.com/welcome/dlfp100028/pt9800pcnlpr-1.0.1-1.i386.rpm"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Marcel Hasler <mahasler at gmail dot com>
2
3
pkgname=brother-pt9800pcn
4
pkgver=1.0.1
5
pkgrel=1
6
pkgdesc="Driver and CUPS wrapper for Brother PT-9800PCN label printer"
7
arch=("x86_64")
8
url="https://support.brother.com/g/b/producttop.aspx?c=us&lang=en&prod=9800neus"
9
license=("EULA")
10
source=(
11
"https://download.brother.com/welcome/dlfp100028/pt9800pcnlpr-1.0.1-1.i386.rpm"
12
"https://download.brother.com/welcome/dlfp100030/pt9800pcncupswrapper-1.0.1-1.i386.rpm"
13
"brother-pt9800pcn.patch"
14
)
15
16
sha256sums=(
17
"bab011139b20fec467869110a0fc3621ce37f9b94a97f51f50ec692f75d1efea"
18
"68d4cbb72b0ef835837b05e77ef4fc5c487a105a75029625929282b19031098e"
19
"a66d72fe5cdb5aa87b194912657c41a9efd96c238eb66fc60556215298633e8c"
20
)
21
22
prepare() {
23
cd "$srcdir/opt/brother/PTouch/pt9800pcn/cupswrapper"
24
patch < $srcdir/../brother-pt9800pcn.patch
25
26
cd "$srcdir"
27
sh opt/brother/PTouch/pt9800pcn/cupswrapper/cupswrapperpt9800pcn
28
}
29
30
package() {
31
mkdir -p "$pkgdir/opt"
32
mkdir -p "$pkgdir/usr/lib"
33
mkdir -p "$pkgdir/usr/share"
34
35
cp -R "$srcdir/opt/brother" "$pkgdir/opt"
36
cp -R "$srcdir/usr/bin" "$pkgdir/usr"
37
38
rm "$pkgdir/opt/brother/PTouch/pt9800pcn/cupswrapper/cupswrapperpt9800pcn"
39
rm "$pkgdir/opt/brother/PTouch/pt9800pcn/inf/setupPrintcappt1"
40
41
install -m 755 -D wrapper "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_pt9800pcn"
42
install -m 644 -D ppd_file "$pkgdir/usr/share/cups/model/PT9800PCN.ppd"
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |