brother-dcp-9030cdn
Triggered rules
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")
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# Maintainer: YOURNAME <you@example.com>
# Based on brother-dcp-9020cdn (libook <libook7@gmail.com>)
pkgname="brother-dcp-9030cdn"
pkgver="1.0.2"
pkgrel=1
pkgdesc="LPR and CUPS driver for the Brother DCP-9030CDN"
url="https://support.brother.com/g/b/downloadtop.aspx?c=cn&lang=zh&prod=dcp9030cdn_cn"
arch=('i686' 'x86_64')
license=('custom:Brother-EULA')
depends=('cups')
depends_x86_64=('lib32-glibc')
makedepends=('libarchive')
source=("https://d.brother-movie.com/201911/dcp9030cdnpdrv-${pkgver}-0.i386.deb")
sha256sums=('a627ec6e6e682108efdb53ec134b7ad163869c550cc223ef675c03fcfbbb3c91')
package() {
cd "$srcdir"
# 解 deb 得到 data.tar.gz
bsdtar -xf "dcp9030cdnpdrv-${pkgver}-0.i386.deb"
bsdtar -xf data.tar.gz -C "$pkgdir"
# 确保标准 CUPS 目录存在
install -d "$pkgdir/usr/lib/cups/filter"
install -d "$pkgdir/usr/share/cups/model/Brother"
install -d "$pkgdir/usr/share/ppd/Brother"
install -d "$pkgdir/usr/share/licenses/$pkgname"
# Brother 自己放在 /opt/brother 里的 cupswrapper 内容
local basedir="$pkgdir/opt/brother/Printers/dcp9030cdn"
local cwdir="$basedir/cupswrapper"
# 安装 CUPS filter
install -m755 "$cwdir/brother_lpdwrapper_dcp9030cdn" \
"$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_dcp9030cdn"
# 安装 PPD(两份,兼容不同查找路径)
install -m644 "$cwdir/brother_dcp9030cdn_printer_en.ppd" \
"$pkgdir/usr/share/cups/model/Brother/brother_dcp9030cdn_printer_en.ppd"
install -m644 "$cwdir/brother_dcp9030cdn_printer_en.ppd" \
"$pkgdir/usr/share/ppd/Brother/brother_dcp9030cdn_printer_en.ppd"
# 安装许可证(从 /opt/brother 里搬一份出来)
install -m644 "$basedir/LICENSE_ENG.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE_ENG.txt"
# 权限规范一点(可选)
chmod -R go-w "$pkgdir/opt/brother"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |