brother-dcpl2535dw
maintainer Novite
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a Brother driver RPM from a plausible Brother subdomain used for drivers; despite the non-standard host, it is likely an official source, and the build extracts and installs static files without executing remote code.
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 Brother driver RPM from a plausible Brother subdomain used for drivers; despite the non-standard host, it is likely an official source, and the build extracts and installs static files without executing remote code.
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:12
"https://d.brother-movie.com/driver/286/dcpl2535dwpdrv-${pkgver/_/-}.i386.rpm"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Weber Jiang <webster.jiang@gmail.com>
2
pkgname=brother-dcpl2535dw
3
pkgver=4.0.0_1
4
pkgrel=1
5
pkgdesc="Brother DCP-L2535DW driver"
6
arch=('i686' 'x86_64')
7
url="https://support.brother.com/g/b/producttop.aspx?lang=zh&c=cn&prod=dcpl2535dw_cn&cgi=m00112%2fzh%2fsrc%3dDEVICE"
8
license=('GPL2' 'custom:brother')
9
depends=('cups')
10
optdepends=('brscan4: scanner support.')
11
source=(
12
"https://d.brother-movie.com/driver/286/dcpl2535dwpdrv-${pkgver/_/-}.i386.rpm"
13
)
14
md5sums=(
15
'e62e2935da329aa2e3e22150fe84bfb8'
16
)
17
18
prepare() {
19
sed -i -e '75c\my $basedir = "/opt/brother/Printers/DCPL2535DW";' \
20
${srcdir}/opt/brother/Printers/DCPL2535DW/cupswrapper/lpdwrapper
21
}
22
23
package() {
24
mkdir -p ${pkgdir}/usr/share/cups/model/Brother
25
mkdir -p ${pkgdir}/usr/lib/cups/filter
26
cp ${srcdir}/opt/brother/Printers/DCPL2535DW/cupswrapper/brother-DCPL2535DW-cups-en.ppd ${pkgdir}/usr/share/cups/model/Brother
27
cp ${srcdir}/opt/brother/Printers/DCPL2535DW/cupswrapper/lpdwrapper ${pkgdir}/usr/lib/cups/filter/brother_lpdwrapper_DCPL2535DW
28
29
mkdir -p ${pkgdir}/opt/brother/Printers/DCPL2535DW/lpd/
30
cp -r ${srcdir}/opt/brother/Printers/DCPL2535DW/inf ${pkgdir}/opt/brother/Printers/DCPL2535DW/
31
cp ${srcdir}/opt/brother/Printers/DCPL2535DW/lpd/lpdfilter ${pkgdir}/opt/brother/Printers/DCPL2535DW/lpd/
32
cp ${srcdir}/opt/brother/Printers/DCPL2535DW/lpd/${CARCH}/* ${pkgdir}/opt/brother/Printers/DCPL2535DW/lpd/
33
cp -r ${srcdir}/var ${pkgdir}/
34
}
35
36
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 |