brscan2

maintainer pmattern · 38 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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