brother-mfc-l5902dw

LOW
maintainer tiagocardoso 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads official Brother printer drivers from the vendor's own download domain (download.brother.com), which is a legitimate source despite not being on common whitelists; the files are verified via provided sha256sums and are unpacked and installed in a standard way without executing untrusted code.

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 the vendor's own download domain (download.brother.com), which is a legitimate source despite not being on common whitelists; the files are verified via provided sha256sums and are unpacked and installed in a standard way without executing untrusted code.

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 source=("http://download.brother.com/welcome/dlf102633/mfc${model}lpr-$pkgver-$pkgrel.i386.deb"

PKGBUILD

1 offending line(s) highlighted
1model=l5902dw
2pkgname=brother-mfc-${model}
3pkgver=3.2.0
4pkgrel=1
5pkgdesc="Brother cups and lpd driver for L5902DW"
6arch=('i686' 'x86_64')
7url="http://solutions.brother.com/linux/en_us/index.html"
8license=('unknown')
9depends=('tcsh' 'deb2targz' 'perl' 'a2ps')
10
11source=("http://download.brother.com/welcome/dlf102633/mfc${model}lpr-$pkgver-$pkgrel.i386.deb"
12 "http://download.brother.com/welcome/dlf102634/mfc${model}cupswrapper-$pkgver-$pkgrel.i386.deb")
13
14sha256sums=('82a370d3acd84daacb2ad583e703d3462d2fd1c7c788504a3236653367350ff2'
15 '6583c276991bb5389c77f55b7cf95e89de4e6a7df450d3304a5c994fc232fac1')
16
17package() {
18 deb2targz *.deb >/dev/null || return 1
19 rm -f *.deb || return 1
20 cd $srcdir || return 1
21 [ -d "mfc${model}" ] || (mkdir mfc${model} || return 1)
22 for i in *.tar.gz;do tar xfz $i -C mfc${model};done || return 1
23 cd mfc${model} || return 1
24 cd opt/brother/Printers/MFC${model^^} || return 1
25 perl -i -pe 's#/etc/init.d#/etc/rc.d#g' ./cupswrapper/brother_lpdwrapper_MFC${model^^} || return 1
26 perl -i -pe 's#printcap\.local#printcap#g' $srcdir/mfc${model}/opt/brother/Printers/MFC${model^^}/inf/setupPrintcap || return 1
27 cp -rf $srcdir/mfc${model}/usr/ $pkgdir/ || return 1
28 cp -rf $srcdir/mfc${model}/opt/ $pkgdir/ || return 1
29
30 mkdir -p ${pkgdir}/usr/share/cups/model
31 mkdir -p ${pkgdir}/usr/lib/cups/filter
32
33 ln -sv /opt/brother/Printers/MFC${model^^}/cupswrapper/brother-MFC${model^^}-cups-en.ppd ${pkgdir}/usr/share/cups/model
34 ln -sv /opt/brother/Printers/MFC${model^^}/cupswrapper/brother_lpdwrapper_MFC${model^^} ${pkgdir}/usr/lib/cups/filter
35}
36

Scan history

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

Report a package

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

0 / 4000
Your suggestion