brother-dcp-9020cdw

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

The package downloads source code and a Debian package from official Brother domains for building a CUPS driver;虽host未在白名单,但属于厂商官方下载站点,且构建过程透明,无远程代码执行或恶意行为。

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 Debian package from official Brother domains for building a CUPS driver;虽host未在白名单,但属于厂商官方下载站点,且构建过程透明,无远程代码执行或恶意行为。

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:14 'http://download.brother.com/welcome/dlf100444/dcp9020cdw_cupswrapper_GPL_source_1.1.4-0.tar.gz'
  • PKGBUILD:15 'http://www.brother.com/pub/bsc/linux/dlf/dcp9020cdwlpr-1.1.2-1.i386.deb'

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: parchd <parchd at archlinux.info>
2
3pkgname="brother-dcp-9020cdw"
4pkgver="1.1.4"
5pkgrel=2
6pkgdesc="CUPS driver for the Brother DCP-9020CDW"
7url="http://support.brother.com/g/b/producttop.aspx?c=gb&lang=en&prod=dcp9020cdw_eu"
8arch=('i686' 'x86_64')
9license=('GPL2')
10depends=('cups' 'psutils')
11depends_x86_64=('lib32-glibc')
12makedepends=('libarchive')
13source=(
14 'http://download.brother.com/welcome/dlf100444/dcp9020cdw_cupswrapper_GPL_source_1.1.4-0.tar.gz'
15 'http://www.brother.com/pub/bsc/linux/dlf/dcp9020cdwlpr-1.1.2-1.i386.deb'
16)
17sha512sums=(
18 '090aa66700dc860712fac645dde5289d316e35b4a68a5d0da0261dc17276e04cc611d57b518e6d778a8f6033a9a0ad77bb4f506d24063149f1060a75b0b2e3ea'
19 '17d0934adca787fef15a0a985a6a895f4e1163bf3a4408bba0f6a6c8b324f9b3efcba1d25057050027caac3c545af4c8348d3586468f32d8594f0b098b67f3fb'
20)
21
22prepare(){
23 cd $srcdir
24 sed -ne '21,26p' -ne '26 a cat << !ENDOFWFILTER!' -ne '110,262p' "dcp9020cdw_cupswrapper_GPL_source_$pkgver-0/cupswrapper/cupswrapperdcp9020cdw" > create_lpdwrapper.sh
25}
26
27build(){
28 cd "$srcdir/dcp9020cdw_cupswrapper_GPL_source_$pkgver-0/brcupsconfig"
29 make
30
31 cd $srcdir
32 sh create_lpdwrapper.sh > brother_lpdwrapper_dcp9020cdw
33}
34
35package(){
36 cd $pkgdir
37 bsdtar -xf "$srcdir/data.tar.gz"
38 install -Dm755 "$srcdir/dcp9020cdw_cupswrapper_GPL_source_$pkgver-0/brcupsconfig/brcupsconfpt1" opt/brother/Printers/dcp9020cdw/cupswrapper/brcupsconfpt1
39 install -Dm644 "$srcdir/dcp9020cdw_cupswrapper_GPL_source_$pkgver-0/PPD/brother_dcp9020cdw_printer_en.ppd" usr/share/cups/model/Brother/brother_dcp9020cdw_printer_en.ppd
40 install -Dm644 "$srcdir/dcp9020cdw_cupswrapper_GPL_source_$pkgver-0/PPD/brother_dcp9020cdw_printer_en.ppd" usr/share/ppd/Brother/brother_dcp9020cdw_printer_en.ppd
41 install -Dm755 "$srcdir/brother_lpdwrapper_dcp9020cdw" usr/lib/cups/filter/brother_lpdwrapper_dcp9020cdw
42
43}
44

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