brother-ql1050n
maintainer kbabioch
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads official Brother printer driver RPMs from brother.com's download subdomain, which is the vendor's legitimate distribution infrastructure; building from vendor-provided binaries is normal for proprietary drivers and poses no additional supply-chain risk despite the non-whitelisted host.
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 printer driver RPMs from brother.com's download subdomain, which is the vendor's legitimate distribution infrastructure; building from vendor-provided binaries is normal for proprietary drivers and poses no additional supply-chain risk despite the non-whitelisted host.
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:16
source=("http://download.brother.com/welcome/dlfp002227/ql1050lpr-${pkgver/r/-}.i386.rpm"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Karol Babioch <karol@babioch.de>
2
# Inspired by package brother-dcp130c
3
4
pkgname='brother-ql1050n'
5
pkgver=1.0.5r0
6
pkgrel=1
7
pkgdesc='LPR and CUPS driver for Brother QL-1050N label printer'
8
url='http://solutions.brother.com/linux/en_us/'
9
arch=('i686' 'x86_64')
10
license=('custom')
11
depends='cups'
12
if [ "$CARCH" = 'x86_64' ]; then
13
depends+=('lib32-glibc')
14
fi
15
install="$pkgname.install"
16
source=("http://download.brother.com/welcome/dlfp002227/ql1050lpr-${pkgver/r/-}.i386.rpm"
17
"http://download.brother.com/welcome/dlfp002229/ql1050cupswrapper-${pkgver/r/-}.i386.rpm"
18
'LICENSE')
19
sha256sums=('dd1b15fa423847220450149f3c06b302ab7ac5a73756aa48ff2520d59eb6f1aa'
20
'813f1ed6191bc295f5b7d9550ed7466aec1cbfcfdae6d8c7cec204e8c1e2c073'
21
'cdd1955a9996bc246ba54e84f0a5ccbfdf6623962b668188762389aa79ef9811')
22
23
prepare()
24
{
25
# do not install in '/usr/local'
26
if [ -d $srcdir/usr/local/Brother ]; then
27
install -d $srcdir/usr/share
28
mv $srcdir/usr/local/Brother/ $srcdir/usr/share/brother
29
rm -rf $srcdir/usr/local
30
sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
31
fi
32
33
# setup cups directories
34
install -d "$srcdir/usr/share/cups/model"
35
install -d "$srcdir/usr/lib/cups/filter"
36
37
# go to the cupswrapper directory and find the source file from wich to generate a ppd- and wrapper-file
38
cd `find . -type d -name 'cupswrapper'`
39
if [ -f cupswrapper* ]; then
40
_wrapper_source=`ls cupswrapper*`
41
sed -i '/^\/etc\/init.d\/cups/d' $_wrapper_source
42
sed -i '/^sleep/d' $_wrapper_source
43
sed -i '/^echo lpadmin/d' $_wrapper_source
44
sed -i '/^lpadmin/d' $_wrapper_source
45
sed -i 's|/usr|$srcdir/usr|g' $_wrapper_source
46
sed -i 's|/opt|$srcdir/opt|g' $_wrapper_source
47
sed -i 's|/model/Brother|/model|g' $_wrapper_source
48
sed -i 's|lpinfo|echo|g' $_wrapper_source
49
export srcdir=$srcdir
50
./$_wrapper_source
51
sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
52
sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*
53
rm $_wrapper_source
54
fi
55
56
# /etc/printcap is managed by cups
57
rm `find $srcdir -type f -name 'setupPrintcap*'`
58
}
59
60
package() {
61
cd "$srcdir"
62
63
cp -R usr $pkgdir
64
if [ -d opt ]; then cp -R opt $pkgdir; fi
65
66
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
67
}
68
69
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 |