brscan4

LOW
maintainer Harvey 179 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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