brother-hl6180dw-lpr-bin

maintainer ViBoSchu · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt Brother LPR driver .deb from Brother's official download domain; while the host is not universally whitelisted, it is a legitimate vendor domain, and the binary is part of standard printer driver distribution, not an arbitrary remote executable.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt Brother LPR driver .deb from Brother's official download domain; while the host is not universally whitelisted, it is a legitimate vendor domain, and the binary is part of standard printer driver distribution, not an arbitrary remote executable.

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:26 "${_deb}::https://download.brother.com/welcome/dlf006041/${_deb}"
  • PKGBUILD:27 'LICENSE.html::https://support.brother.com/g/s/agreement/English_lpr/agree.html'

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Vincent Schult <viboschu@gmail.com>
2
3pkgname=brother-hl6180dw-lpr-bin
4pkgver=3.0.0_1
5pkgrel=2
6pkgdesc='LPR driver for Brother HL-6180DW printer'
7arch=('i686' 'x86_64')
8url='https://support.brother.com/g/b/producttop.aspx?c=us&lang=en&prod=hl6180dw_all'
9license=('LicenseRef-Brother-EULA' 'GPL-2.0-or-later')
10depends=(
11 ghostscript
12 sh
13)
14depends_i686=(
15 glibc
16)
17depends_x86_64=(
18 lib32-glibc
19)
20
21options=('!strip' '!debug' '!emptydirs')
22
23_deb="hl6180dwlpr-${pkgver/_/-}.i386.deb"
24
25source=(
26 "${_deb}::https://download.brother.com/welcome/dlf006041/${_deb}"
27 'LICENSE.html::https://support.brother.com/g/s/agreement/English_lpr/agree.html'
28)
29noextract=(
30 "${_deb}"
31)
32sha256sums=('3b9db34d70b8199c17a56df746da1431ee7bbac9df299cfd6ed28b78350c6769'
33 '194f2a3b820f6533e7abbce7fdb727a1434a6e07f1851be696e40771e7a884ea')
34
35prepare(){
36 cd "${srcdir}"
37 rm -rf deb-root
38 mkdir -p deb-root
39 bsdtar -xf "${_deb}" -C deb-root
40}
41
42package(){
43 local data_tar=("${srcdir}/deb-root"/data.tar.*)
44
45 bsdtar -xf "${data_tar[0]}" -C "${pkgdir}"
46
47 local vendor="${pkgdir}/opt/brother/Printers/HL6180DW"
48
49 sed -i 's|GHOST_SCRIPT=`which gs`|GHOST_SCRIPT=/usr/bin/gs|' "${vendor}/lpd/psconvert2"
50
51 rm -f "${vendor}/inf/braddprinter" "${vendor}/inf/setupPrintcap" "${vendor}/lpd/brprintconflsr3"
52
53 rm -rf "${pkgdir}/var/spool/lpd" "${pkgdir}/etc/opt" "${pkgdir}/usr/share/doc"
54
55 install -Dm644 "${srcdir}/LICENSE.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.html"
56}
57

Changes since previous scan

--- PKGBUILD @ 2026-06-20 16:03
+++ PKGBUILD @ 2026-08-03 00:08
@@ -1,17 +1,57 @@
-# Maintainer: Vincent Bogdan Schult <viboschu@gmail.com>
+# Maintainer: Vincent Schult <viboschu@gmail.com>
pkgname=brother-hl6180dw-lpr-bin
pkgver=3.0.0_1
-pkgrel=1
-pkgdesc="LPR driver for Brother HL-6180DW printer"
-arch=("i686" "x86_64")
-url="https://support.brother.com/g/b/producttop.aspx?c=us&lang=en&prod=hl6180dw_all"
-license=("EULA")
-groups=("base-devel")
-source=("http://www.brother.com/pub/bsc/linux/dlf/hl6180dwlpr-3.0.0-1.i386.deb")
-md5sums=("99af1581fcbd4fcf20b01646e65215d3")
+pkgrel=2
+pkgdesc='LPR driver for Brother HL-6180DW printer'
+arch=('i686' 'x86_64')
+url='https://support.brother.com/g/b/producttop.aspx?c=us&lang=en&prod=hl6180dw_all'
+license=('LicenseRef-Brother-EULA' 'GPL-2.0-or-later')
+depends=(
+ ghostscript
+ sh
+)
+depends_i686=(
+ glibc
+)
+depends_x86_64=(
+ lib32-glibc
+)
-package() {
- tar -xf data.tar.gz -C "${pkgdir}"
+options=('!strip' '!debug' '!emptydirs')
+
+_deb="hl6180dwlpr-${pkgver/_/-}.i386.deb"
+
+source=(
+ "${_deb}::https://download.brother.com/welcome/dlf006041/${_deb}"
+ 'LICENSE.html::https://support.brother.com/g/s/agreement/English_lpr/agree.html'
+)
+noextract=(
+ "${_deb}"
+)
+sha256sums=('3b9db34d70b8199c17a56df746da1431ee7bbac9df299cfd6ed28b78350c6769'
+ '194f2a3b820f6533e7abbce7fdb727a1434a6e07f1851be696e40771e7a884ea')
+
+prepare(){
+ cd "${srcdir}"
+ rm -rf deb-root
+ mkdir -p deb-root
+ bsdtar -xf "${_deb}" -C deb-root
}
+package(){
+ local data_tar=("${srcdir}/deb-root"/data.tar.*)
+
+ bsdtar -xf "${data_tar[0]}" -C "${pkgdir}"
+
+ local vendor="${pkgdir}/opt/brother/Printers/HL6180DW"
+
+ sed -i 's|GHOST_SCRIPT=`which gs`|GHOST_SCRIPT=/usr/bin/gs|' "${vendor}/lpd/psconvert2"
+
+ rm -f "${vendor}/inf/braddprinter" "${vendor}/inf/setupPrintcap" "${vendor}/lpd/brprintconflsr3"
+
+ rm -rf "${pkgdir}/var/spool/lpd" "${pkgdir}/etc/opt" "${pkgdir}/usr/share/doc"
+
+ install -Dm644 "${srcdir}/LICENSE.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.html"
+}
+

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 13:20:32 MEDIUM 1
2026-06-20 16:03:41 CLEAN 2
2026-06-20 00:50:07 MEDIUM 2
2026-06-20 00:18:46 MEDIUM 2
2026-06-19 23:51:18 MEDIUM 2
2026-06-18 16:11:54 MEDIUM 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion