brother-mfc-j6720dw
maintainer dinicachy
· 0 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 public servers, which is normal for proprietary drivers; the host is not whitelisted but is plausibly official, and the checksums are provided, making this a standard, low-risk AUR package for building from official vendor sources.
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 public servers, which is normal for proprietary drivers; the host is not whitelisted but is plausibly official, and the checksums are provided, making this a standard, low-risk AUR package for building from official vendor sources.
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:15
"http://www.brother.com/pub/bsc/linux/packages/mfcj6720dwcupswrapper-3.0.0-1.i386.rpm"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Mevludin Z <dini@duck.com>
2
# Original Maintainer: Reik Keutterling <spielkind@gmail.com>
3
# Adapted from brother-hl8350cdw by giulio
4
# Adapted from this guys above
5
pkgname="brother-mfc-j6720dw"
6
pkgver="3.0.0"
7
pkgrel=1
8
pkgdesc="LPR and CUPS driver for the Brother HL-L8250CDN"
9
arch=('i686' 'x86_64')
10
url="http://solutions.brother.com/linux/en_us/"
11
license=('custom:brother commercial license')
12
depends=('cups')
13
install='brother-mfc-j6720dw.install'
14
source=(
15
"http://www.brother.com/pub/bsc/linux/packages/mfcj6720dwcupswrapper-3.0.0-1.i386.rpm"
16
"http://www.brother.com/pub/bsc/linux/packages/mfcj6720dwlpr-3.0.0-1.i386.rpm"
17
'cupswrapper-license.txt'
18
'lpr-license.txt'
19
)
20
md5sums=('a72e1fc9c765f0606d209d3474c7961d'
21
'5e0d68456ab75a64666fdb563720fd2b'
22
'97ad0cffd216059e9d1d3121899d8646'
23
'5e87a3dc0f3e3438c088eda0f3565f0d')
24
if test "$CARCH" == x86_64; then
25
depends+=('lib32-glibc')
26
fi
27
28
prepare() {
29
# do not install in '/usr/local'
30
if [ -d $srcdir/usr/local/Brother ]; then
31
install -d $srcdir/usr/share
32
mv $srcdir/usr/local/Brother/ $srcdir/usr/share/brother
33
rm -rf $srcdir/usr/local
34
sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
35
fi
36
37
# setup cups-directories
38
install -d $srcdir/usr/share/cups/model
39
install -d $srcdir/usr/lib/cups/filter
40
41
# go to the cupswrapper directory and find the source file from wich to generate a ppd- and wrapper-file
42
cd `find . -type d -name 'cupswrapper'`
43
if [ -f cupswrapper* ]; then
44
_wrapper_source=`ls cupswrapper*`
45
sed -i '/^\/etc\/init.d\/cups/d' $_wrapper_source
46
sed -i '/^sleep/d' $_wrapper_source
47
sed -i '/^lpadmin/d' $_wrapper_source
48
sed -i 's|/usr|$srcdir/usr|g' $_wrapper_source
49
sed -i 's|/opt|$srcdir/opt|g' $_wrapper_source
50
sed -i 's|/model/Brother|/model|g' $_wrapper_source
51
sed -i 's|lpinfo|echo|g' $_wrapper_source
52
export srcdir=$srcdir
53
./$_wrapper_source
54
sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
55
sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*
56
rm $_wrapper_source
57
fi
58
# /etc/printcap is managed by cups
59
rm `find $srcdir -type f -name 'setupPrintcap*'`
60
}
61
62
package() {
63
cp -R $srcdir/usr $pkgdir
64
65
#We need to install the filter file to the cups filter path, so the PPD can find it
66
mkdir -p $pkgdir/usr/lib/cups/filter
67
cp $srcdir/opt/brother/Printers/mfcj6720dw/cupswrapper/brother_mfcj6720dw_printer_en.ppd \
68
$pkgdir/usr/lib/cups/filter
69
70
if [ -d $srcdir/opt ]; then
71
cp -R $srcdir/opt $pkgdir;
72
fi
73
install -m 644 -D cupswrapper-license.txt $pkgdir/usr/share/licenses/${pkgname}/cupswrapper-licence.txt
74
install -m 644 -D lpr-license.txt $pkgdir/usr/share/licenses/${pkgname}/lpr-licence.txt
75
}
76
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 |