brother-dcpl3515cdw
maintainer Dasug
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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
4
pkgname="brother-dcpl3515cdw"
5
pkgver="3.5.1"
6
pkgrel=1
7
pkgdesc="CUPS driver for Brother DCP-L3515CDW"
8
arch=('x86_64')
9
url="https://support.brother.com/g/b/producttop.aspx?c=eu_ot&lang=en&prod=dcpl3515cdw_eu"
10
license=('custom:brother-license' 'GPL-2.0-only')
11
depends=('cups' 'perl' 'ghostscript')
12
_model="dcpl3515cdw"
13
_revision=2
14
15
#https://download.brother.com/welcome/dlf105768/dcpl3515cdwpdrv-3.5.1-2.i386.rpm
16
source=("https://download.brother.com/welcome/dlf105768/${_model,,}pdrv-${pkgver}-${_revision}.i386.rpm")
17
sha256sums=("77f73f76873a75f53f9a709ec064430d9b820ca478d7e625b800e4046df1630c")
18
19
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 3 |
| 2026-08-02 00:16:08 | LOW | 3 |
| 2026-08-01 00:11:18 | LOW | 3 |
| 2026-07-31 00:14:10 | LOW | 3 |
| 2026-07-30 23:20:54 | LOW | 3 |
| 2026-07-30 23:17:02 | MEDIUM | 2 |