brother-dcp-9020cdn

maintainer libook · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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

Report a package

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

0 / 4000
Your suggestion