brother-dcpl2510d
maintainer Rokic
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a driver RPM from a brother.com subdomain used for downloads, which is plausibly official despite not being on a standard whitelist; the source is not obfuscated and is verified by a matching md5sum, and the package installs only printer driver files, posing minimal risk.
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 a driver RPM from a brother.com subdomain used for downloads, which is plausibly official despite not being on a standard whitelist; the source is not obfuscated and is verified by a matching md5sum, and the package installs only printer driver files, posing minimal risk.
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:14
"http://download.brother.com/welcome/dlf103515/dcpl2510dpdrv-${pkgver/_/-}.i386.rpm"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Rokic <Rokicc@proton.me>
2
# Based on brother-dcpl2530dw package from AUR.
3
4
pkgname=brother-dcpl2510d
5
pkgver=4.0.0_1
6
pkgrel=1
7
pkgdesc="LPR driver and CUPS wrapper for the Brother DCP-L2510D and DCP-L2512D printers"
8
arch=('i686' 'x86_64')
9
url="https://support.brother.com/g/b/downloadtop.aspx?c=eu_ot&lang=en&prod=dcpl2512d_eu"
10
license=('GPL2' 'custom:brother')
11
depends=('cups')
12
optdepends=('brscan4: scanner support.')
13
source=(
14
"http://download.brother.com/welcome/dlf103515/dcpl2510dpdrv-${pkgver/_/-}.i386.rpm"
15
)
16
md5sums=(
17
'd893177416b0da4ccaaadf3278b9d298'
18
)
19
20
prepare() {
21
sed -i -e '75c\my $basedir = "/opt/brother/Printers/DCPL2510D";' \
22
${srcdir}/opt/brother/Printers/DCPL2510D/cupswrapper/lpdwrapper
23
}
24
25
package() {
26
mkdir -p ${pkgdir}/usr/share/cups/model/Brother
27
mkdir -p ${pkgdir}/usr/lib/cups/filter
28
cp ${srcdir}/opt/brother/Printers/DCPL2510D/cupswrapper/brother-DCPL2510D-cups-en.ppd ${pkgdir}/usr/share/cups/model/Brother
29
cp ${srcdir}/opt/brother/Printers/DCPL2510D/cupswrapper/lpdwrapper ${pkgdir}/usr/lib/cups/filter/brother_lpdwrapper_DCPL2510D
30
31
mkdir -p ${pkgdir}/opt/brother/Printers/DCPL2510D/lpd/
32
cp -r ${srcdir}/opt/brother/Printers/DCPL2510D/inf ${pkgdir}/opt/brother/Printers/DCPL2510D/
33
cp ${srcdir}/opt/brother/Printers/DCPL2510D/lpd/lpdfilter ${pkgdir}/opt/brother/Printers/DCPL2510D/lpd/
34
cp ${srcdir}/opt/brother/Printers/DCPL2510D/lpd/${CARCH}/* ${pkgdir}/opt/brother/Printers/DCPL2510D/lpd/
35
cp -r ${srcdir}/var ${pkgdir}/
36
}
37
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |