brscan2

LOW
maintainer pmattern 38 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads prebuilt RPMs from Brother's official download domain, which is a legitimate source for proprietary drivers; although the host is not on a standard whitelist, the content is a binary driver from the vendor itself, not an obfuscated payload or untrusted executable, and the worst case of a swapped source would be malicious code execution, but the source is from the official vendor's domain, making this a low-risk, typical AUR package for proprietary software.

Triggered rules

Low AI review downgraded a static finding 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 prebuilt RPMs from Brother's official download domain, which is a legitimate source for proprietary drivers; although the host is not on a standard whitelist, the content is a binary driver from the vendor itself, not an obfuscated payload or untrusted executable, and the worst case of a swapped source would be malicious code execution, but the source is from the official vendor's domain, making this a low-risk, typical AUR package for proprietary software.

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_i686=("http://download.brother.com/welcome/dlf006639/$pkgname-${pkgver/_/-}.i386.rpm")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Peter Mattern <pmattern at arcor dot de>
2# Contributor: libernux <dutchman55 at gmx dot com>
3# Contributor: Olaf Leidinger <leidola at newcon dot de>
4# Contributor: Hervé Cauwelier <herve at oursours dot net>
5# Contributor: Marc Straube <dev at marcstraube dot de>
6
7pkgname=brscan2
8pkgver=0.2.5_1
9pkgrel=1
10pkgdesc="SANE driver from Brother for $pkgname models"
11arch=("i686" "x86_64")
12url="http://support.brother.com"
13license=("custom:Brother" "GPL")
14depends=("libusb-compat" "sane")
15install=brscan2.install
16source_i686=("http://download.brother.com/welcome/dlf006639/$pkgname-${pkgver/_/-}.i386.rpm")
17sha256sums_i686=("f9c12f8467288c48cd00b532b2c64f53764a001f4b193f1c5f1ac746a1bd7c9c")
18source_x86_64=("http://download.brother.com/welcome/dlf006640/$pkgname-${pkgver/_/-}.x86_64.rpm")
19sha256sums_x86_64=("ab02c4e2292e9847a0338a225973735ccaec49c3d443f584004c8f91f5d6a8c9")
20
21prepare() {
22
23 # adjust use of lib64 to habits on Arch Linux x86_64
24
25 if [ "$CARCH" == x86_64 ] ; then
26
27 # path
28 mv usr/lib64 usr/lib
29
30 # symbolic links
31 cd usr/lib
32 ln -sf /usr/lib/libbrcolm2.so.1 libbrcolm2.so
33 ln -sf /usr/lib/libbrcolm2.so.1.0.1 libbrcolm2.so.1
34 ln -sf /usr/lib/libbrscandec2.so.1 libbrscandec2.so
35 ln -sf /usr/lib/libbrscandec2.so.1.0.0 libbrscandec2.so.1
36 cd sane
37 ln -sf /usr/lib/sane/libsane-brother2.so.1 libsane-brother2.so
38 ln -sf /usr/lib/sane/libsane-brother2.so.1.0.7 libsane-brother2.so.1
39
40 fi
41}
42
43package() {
44 cp -a usr $pkgdir
45 install -D -m644 $startdir/brother-eula.txt \
46 $pkgdir/usr/share/licenses/$pkgname/LICENSE
47}
48

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