brscan4

LOW
maintainer Harvey 177 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion