brscan2
Triggered rules
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)
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# Maintainer: Peter Mattern <pmattern at arcor dot de>
# Contributor: libernux <dutchman55 at gmx dot com>
# Contributor: Olaf Leidinger <leidola at newcon dot de>
# Contributor: Hervé Cauwelier <herve at oursours dot net>
# Contributor: Marc Straube <dev at marcstraube dot de>
pkgname=brscan2
pkgver=0.2.5_1
pkgrel=1
pkgdesc="SANE driver from Brother for $pkgname models"
arch=("i686" "x86_64")
url="http://support.brother.com"
license=("custom:Brother" "GPL")
depends=("libusb-compat" "sane")
install=brscan2.install
source_i686=("http://download.brother.com/welcome/dlf006639/$pkgname-${pkgver/_/-}.i386.rpm")
sha256sums_i686=("f9c12f8467288c48cd00b532b2c64f53764a001f4b193f1c5f1ac746a1bd7c9c")
source_x86_64=("http://download.brother.com/welcome/dlf006640/$pkgname-${pkgver/_/-}.x86_64.rpm")
sha256sums_x86_64=("ab02c4e2292e9847a0338a225973735ccaec49c3d443f584004c8f91f5d6a8c9")
prepare() {
# adjust use of lib64 to habits on Arch Linux x86_64
if [ "$CARCH" == x86_64 ] ; then
# path
mv usr/lib64 usr/lib
# symbolic links
cd usr/lib
ln -sf /usr/lib/libbrcolm2.so.1 libbrcolm2.so
ln -sf /usr/lib/libbrcolm2.so.1.0.1 libbrcolm2.so.1
ln -sf /usr/lib/libbrscandec2.so.1 libbrscandec2.so
ln -sf /usr/lib/libbrscandec2.so.1.0.0 libbrscandec2.so.1
cd sane
ln -sf /usr/lib/sane/libsane-brother2.so.1 libsane-brother2.so
ln -sf /usr/lib/sane/libsane-brother2.so.1.0.7 libsane-brother2.so.1
fi
}
package() {
cp -a usr $pkgdir
install -D -m644 $startdir/brother-eula.txt \
$pkgdir/usr/share/licenses/$pkgname/LICENSE
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |