brother-mfc-l5902dw
maintainer tiagocardoso
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
1
model=l5902dw
2
pkgname=brother-mfc-${model}
3
pkgver=3.2.0
4
pkgrel=1
5
pkgdesc="Brother cups and lpd driver for L5902DW"
6
arch=('i686' 'x86_64')
7
url="http://solutions.brother.com/linux/en_us/index.html"
8
license=('unknown')
9
depends=('tcsh' 'deb2targz' 'perl' 'a2ps')
10
11
source=("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
14
sha256sums=('82a370d3acd84daacb2ad583e703d3462d2fd1c7c788504a3236653367350ff2'
15
'6583c276991bb5389c77f55b7cf95e89de4e6a7df450d3304a5c994fc232fac1')
16
17
package() {
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) | 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 |