brother-pj723
The package downloads official Brother printer driver RPMs from the vendor's own download domain, which is not on the whitelist but is plausibly legitimate; the build process repackages the drivers for Arch Linux without executing arbitrary remote code or introducing untrusted binaries.
Triggered rules
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 official Brother printer driver RPMs from the vendor's own download domain, which is not on the whitelist but is plausibly legitimate; the build process repackages the drivers for Arch Linux without executing arbitrary remote code or introducing untrusted binaries.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:18
http://download.brother.com/welcome/dlfp100218/pj723cupswrapper-1.2.0-0.i386.rpm
PKGBUILD
1 offending line(s) highlighted# Maintainer: doakey3 <doakey3@gmail.com>
pkgname="brother-pj723"
pkgver="1.2.0"
pkgrel="1"
pkgdesc="CUPS driver for Brother Pocket Jet 723 printer"
url="http://www.brother.com"
license=('GPL')
install="brother-pj723.install"
arch=('x86_64')
depends=('lib32-glibc')
md5sums=(
'e63370dea8692176e7d257d810145e76'
'f976c06d770c74b94d8d480d463260e0'
)
source=(
http://download.brother.com/welcome/dlfp100218/pj723cupswrapper-1.2.0-0.i386.rpm
http://download.brother.com/welcome/dlfp100217/pj723lpr-1.2.0-0.i386.rpm
)
prepare() {
# The point is to make all the needed edits to the files and place
# them into correct folders in the src folder. Pretend $srcdir is
# the root of the system.
# .ppd
mkdir -p "$srcdir/usr/share/ppd/Brother"
_ppd="$srcdir/opt/brother/PTouch/pj723/cupswrapper/brother_pj723_printer_en.ppd"
_out_ppd="$srcdir/usr/share/ppd/Brother/brother_pj723_printer_en.ppd"
_out_wrapper="/usr/Brother/Printer/pj723/cupswrapper/brother_lpdwrapper_pj723"
sed "s|brother_lpdwrapper_pj723|${_out_wrapper}|g" "$_ppd" > "$_out_ppd"
# brcupsconfpt1
mkdir -p "$srcdir/usr/Brother/Printer/pj723/cupswrapper"
_driver="$srcdir/usr/bin/brprintconfpt1_pj723"
_out_driver="$srcdir/usr/Brother/Printer/pj723/cupswrapper/brcupsconfpt1"
cp "$_driver" "$_out_driver"
rm -r "$srcdir/usr/bin"
cp -R "$srcdir/opt/brother/PTouch/pj723/inf" "$srcdir/usr/Brother/Printer/pj723"
cp -R "$srcdir/opt/brother/PTouch/pj723/lpd" "$srcdir/usr/Brother/Printer/pj723"
_setupPrintcappt1="$srcdir/opt/brother/PTouch/pj723/inf/setupPrintcappt1"
_out_setupPrintcappt1="$srcdir/usr/Brother/Printer/pj723/inf/setupPrintcappt1"
_filterpj723="$srcdir/opt/brother/PTouch/pj723/lpd/filterpj723"
_out_filterpj723="$srcdir/usr/Brother/Printer/pj723/lpd/filterpj723"
# setupPrintcappt1 & filterpj723
sed "s|/opt/brother/PTouch|/usr/Brother/Printer|g" "$_setupPrintcappt1" > "$_out_setupPrintcappt1"
sed "s|/opt/brother/PTouch|/usr/Brother/Printer|g" "$_filterpj723" > "$_out_filterpj723"
# lpdwrapper
wrapper=$(sed -n '/<<!ENDOFWFILTER!/,$p' $srcdir/opt/brother/PTouch/pj723/cupswrapper/cupswrapperpj723)
wrapper=$(sed "1d" <<< $wrapper)
wrapper=$(sed -n "/!ENDOFWFILTER!/q;p" <<< $wrapper)
wrapper=$(sed 's|${printer_model}|pj723|g' <<< $wrapper)
wrapper=$(sed 's|\\||g' <<< $wrapper)
wrapper=$(sed 's|/usr/share/cups/model/Brother/brother_pj723_printer_en.ppd|/usr/share/ppd/Brother/brother_pj723_printer_en.ppd|g' <<< $wrapper)
wrapper=$(sed 's|/opt/brother/${device_model}/|/usr/Brother/Printer/|g' <<< $wrapper)
echo "$wrapper" > "$srcdir/usr/Brother/Printer/pj723/cupswrapper/brother_lpdwrapper_pj723"
chmod 755 "$srcdir/usr/Brother/Printer/pj723/cupswrapper/brother_lpdwrapper_pj723"
}
package() {
cp -R "$srcdir/usr" "$pkgdir"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |