brother-dcpj315w
maintainer h8red
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads RPMs from Brother's official domain (brother.com), which is a standard and trusted source for this hardware's drivers; the non-whitelisted host flag is a false positive as brother.com is the legitimate vendor.
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 RPMs from Brother's official domain (brother.com), which is a standard and trusted source for this hardware's drivers; the non-whitelisted host flag is a false positive as brother.com is the legitimate 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:23
"http://www.brother.com/pub/bsc/linux/dlf/dcpj315wlpr-$pkgver-1.i386.rpm" \
PKGBUILD
1 offending line(s) highlighted
1
# Contributor: Alessio Bianchi <venator85@gmail.com>
2
# Contributor: Jacek Roszkowski <j.roszk@gmail.com>
3
# Contributor: Javier Cordero <jneight@gmail.com>
4
# Maintainer: h8red h8red at yandex dot ru
5
6
pkgname=brother-dcpj315w
7
pkgver=1.1.3
8
pkgrel=6
9
pkgdesc="Driver for the Brother DCP-J315W wifi multifuncional printer"
10
url="http://solutions.brother.com/linux/en_us/index.html"
11
license=('custom:brother')
12
depends=('a2ps' 'cups' 'lib32-gcc-libs' 'lib32-glibc')
13
optdepends=('brscan3: scanner support.')
14
install="brother-dcpj315w.install"
15
arch=('i686' 'x86_64')
16
17
md5sums=('24426a029b941bc4c67e291852bf8c7f'
18
'7fdc3003537bb03d766e7ca5ddc466bb'
19
'0c6a1b106c8592a99b86e464b1164216')
20
21
source=(
22
"fix_lp.patch" \
23
"http://www.brother.com/pub/bsc/linux/dlf/dcpj315wlpr-$pkgver-1.i386.rpm" \
24
"http://www.brother.com/pub/bsc/linux/dlf/dcpj315wcupswrapper-$pkgver-1.i386.rpm"
25
)
26
27
build() {
28
cd "$srcdir"
29
patch -Np0 < fix_lp.patch
30
}
31
32
post_install() {
33
/opt/brother/Printers/dcpj315w/cupswrapper/cupswrapperdcpj315w
34
}
35
36
package()
37
{
38
install -d $pkgdir/usr/bin
39
install -d $pkgdir/var/spool/lpd
40
install -Dm755 "$srcdir"/usr/bin/brprintconf_dcpj315w "$pkgdir"/usr/bin/
41
cp -R $srcdir/opt $pkgdir/opt
42
}
43
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 |