brother-mfc-l5902dw

LOW
maintainer tiagocardoso 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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