brother-mfc-l2720dw
The package downloads official Brother driver RPMs from brother.com's download subdomain, which is the vendor's legitimate distribution channel; despite the static analyzer flag for a non-whitelisted host, this is a normal and expected source for proprietary drivers, and the files are verified via provided md5sums.
Triggered rules
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 brother.com's download subdomain, which is the vendor's legitimate distribution channel; despite the static analyzer flag for a non-whitelisted host, this is a normal and expected source for proprietary drivers, and the files are verified via provided md5sums.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:13
"http://download.brother.com/welcome/dlf101799/mfcl2720dwlpr-$pkgver-$pkgrel.i386.rpm"
PKGBUILD
1 offending line(s) highlighted# Maintainer: David Waldeck < mail at david-waldeck dot de
pkgname="brother-mfc-l2720dw"
pkgver="3.2.0"
pkgrel=1
pkgdesc="LPR and CUPS driver for the Brother MFC-l2720DW"
url="http://solutions.brother.com/linux/en_us/"
arch=("i686" "x86_64")
license=('custom:brother commercial license')
depends=("cups")
depends_x86_64=('lib32-glibc')
install="$pkgname.install"
source=(
"http://download.brother.com/welcome/dlf101799/mfcl2720dwlpr-$pkgver-$pkgrel.i386.rpm"
"http://download.brother.com/welcome/dlf101800/mfcl2720dwcupswrapper-$pkgver-$pkgrel.i386.rpm"
)
md5sums=(
'02590f6087f26e2a831ea60da218e81d'
'a215b945150a87583c4f832261811793'
)
prepare() {
# do not install in '/usr/local'
if [ -d $srcdir/usr/local/Brother ]; then
install -dm755 "$srcdir/usr/share"
mv "$srcdir/usr/local/Brother/" "$srcdir/usr/share/brother"
rm -rf "$srcdir/usr/local"
sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
fi
# create cups-directories
install -dm755 "$srcdir/usr/share/cups/model"
install -dm755 "$srcdir/usr/lib/cups/filter"
# copy ppd and filter file to their destination dirs
cd `find . -type d -name 'cupswrapper'`
cp *lpdwrapper* "$srcdir/usr/lib/cups/filter/"
cp *.ppd "$srcdir/usr/share/cups/model/"
# set the basedir to an absolute path in the perl-lpdwrapper-script
# the relative path,generated on the basis of the caller, does not work in this case
cd "$srcdir"
# get absolute printer path
_baseDir="\"/$(find opt -maxdepth 3 -depth -print -quit -type d)\""
# replace the dynamic basedir var with the absolute path
sed -i "s|\`readlink\ \$0\`|$_baseDir|" $srcdir/usr/lib/cups/filter/*lpdwrapper*
# /etc/printcap is managed by cups
rm "$(find $srcdir -type f -name 'setupPrintcap*')"
}
package() {
cp -R "$srcdir/usr" "$pkgdir"
cp -R "$srcdir/opt" "$pkgdir"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |