brother-mfc240c
maintainer eldon111
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads official Brother printer driver RPMs from the vendor's own domain (brother.com), which is a legitimate source despite not being on the whitelist; the build process applies a patch and installs driver files normally, with no evidence of malicious behavior or unverifiable executables.
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 official Brother printer driver RPMs from the vendor's own domain (brother.com), which is a legitimate source despite not being on the whitelist; the build process applies a patch and installs driver files normally, with no evidence of malicious behavior or unverifiable executables.
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:17
http://www.brother.com/pub/bsc/linux/dlf/mfc240ccupswrapper-1.0.1-1.i386.rpm
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Eldon Mathias <eldon@emathias.com>
2
pkgname="brother-mfc240c"
3
pkgver="1.0.2"
4
pkgrel="2"
5
pkgdesc="Brother MFC-240C CUPS driver"
6
url="http://www.brother.com"
7
license=('GPL')
8
install="brother-mfc240c.install"
9
arch=('i686' 'x86_64')
10
depends_x86_64=('lib32-glibc')
11
md5sums=('806c9c5672793de84cae9c255a4d402b'
12
'207cf1eb6bbab8d2ecafd8a2b5bc8f4b'
13
'e2564327cb7fc6501ca9657080855322')
14
15
source=(
16
brother-mfc240c.patch \
17
http://www.brother.com/pub/bsc/linux/dlf/mfc240ccupswrapper-1.0.1-1.i386.rpm
18
http://www.brother.com/pub/bsc/linux/dlf/mfc240clpr-1.0.1-1.i386.rpm
19
)
20
21
prepare() {
22
cd "$srcdir/usr/" || return 1
23
patch -p1 < ../brother-mfc240c.patch
24
25
cd "$srcdir" || return 1
26
"$srcdir/usr/local/Brother/Printer/mfc240c/cupswrapper/cupswrappermfc240c"
27
}
28
29
package() {
30
mkdir -p "$pkgdir/usr/share"
31
cp -R "$srcdir/usr/bin" "$pkgdir/usr"
32
cp -R "$srcdir/usr/local/Brother" "$pkgdir/usr/share/brother"
33
34
rm "$pkgdir/usr/share/brother/Printer/mfc240c/cupswrapper/cupswrappermfc240c"
35
rm "$pkgdir/usr/share/brother/Printer/mfc240c/inf/setupPrintcapij"
36
37
install -m 644 -D ppd_file "$pkgdir/usr/share/cups/model/brmfc240c.ppd"
38
install -m 755 -D wrapper "$pkgdir/usr/lib/cups/filter/brlpdwrappermfc240c"
39
}
40
41
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 |