brother-mfc-j2340dw
The package downloads a driver RPM from a Brother-owned domain (d.brother-movie.com) for building; this is a legitimate source for Brother printer drivers, and the checksum is verified, so the risk is low despite the non-whitelisted host.
Triggered rules
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 a driver RPM from a Brother-owned domain (d.brother-movie.com) for building; this is a legitimate source for Brother printer drivers, and the checksum is verified, so the risk is low despite the non-whitelisted host.
1 higher static finding superseded - not the current verdict (shown for transparency)
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/driver/2529/mfcj2340dwpdrv-3.5.0-1.i386.rpm")
PKGBUILD
1 offending line(s) highlighted# Maintainer: sicalxy <sicalxy at outlook dot com>
# Based on aur build of brother-mfc-j1010dw, which is
# Based on aur build of brother-mfc-j4340dw
#
_model=mfcj2340dw
_device_name=MFC-J2340DW
pkgname=brother-mfc-j2340dw
pkgver=3.5.0
pkgrel=1
pkgdesc="LPR driver and CUPS wrapper for Brother ${_device_name} printer"
arch=("i686" "x86_64")
url="https://support.brother.com/g/b/producttop.aspx?c=cn&lang=zh&prod=mfcj2340dw_eu_as_cn"
license=("EULA")
source=("https://d.brother-movie.com/driver/2529/mfcj2340dwpdrv-3.5.0-1.i386.rpm")
sha256sums=('ed486ee2d369453cbf32e03a5e92f842e5ba70c322748534da9360597ea2fea4')
depends=('perl' 'cups')
depends_x86_64=('lib32-glibc')
optdepends=('brscan5' 'brscan-skey')
install="$pkgname.install"
package() {
# unfortunately, /opt is hard-coded into driver binaries and cannot be replaced
SRC_PREFIX=/opt
PREFIX=/usr/share
find "$srcdir$SRC_PREFIX/brother" -type d -exec chmod 755 '{}' +
find "$srcdir$SRC_PREFIX/brother" -type f -exec chmod 644 '{}' +
find "$srcdir$SRC_PREFIX/brother/Printers/$_model/lpd" -type f -exec chmod +x '{}' +
mkdir -p "$pkgdir$SRC_PREFIX"
cp -R "$srcdir$SRC_PREFIX/brother" "$pkgdir$SRC_PREFIX"
# /etc/printcap is managed by cups
find "$pkgdir" -type f -name 'setupPrintcap*' -delete
# symlink for the PPD
ppd_file_name="$SRC_PREFIX/brother/Printers/$_model/cupswrapper/brother_${_model}_printer_en.ppd"
install -d "$pkgdir$PREFIX/cups/model/Brother"
ln -s "$ppd_file_name" "$pkgdir$PREFIX/cups/model/Brother/"
ldpwrapper="$SRC_PREFIX/brother/Printers/$_model/cupswrapper/brother_lpdwrapper_${_model}"
chmod +x "$pkgdir$ldpwrapper"
mkdir -p "$pkgdir/usr/lib/cups/filter/"
ln -s "$ldpwrapper" "${pkgdir}/usr/lib/cups/filter/"
# a couple architecture-specific symlinks
ln -s "$SRC_PREFIX/brother/Printers/$_model/lpd/$CARCH/br${_model}filter" "$pkgdir$SRC_PREFIX/brother/Printers/$_model/lpd/"
ln -s "$SRC_PREFIX/brother/Printers/$_model/lpd/$CARCH/brprintconf_${_model}" "$pkgdir$SRC_PREFIX/brother/Printers/$_model/lpd/"
install -d "$pkgdir/usr/bin"
ln -s "$SRC_PREFIX/brother/Printers/$_model/lpd/brprintconf_${_model}" "$pkgdir/usr/bin/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |