brscan5
The package downloads official Brother scanner driver RPMs from brother.com's download subdomain, which is the vendor's legitimate distribution channel; despite the static analyzer flag for a 'non-standard host', this is a normal and expected source for proprietary drivers, with no code execution or obfuscation risks.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads official Brother scanner driver RPMs from brother.com's download subdomain, which is the vendor's legitimate distribution channel; despite the static analyzer flag for a 'non-standard host', this is a normal and expected source for proprietary drivers, with no code execution or obfuscation risks.
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:18
source_i686=("https://download.brother.com/welcome/dlf104035/${pkgname}-${pkgver/_/-}.i386.rpm")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Andrew Simmons <agsimmons0 at gmail dot com>
# Contributor: Matrix <thysupremematrix atttt tuta dottt io>
# Contributor: David Bernheisel <david+aur at bernheisel dot com>
# Based on the brscan4 PKGBUILD by Harey
pkgname=brscan5
pkgver=1.6.2_0
pkgrel=2
pkgdesc='SANE drivers from Brother for compatible models'
arch=('i686' 'x86_64')
license=('GPL' 'custom:Brother')
url="http://support.brother.com"
depends=('sane' 'libusb-compat')
optdepends=('gtk2: for running brscan_gnetconfig')
source=()
sha256sums_i686=('0fb59e0eb74f6c46568e314f6c6d5c8da22acdeb9b637519fdb922663be889c7')
sha256sums_x86_64=('a14b991dafd0279cc92c981154901178825174b8ac2123868037b3614b8f905e')
source_i686=("https://download.brother.com/welcome/dlf104035/${pkgname}-${pkgver/_/-}.i386.rpm")
source_x86_64=("https://download.brother.com/welcome/dlf104036/${pkgname}-${pkgver/_/-}.x86_64.rpm")
install="brscan5.install"
build() {
mkdir -p usr/lib/udev/rules.d
mkdir -p etc/sane.d/dll.d
}
package() {
cp -r "$srcdir/etc" "$pkgdir"
cp -r "$srcdir/opt" "$pkgdir"
cp -r "$srcdir/usr" "$pkgdir"
install -D -m644 "$srcdir/opt/brother/scanner/brscan5/doc/LICENSE_ENG.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_ENG.txt"
install -D -m644 "$srcdir/opt/brother/scanner/brscan5/doc/LICENSE_JPN.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_JPN.txt"
echo "brother5" > "$pkgdir/etc/sane.d/dll.d/brother5.conf"
chmod 644 "$pkgdir/etc/sane.d/dll.d/brother5.conf"
install -D -m644 "$srcdir/opt/brother/scanner/brscan5/udev-rules/NN-brother-mfp-brscan5-1.0.2-2.rules" "$pkgdir/usr/lib/udev/rules.d/40-${pkgname}.rules"
sed -i '/SYSFS/d' "$pkgdir/usr/lib/udev/rules.d/40-${pkgname}.rules"
mkdir -p "$pkgdir/usr/lib/sane"
cd "$pkgdir/usr/lib/sane" || exit 1
mv "$pkgdir/opt/brother/scanner/brscan5/libsane-brother5.so.1.0.7" "$pkgdir/usr/lib/sane"
ln -sf libsane-brother5.so.1.0.7 libsane-brother5.so.1
ln -sf libsane-brother5.so.1 libsane-brother5.so
cd "$pkgdir/usr/lib" || exit 1
mv "$pkgdir/opt/brother/scanner/brscan5/libLxBsScanCoreApi.so.3.2.6" "$pkgdir/usr/lib"
ln -sf "libLxBsScanCoreApi.so.3.2.1" "libLxBsScanCoreApi.so.3"
ln -sf "libLxBsScanCoreApi.so.3" "libLxBsScanCoreApi.so"
libs=(libLxBsNetDevAccs libLxBsDeviceAccs libLxBsUsbDevAccs)
for lib in "${libs[@]}"; do
mv "$pkgdir/opt/brother/scanner/brscan5/${lib}.so.1.0.0" "$pkgdir/usr/lib"
ln -sf "$lib.so.1.0.0" "$lib.so.1"
ln -sf "$lib.so.1" "$lib.so"
done
mkdir -p "$pkgdir/usr/bin"
cd "$pkgdir/usr/bin" || exit 1
bins=(brsaneconfig5 brscan_cnetconfig brscan_gnetconfig setupSaneScan5)
for bin in "${bins[@]}"; do
mv "$pkgdir/opt/brother/scanner/brscan5/${bin}" "${bin}"
ln -s "/usr/bin/${bin}" "$pkgdir/opt/brother/scanner/brscan5/${bin}"
done
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |
| 2026-09-27 00:07:07 | Low | 2 |
| 2026-09-26 00:12:15 | Low | 2 |
| 2026-09-25 00:03:36 | Low | 2 |
| 2026-09-24 00:24:14 | Low | 2 |
| 2026-09-23 00:28:13 | Low | 2 |
| 2026-09-22 00:15:14 | Low | 2 |
| 2026-09-21 00:26:32 | Low | 2 |
| 2026-09-20 00:25:31 | Low | 2 |
| 2026-09-19 00:25:36 | Low | 2 |
| 2026-09-18 00:17:11 | Low | 2 |
| 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 |