brother-dcp-9030cdn

MEDIUM
maintainer bittervan 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The PKGBUILD downloads a prebuilt i386 Debian binary package from 'd.brother-movie.com', which is not Brother's official domain (support.brother.com or download.brother.com). The package contains executed binaries (LPR/CUPS filter wrapper 'brother_lpdwrapper_dcp9030cdn') that are installed into CUPS filter directories and run with printer jobs. While Brother does use CDN/regional mirror domains and 'brother-movie.com' may be a legitimate Brother-affiliated CDN for the Chinese market, it is not a well-known official Brother domain and cannot be independently verified as such. The sha256 checksum provides some integrity protection, but if the host is controlled by a third party or the checksum was generated from a compromised binary, the installed CUPS filter binary would execute with elevated privileges during print jobs. This constitutes a real supply-chain concern: an executed binary from a non-canonical host. The risk is not clearly malicious but warrants medium severity.

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:14 source=("https://d.brother-movie.com/201911/dcp9030cdnpdrv-${pkgver}-0.i386.deb")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt i386 Debian binary package from 'd.brother-movie.com', which is not Brother's official domain (support.brother.com or download.brother.com). The package contains executed binaries (LPR/CUPS filter wrapper 'brother_lpdwrapper_dcp9030cdn') that are installed into CUPS filter directories and run with printer jobs. While Brother does use CDN/regional mirror domains and 'brother-movie.com' may be a legitimate Brother-affiliated CDN for the Chinese market, it is not a well-known official Brother domain and cannot be independently verified as such. The sha256 checksum provides some integrity protection, but if the host is controlled by a third party or the checksum was generated from a compromised binary, the installed CUPS filter binary would execute with elevated privileges during print jobs. This constitutes a real supply-chain concern: an executed binary from a non-canonical host. The risk is not clearly malicious but warrants medium severity.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: YOURNAME <you@example.com>
2# Based on brother-dcp-9020cdn (libook <libook7@gmail.com>)
3
4pkgname="brother-dcp-9030cdn"
5pkgver="1.0.2"
6pkgrel=1
7pkgdesc="LPR and CUPS driver for the Brother DCP-9030CDN"
8url="https://support.brother.com/g/b/downloadtop.aspx?c=cn&lang=zh&prod=dcp9030cdn_cn"
9arch=('i686' 'x86_64')
10license=('custom:Brother-EULA')
11depends=('cups')
12depends_x86_64=('lib32-glibc')
13makedepends=('libarchive')
14source=("https://d.brother-movie.com/201911/dcp9030cdnpdrv-${pkgver}-0.i386.deb")
15sha256sums=('a627ec6e6e682108efdb53ec134b7ad163869c550cc223ef675c03fcfbbb3c91')
16
17package() {
18 cd "$srcdir"
19
20 # 解 deb 得到 data.tar.gz
21 bsdtar -xf "dcp9030cdnpdrv-${pkgver}-0.i386.deb"
22 bsdtar -xf data.tar.gz -C "$pkgdir"
23
24 # 确保标准 CUPS 目录存在
25 install -d "$pkgdir/usr/lib/cups/filter"
26 install -d "$pkgdir/usr/share/cups/model/Brother"
27 install -d "$pkgdir/usr/share/ppd/Brother"
28 install -d "$pkgdir/usr/share/licenses/$pkgname"
29
30 # Brother 自己放在 /opt/brother 里的 cupswrapper 内容
31 local basedir="$pkgdir/opt/brother/Printers/dcp9030cdn"
32 local cwdir="$basedir/cupswrapper"
33
34 # 安装 CUPS filter
35 install -m755 "$cwdir/brother_lpdwrapper_dcp9030cdn" \
36 "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_dcp9030cdn"
37
38 # 安装 PPD(两份,兼容不同查找路径)
39 install -m644 "$cwdir/brother_dcp9030cdn_printer_en.ppd" \
40 "$pkgdir/usr/share/cups/model/Brother/brother_dcp9030cdn_printer_en.ppd"
41
42 install -m644 "$cwdir/brother_dcp9030cdn_printer_en.ppd" \
43 "$pkgdir/usr/share/ppd/Brother/brother_dcp9030cdn_printer_en.ppd"
44
45 # 安装许可证(从 /opt/brother 里搬一份出来)
46 install -m644 "$basedir/LICENSE_ENG.txt" \
47 "$pkgdir/usr/share/licenses/$pkgname/LICENSE_ENG.txt"
48
49 # 权限规范一点(可选)
50 chmod -R go-w "$pkgdir/opt/brother"
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 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