brother-dcp-9020cdn

LOW
maintainer libook 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads source code and a prebuilt driver from a Brother-owned domain (brother-movie.com), which is plausibly official despite not being on standard whitelists; the build process extracts and installs CUPS driver components without executing untrusted remote 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 source code and a prebuilt driver from a Brother-owned domain (brother-movie.com), which is plausibly official despite not being on standard whitelists; the build process extracts and installs CUPS driver components without executing untrusted remote 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:15 'https://d.brother-movie.com/DCP9020CDN/dcp9020cdn_cupswrapper_GPL_source_1.1.4-0.tar.gz'

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: libook <libook7@gmail.com>
2# Contributor: parchd <parchd at archlinux.info>
3
4pkgname="brother-dcp-9020cdn"
5pkgver="1.1.4"
6pkgrel=2
7pkgdesc="CUPS driver for the Brother DCP-9020CDN"
8url="https://support.brother.com/g/b/downloadendbranch.aspx?c=cn&lang=zh&dlid=dlf102671_000&type3=560&dlang=1&branch=bcn&prod=dcp9020cdn_us_cn&os=127&flang=9"
9arch=('i686' 'x86_64')
10license=('GPL2')
11depends=('cups' 'psutils')
12depends_x86_64=('lib32-glibc')
13makedepends=('libarchive')
14source=(
15 'https://d.brother-movie.com/DCP9020CDN/dcp9020cdn_cupswrapper_GPL_source_1.1.4-0.tar.gz'
16 'https://d.brother-movie.com/DCP9020CDN/dcp9020cdnlpr-1.1.2-1.i386.deb'
17)
18sha512sums=(
19 '4b5b99477f0b359f42937eae887021a23294a42d1ecfd01ee3416f46581b26c91d7f83e1e3f5e27d1ccb4b628816787ea6fb9807d41986ac1d3298d3cde96d54'
20 '91525e9fca5f7d04a417625708112176c2495f0f56c14480d446e9459dfd6c322ee1610739b1fcf7e6989a0c380e4b8422e8c41565bf456e16674d3ef50485c5'
21)
22
23prepare(){
24 cd $srcdir
25 sed -ne '21,26p' -ne '26 a cat << !ENDOFWFILTER!' -ne '110,262p' "dcp9020cdn_cupswrapper_GPL_source_$pkgver-0/cupswrapper/cupswrapperdcp9020cdn" > create_lpdwrapper.sh
26}
27
28build(){
29 cd "$srcdir/dcp9020cdn_cupswrapper_GPL_source_$pkgver-0/brcupsconfig"
30 make
31
32 cd $srcdir
33 sh create_lpdwrapper.sh > brother_lpdwrapper_dcp9020cdn
34}
35
36package(){
37 cd $pkgdir
38 bsdtar -xf "$srcdir/data.tar.gz"
39 install -Dm755 "$srcdir/dcp9020cdn_cupswrapper_GPL_source_$pkgver-0/brcupsconfig/brcupsconfpt1" opt/brother/Printers/dcp9020cdn/cupswrapper/brcupsconfpt1
40 install -Dm644 "$srcdir/dcp9020cdn_cupswrapper_GPL_source_$pkgver-0/PPD/brother_dcp9020cdn_printer_en.ppd" usr/share/cups/model/Brother/brother_dcp9020cdn_printer_en.ppd
41 install -Dm644 "$srcdir/dcp9020cdn_cupswrapper_GPL_source_$pkgver-0/PPD/brother_dcp9020cdn_printer_en.ppd" usr/share/ppd/Brother/brother_dcp9020cdn_printer_en.ppd
42 install -Dm755 "$srcdir/brother_lpdwrapper_dcp9020cdn" usr/lib/cups/filter/brother_lpdwrapper_dcp9020cdn
43
44}
45

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