xprinter-cups
maintainer hotline1337
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a RAR archive from the official vendor's website (xprintertech.com), extracts a Debian package, and installs CUPS drivers and PPD files; the source is from the project's own domain, making it a legitimate build process despite the non-whitelisted host.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a RAR archive from the official vendor's website (xprintertech.com), extracts a Debian package, and installs CUPS drivers and PPD files; the source is from the project's own domain, making it a legitimate build process despite the non-whitelisted host.
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:13
source=("${pkgname}-${pkgver}.rar::https://www.xprintertech.com/label-printer-linux-1")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Filip <denuvo at tuta dot io>
2
3
pkgname=xprinter-cups
4
pkgver=3.13.3
5
pkgrel=1
6
pkgdesc="Xprinter Drivers for Linux (ESC/POS and TSPL)"
7
arch=('x86_64')
8
url="https://www.xprintertech.com/drivers-2"
9
depends=('cups')
10
makedepends=('dpkg' 'unrar')
11
options=('!strip')
12
13
source=("${pkgname}-${pkgver}.rar::https://www.xprintertech.com/label-printer-linux-1")
14
sha256sums=("ed2665af416d83b8622f3f231a7300632251ec4fa98804b675e123e052518cfa")
15
16
prepare() {
17
local deb_file=("Linux/printer-driver-xprinter_${pkgver}_all.deb")
18
19
cd "$srcdir"
20
dpkg -x "${deb_file[0]}" extracted_deb
21
mkdir -p prepared_ppds
22
23
for ppd in extracted_deb/usr/share/cups/model/xprinter/*.ppd; do
24
chmod 644 "$ppd"
25
gzip -9c "$ppd" > "prepared_ppds/${ppd##*/}.gz"
26
done
27
}
28
29
package() {
30
cd "$srcdir"
31
32
install -dm755 "${pkgdir}/usr/lib/cups/filter"
33
install -Dm755 extracted_deb/opt/xprinter/printer-driver-xprinter/bin/rastertosnailep-x64 "${pkgdir}/usr/lib/cups/filter/rastertosnailep-xprinter"
34
install -Dm755 extracted_deb/opt/xprinter/printer-driver-xprinter/bin/rastertosnailtspl-x64 "${pkgdir}/usr/lib/cups/filter/rastertosnailtspl-xprinter"
35
install -dm755 "${pkgdir}/usr/share/cups/model/xprinter"
36
37
for ppd_gz in prepared_ppds/*.gz; do
38
install -Dm644 "$ppd_gz" "${pkgdir}/usr/share/cups/model/xprinter/${ppd_gz##*/}"
39
done
40
}
41
Changes since previous scan
--- PKGBUILD @ 2026-07-26 00:07+++ PKGBUILD @ 2026-08-03 00:08@@ -1,4 +1,4 @@-# Maintainer: Filip <denuvo@duck.com>+# Maintainer: Filip <denuvo at tuta dot io> pkgname=xprinter-cups pkgver=3.13.3Scan 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 17:32:42 | MEDIUM | 1 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |