brother-dcp-9030cdn

maintainer bittervan · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
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-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 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