xprinter-ppd

MEDIUM
maintainer CupIvan 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a .deb from a non-whitelisted, project-specific domain (xprintertech.com) which is not on standard Linux distribution or CUPS infrastructure; the deb is extracted and a binary is installed into the CUPS filter system, posing a supply-chain risk if the host were compromised or the download intercepted, though the checksum is verified.

Triggered rules

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:11 "package.rar::https://www.xprintertech.com/label-printer-linux"
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 85%): The package downloads a .deb from a non-whitelisted, project-specific domain (xprintertech.com) which is not on standard Linux distribution or CUPS infrastructure; the deb is extracted and a binary is installed into the CUPS filter system, posing a supply-chain risk if the host were compromised or the download intercepted, though the checksum is verified.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: CupIvan <mail@cupivan.ru>
2pkgname=xprinter-ppd
3pkgver=3.13.55
4pkgrel=1
5pkgdesc="CUPS driver for Xprinter XP-420B, XP-DT325B, XP-H400B, XP-TT325B series"
6url="https://www.xprintertech.com/drivers-2"
7arch=('x86_64')
8options=('!debug')
9
10source=(
11 "package.rar::https://www.xprintertech.com/label-printer-linux"
12)
13sha256sums=(
14 '56da6a61aff7e9e51174e99f63debb690cf4864f5b45fe4325c02bc7f6d54d4c'
15)
16
17build() {
18 FNAME="printer-driver-xprinter_3.13.55_all.deb"
19 ar xv $FNAME
20 tar -xJf data.tar.xz
21}
22
23package() {
24 install -Dm755 "./opt/xprinter_printer/printer-driver-xprinter/bin/rastertosnailtspl-x64" "${pkgdir}/usr/lib/cups/filter/rastertosnailtspl-xprinter"
25 cp -r ./usr ${pkgdir}
26}
27

Changes since previous scan

--- PKGBUILD @ 2026-09-02 00:02
+++ PKGBUILD @ 2026-09-17 00:27
@@ -1,37 +1,27 @@
# Maintainer: CupIvan <mail@cupivan.ru>
pkgname=xprinter-ppd
-pkgver=1
-pkgrel=3
+pkgver=3.13.55
+pkgrel=1
pkgdesc="CUPS driver for Xprinter XP-420B, XP-DT325B, XP-H400B, XP-TT325B series"
url="https://www.xprintertech.com/drivers-2"
arch=('x86_64')
-options=('!strip')
+options=('!debug')
source=(
-"package.zip::https://www.xprintertech.com/label-printer-1"
+ "package.rar::https://www.xprintertech.com/label-printer-linux"
)
sha256sums=(
-'a846b3104beee9f464e211a25482e4dcaa6b3a9a56f8b684f5a6e1885517f1d3'
+ '56da6a61aff7e9e51174e99f63debb690cf4864f5b45fe4325c02bc7f6d54d4c'
)
build() {
- FNAME="Xprinter(label-Linux)"
- tail -n +10 "$FNAME" | tar -xj
-
- mkdir -p ppd
- for fname in *.ppd
- do
- chmod -x $fname
- gzip -c $fname > ppd/$fname.gz
- done
+ FNAME="printer-driver-xprinter_3.13.55_all.deb"
+ ar xv $FNAME
+ tar -xJf data.tar.xz
}
package() {
- install -Dm755 xprinter_64 ${pkgdir}/usr/lib/cups/filter/xprinter
- for path in ./ppd/*
- do
- fname=`basename "$path"`
- install -Dm644 $path "${pkgdir}/usr/share/cups/model/Xprinter/$fname"
- done
+ install -Dm755 "./opt/xprinter_printer/printer-driver-xprinter/bin/rastertosnailtspl-x64" "${pkgdir}/usr/lib/cups/filter/rastertosnailtspl-xprinter"
+ cp -r ./usr ${pkgdir}
}

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 15:51:02 Medium 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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion