brother-hl2040
The package downloads official Brother driver RPMs from brother.com, a legitimate vendor domain, for building a CUPS driver; despite the non-whitelisted host, the sources are verifiable and expected for this hardware driver package.
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 official Brother driver RPMs from brother.com, a legitimate vendor domain, for building a CUPS driver; despite the non-whitelisted host, the sources are verifiable and expected for this hardware driver package.
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:19
http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2040-$pkgver-1.i386.rpm
PKGBUILD
1 offending line(s) highlighted# Contributor: Tom Richards <tom@tomrichards.net>
# Contributor: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>
# Contributor: Aerion (emile [at] aerion [dot] co [dot] uk
# Contributor: Jaroslaw Rosiek <jaroslaw.rosiek@interia.pl>
pkgname=brother-hl2040
pkgver=2.0.1
pkgrel=2
pkgdesc="Brother HL-2040 CUPS driver"
url="http://www.brother.com"
license=('GPL')
install="brother-hl2040.install"
arch=('i686' 'x86_64')
depends=('cups')
depends_x86_64=('lib32-glibc')
source=(brother-hl2040.patch
brother-hl2040.install
http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2040-$pkgver-1.i386.rpm
http://www.brother.com/pub/bsc/linux/dlf/brhl2040lpr-$pkgver-1.i386.rpm)
sha256sums=('4a2118ae57baf4a891656ef80dd789ef801875238eaa0b893473e0d8a424681f'
'81f320491f4cdab592c25b075bea3ba84690c6ae0fa1746c5f865765901827f5'
'cff424e97b46c1de23b31a1a23f2edc5b78e5682bdc71222a39098b531c519f6'
'e123fe7030148c2842fa1859ccd89bd613c31fb7ec9c536032e42a1e0adeaece')
build() {
cd "$srcdir/usr"
patch -p1 -i "$srcdir/$pkgname.patch"
cd "$srcdir"
"$srcdir/usr/local/Brother/cupswrapper/cupswrapperHL2040-$pkgver"
}
package() {
mkdir -p "$pkgdir/usr/share"
cp -R "$srcdir/usr/bin" "$pkgdir/usr"
cp -R "$srcdir/usr/lib" "$pkgdir/usr"
cp -R "$srcdir/usr/local/Brother" "$pkgdir/usr/share/brother"
rm "$pkgdir/usr/share/brother/cupswrapper/cupswrapperHL2040-$pkgver"
rm "$pkgdir/usr/share/brother/inf/setupPrintcap"
install -Dm644 ppd_file "$pkgdir/usr/share/cups/model/HL2040.ppd"
install -Dm755 wrapper "$pkgdir/usr/lib/cups/filter/brlpdwrapperHL2040"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |