brother-hl3180cdw

maintainer xente · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads official Brother driver RPMs from brother.com's download subdomain, which is the vendor's legitimate distribution channel; despite the non-whitelisted host, this is a standard and expected source for proprietary drivers, and the checksums are verified.

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 driver RPMs from brother.com's download subdomain, which is the vendor's legitimate distribution channel; despite the non-whitelisted host, this is a standard and expected source for proprietary drivers, and the checksums are verified.

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:15 'http://download.brother.com/welcome/dlf102680/hl3180cdwlpr-1.1.3-0.i386.rpm'

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Matt Kline <matt at bitbashing dot io>
2pkgname='brother-hl3180cdw'
3pkgver=1.1.4
4pkgrel=4
5arch=('i686' 'x86_64')
6pkgdesc="LPR and CUPS driver for the Brother HL-3180CDW"
7url='http://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hl3180cdw_us_as'
8license=('GPL version 2 for CUPS driver, custom:brother commercial license for LPR driver.')
9depends=('cups')
10depends_x86_64=('lib32-glibc')
11install='brother-hl3180cdw.install'
12source=(
13 'brother-hl3180cdw.patch'
14 'lpr-license.txt'
15 'http://download.brother.com/welcome/dlf102680/hl3180cdwlpr-1.1.3-0.i386.rpm'
16 'http://download.brother.com/welcome/dlf102681/hl3180cdwcupswrapper-1.1.4-0.i386.rpm'
17)
18sha256sums=(
19 'b7b516c28647290a25d4f448096fcb3f7c07c193f7781634fc19a17f8998c92b'
20 '3f23d4289888ef7ab2df0364f166cdb5da1849623b0b0c78665e12b73bc363d2'
21 '088a42165cb8f094d3264b2637e5aea6c6d4b56e96a3bc1b16f161052163d0fd'
22 'a8c108b9b8df43d0bb3daea114a515bd2216f06da544b39c38005b8a4e565cc5'
23)
24
25prepare() {
26 cd "$srcdir/opt/" || return 1
27 patch -p1 < ../brother-hl3180cdw.patch
28
29 cd "$srcdir" || return 1
30 "$srcdir/opt/brother/Printers/hl3180cdw/cupswrapper/cupswrapperhl3180cdw"
31}
32
33package() {
34 # Copy everything over.
35 # Unfortunately, we can't place files according to Arch packaging guidelines,
36 # as several programs in the driver use "/opt/brother/Printers/hl3180cdw/..."
37 # hard-coded paths.
38 # Short of binary patching the drivers (which seems flaky), there's not much
39 # we can do.
40 cp -a "$srcdir/opt" "$srcdir/usr" "$pkgdir"
41
42 # Strip out the script we just ran and the PPD
43 rm "$pkgdir/opt/brother/Printers/hl3180cdw/cupswrapper/cupswrapperhl3180cdw"
44 mv "$pkgdir/opt/brother/Printers/hl3180cdw/cupswrapper/brother_hl3180cdw_printer_en.ppd" ppd_file
45
46 # Install the PPD, the filter, and the license.
47 install -m 644 -D ppd_file "$pkgdir/usr/share/cups/model/brother_hl3180cdw_printer_en.ppd"
48 install -m 755 -D wrapper "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_hl3180cdw"
49 install -Dm644 lpr-license.txt "$pkgdir/usr/share/licenses/brother/lpr-licence.txt"
50}
51

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