brother-ql570

maintainer kbabioch · 6 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads official Brother printer drivers from brother.com, a legitimate vendor domain, to build and install the software; the non-standard host is actually the official support site, and the downloaded RPMs are standard distribution formats for the vendor's drivers, making this a normal and safe AUR package for proprietary hardware support.

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 drivers from brother.com, a legitimate vendor domain, to build and install the software; the non-standard host is actually the official support site, and the downloaded RPMs are standard distribution formats for the vendor's drivers, making this a normal and safe AUR package for proprietary hardware support.

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:18 source=("http://download.brother.com/welcome/dlfp002173/ql570lpr-${pkgver/r/-}.i386.rpm"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Karol Babioch <karol@babioch.de>
2# Inspired by package brother-dcp130c
3
4pkgname='brother-ql570'
5pkgver=1.0.1r0
6pkgrel=1
7pkgdesc='LPR and CUPS driver for Brother QL-570 label printer'
8url='http://solutions.brother.com/linux/en_us/'
9arch=('i686' 'x86_64')
10license=('custom')
11depends='cups'
12if [ "$CARCH" = 'x86_64' ]; then
13 depends+=('lib32-glibc')
14fi
15conflicts=('brother-ql570-cupswrapper' 'brother-ql570-lpr')
16provides=('brother-ql570-cupswrapper' 'brother-ql570-lpr')
17install="$pkgname.install"
18source=("http://download.brother.com/welcome/dlfp002173/ql570lpr-${pkgver/r/-}.i386.rpm"
19 "http://download.brother.com/welcome/dlfp002175/ql570cupswrapper-${pkgver/r/-}.i386.rpm"
20 'LICENSE')
21sha256sums=('b6a555a901358a43dd73465afed3865f42086231b43e1ff59252a633c612aef8'
22 'c5aa368114608f029688847ee2a21be6e20a9b3f272f543cbcede875c62e56b6'
23 'cdd1955a9996bc246ba54e84f0a5ccbfdf6623962b668188762389aa79ef9811')
24
25prepare()
26{
27 # do not install in '/usr/local'
28 if [ -d $srcdir/usr/local/Brother ]; then
29 install -d $srcdir/usr/share
30 mv $srcdir/usr/local/Brother/ $srcdir/usr/share/brother
31 rm -rf $srcdir/usr/local
32 sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
33 fi
34
35 # setup cups directories
36 install -d "$srcdir/usr/share/cups/model"
37 install -d "$srcdir/usr/lib/cups/filter"
38
39 # go to the cupswrapper directory and find the source file from wich to generate a ppd- and wrapper-file
40 cd `find . -type d -name 'cupswrapper'`
41 if [ -f cupswrapper* ]; then
42 _wrapper_source=`ls cupswrapper*`
43 sed -i '/^\/etc\/init.d\/cups/d' $_wrapper_source
44 sed -i '/^sleep/d' $_wrapper_source
45 sed -i '/^echo lpadmin/d' $_wrapper_source
46 sed -i '/^lpadmin/d' $_wrapper_source
47 sed -i 's|/usr|$srcdir/usr|g' $_wrapper_source
48 sed -i 's|/opt|$srcdir/opt|g' $_wrapper_source
49 sed -i 's|/model/Brother|/model|g' $_wrapper_source
50 sed -i 's|lpinfo|echo|g' $_wrapper_source
51 export srcdir=$srcdir
52 ./$_wrapper_source
53 sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
54 sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*
55 rm $_wrapper_source
56 fi
57
58 # /etc/printcap is managed by cups
59 rm `find $srcdir -type f -name 'setupPrintcap*'`
60}
61
62package() {
63 cd "$srcdir"
64
65 cp -R usr $pkgdir
66 if [ -d opt ]; then cp -R opt $pkgdir; fi
67
68 install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
69}
70
71

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion