brscan4

maintainer Harvey · 178 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads Brother's official RPM binaries from download.brother.com, a plausible official host, for building a driver package; the non-whitelisted host is not inherently dangerous as it is the vendor's own distribution domain, and the content is a signed driver binary, not an obfuscated payload or remote code.

Triggered rules

LOW AI review llm_review

An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is LOW (confidence 95%): The package downloads Brother's official RPM binaries from download.brother.com, a plausible official host, for building a driver package; the non-whitelisted host is not inherently dangerous as it is the vendor's own distribution domain, and the content is a signed driver binary, not an obfuscated payload or remote code.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:16 source=("https://download.brother.com/welcome/$_pkg"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Harvey <harv@gmx.de>
2license=('GPL' 'custom:Brother')
3arch=('i686' 'x86_64')
4pkgname=brscan4
5pkgver=0.4.11_1
6pkgrel=5
7pkgdesc="SANE drivers from Brother for compatible models"
8depends=('sane')
9optdepends=('gtk2: for using brscan_gnetconfig')
10url="http://support.brother.com"
11install=brscan4.install
12
13[ "$CARCH" = "x86_64" ] && _pkg="dlf105203/${pkgname}-${pkgver/_/-}.x86_64.rpm" || _pkg="dlf105202/${pkgname}-${pkgver/_/-}.i386.rpm"
14[ "$CARCH" = "x86_64" ] && _pkg_md5sum="54dec75887de091fde5fcd511d9a57c3" || _pkg_md5sum="dc87c907c9a2f086dcc56eb2e8fafbbc"
15
16source=("https://download.brother.com/welcome/$_pkg"
17 "agree.html"
18 mk-udev-hwdb)
19md5sums=($_pkg_md5sum
20 'ccffb9a6f6d436b21be25b0241068981'
21 'b4a328d229b1614774340695577b67af')
22
23build() {
24 cd "$srcdir"
25 ./mk-udev-hwdb opt/brother/scanner/brscan4/{Brsane4.ini,models4/*.ini} > hwdb
26}
27
28package() {
29 cp -r $srcdir/etc $pkgdir
30 cp -r $srcdir/opt $pkgdir
31 cp -r $srcdir/usr $pkgdir
32 [ "$CARCH" = "x86_64" ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib
33 install -D -m644 $srcdir/agree.html $pkgdir/usr/share/licenses/$pkgname/LICENSE.html
34 install -D -m644 $srcdir/hwdb $pkgdir/usr/lib/udev/hwdb.d/20-$pkgname.hwdb
35 # move the links to the right direction
36 cd $pkgdir/usr/lib/sane
37 ln -sf libsane-brother4.so.1.0.7 $pkgdir/usr/lib/sane/libsane-brother4.so.1
38 ln -sf libsane-brother4.so.1 $pkgdir/usr/lib/sane/libsane-brother4.so
39}
40

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion