brother-mfc-l2710dw

MEDIUM
maintainer robertfoster 8 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt vendor binary (RPM) from a non-whitelisted but official brother.com domain; while the source is unverifiable and carries supply-chain risk, it is not actively malicious or obfuscated.

Triggered rules

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:19 source=("https://download.brother.com/welcome/dlf103525/mfcl2710dwpdrv-$pkgver-$_srcrel.i386.rpm")
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt vendor binary (RPM) from a non-whitelisted but official brother.com domain; while the source is unverifiable and carries supply-chain risk, it is not actively malicious or obfuscated.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: robertfoster
2# Contributor: Engine Feeder <enginefeeder101@gmail.com>
3
4pkgname='brother-mfc-l2710dw'
5pkgver='4.0.0'
6pkgrel=2
7_srcrel=1
8_model='MFCL2710DW'
9pkgdesc='LPR and CUPS driver for the Brother MFC-L2710DW'
10url='https://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=mfcl2710dw_us_eu_as'
11arch=('i686' 'x86_64' 'armv7h')
12license=('LicenseRef-Brother-EULA')
13# lpdwrapper and lpdfilter are perl and shell out to `gs`; the ppd declares a
14# cupsFilter for application/vnd.cups-postscript, which needs cups-filters
15depends=('cups' 'cups-filters' 'ghostscript' 'perl')
16# prebuilt vendor binaries
17options=('!strip')
18install="$pkgname.install"
19source=("https://download.brother.com/welcome/dlf103525/mfcl2710dwpdrv-$pkgver-$_srcrel.i386.rpm")
20sha256sums=('8794c62d8481e8b2954e2b48815278731fea6510684b639608f66314438ada62')
21
22package() {
23 # the i386 rpm carries one binary directory per architecture
24 local _binarch
25 case "$CARCH" in
26 armv7h) _binarch='armv7l' ;;
27 *) _binarch="$CARCH" ;;
28 esac
29
30 # using /usr/share instead of /opt
31 local _dir="usr/share/brother/Printers/$_model"
32 install -d "$pkgdir/usr/share/brother/Printers"
33 cp -a "$srcdir/opt/brother/Printers/$_model" "$pkgdir/$_dir"
34
35 # both filters derive the printer name from their own path with an
36 # s|^\/opt\/.*\/Printers\/|| regex
37 sed -i 's|\\/opt\\/|\\/usr\\/|' \
38 "$pkgdir/$_dir/cupswrapper/lpdwrapper" \
39 "$pkgdir/$_dir/lpd/lpdfilter"
40
41 # /etc/printcap is managed by cups
42 rm "$pkgdir/$_dir/inf/setupPrintcap"
43
44 # ship only the binaries for the architecture we are building for
45 find "$pkgdir/$_dir/lpd" -mindepth 1 -maxdepth 1 -type d ! -name "$_binarch" \
46 -exec rm -r {} +
47
48 # lpdfilter and lpdwrapper look for these directly under lpd/
49 ln -s "$_binarch/brprintconflsr3" "$pkgdir/$_dir/lpd/"
50 ln -s "$_binarch/rawtobr3" "$pkgdir/$_dir/lpd/"
51 # brprintconflsr3 resolves inf/ relative to its own directory
52 ln -s '../inf' "$pkgdir/$_dir/lpd/inf"
53
54 # the ppd names this filter; realpath() of it yields the model directory
55 install -d "$pkgdir/usr/lib/cups/filter"
56 ln -s "/$_dir/cupswrapper/lpdwrapper" \
57 "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_$_model"
58
59 install -d "$pkgdir/usr/share/cups/model"
60 ln -s "/$_dir/cupswrapper/brother-$_model-cups-en.ppd" \
61 "$pkgdir/usr/share/cups/model/"
62
63 install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
64 "$srcdir/opt/brother/Printers/$_model/LICENSE_ENG.txt" \
65 "$srcdir/opt/brother/Printers/$_model/cupswrapper/Copying"
66}
67

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 Medium 2

Report a package

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

0 / 4000
Your suggestion