brother-dcpl3515cdw

LOW
maintainer Dasug 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

Downloads an official Brother printer driver RPM directly from download.brother.com (Brother's own official download infrastructure), which is a legitimate vendor source; the package simply repackages the RPM contents as a CUPS driver with no obfuscation or remote code execution concerns, though it installs a prebuilt binary filter from the vendor.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): Downloads an official Brother printer driver RPM directly from download.brother.com (Brother's own official download infrastructure), which is a legitimate vendor source; the package simply repackages the RPM contents as a CUPS driver with no obfuscation or remote code execution concerns, though it installs a prebuilt binary filter from the vendor.

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:16 source=("https://download.brother.com/welcome/dlf105768/${_model,,}pdrv-${pkgver}-${_revision}.i386.rpm")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Marius Kaufmann <dasug@improved-madness.de>
2# Based on brother-dcpl3550cdw package from AUR, which in turn is based on brother-hll2370dn.
3
4pkgname="brother-dcpl3515cdw"
5pkgver="3.5.1"
6pkgrel=1
7pkgdesc="CUPS driver for Brother DCP-L3515CDW"
8arch=('x86_64')
9url="https://support.brother.com/g/b/producttop.aspx?c=eu_ot&lang=en&prod=dcpl3515cdw_eu"
10license=('custom:brother-license' 'GPL-2.0-only')
11depends=('cups' 'perl' 'ghostscript')
12_model="dcpl3515cdw"
13_revision=2
14
15#https://download.brother.com/welcome/dlf105768/dcpl3515cdwpdrv-3.5.1-2.i386.rpm
16source=("https://download.brother.com/welcome/dlf105768/${_model,,}pdrv-${pkgver}-${_revision}.i386.rpm")
17sha256sums=("77f73f76873a75f53f9a709ec064430d9b820ca478d7e625b800e4046df1630c")
18
19package() {
20 mkdir -p "$pkgdir/opt/brother"
21 cp -R "$srcdir/opt/brother" "$pkgdir/opt"
22
23 # symlink for lpdwrapper so it correctly figures out the printer model from the path
24 install -d "$pkgdir/usr/lib/cups/filter/"
25 ln -s "/opt/brother/Printers/${_model}/cupswrapper/brother_lpdwrapper_${_model}" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_${_model}"
26
27 # symlink for the PPD
28 install -d "$pkgdir/usr/share/cups/model/Brother"
29 ln -s "/opt/brother/Printers/${_model}/cupswrapper/brother_${_model}_printer_en.ppd" "$pkgdir/usr/share/cups/model/Brother"
30
31 # symlink for inf because it tries to execute it there
32 ln -s "/opt/brother/Printers/${_model}/inf" "$pkgdir/opt/brother/Printers/${_model}/lpd/"
33
34 # the filter script is invoked with the full path so it needs to exist in lpd
35 ln -s "${CARCH}/br${_model}filter" "${pkgdir}/opt/brother/Printers/${_model}/lpd/br${_model}filter"
36
37 # brprintconf is invoked as a bare command by the cups wrapper, so it needs to be visible in the path
38 install -d "$pkgdir/usr/bin"
39 ln -s "/opt/brother/Printers/${_model}/lpd/${CARCH}/brprintconf_${_model}" "$pkgdir/usr/bin/brprintconf_${_model}"
40
41 # install custom brother license files
42 install -Dm644 "${srcdir}/opt/brother/Printers/${_model}/LICENSE_ENG.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}"
43 install -Dm644 "${srcdir}/opt/brother/Printers/${_model}/LICENSE_JPN.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}"
44}
45
46

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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