pos80-driver
maintainer fabiogsilva95
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a driver package from the manufacturer's official website (zjiang.com, related to the project's domain), used to build and install printer driver files; the non-whitelisted host is the vendor's own site, and the installed payload is non-executable data and a filter binary for CUPS, posing low risk.
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 source is a driver package from the manufacturer's official website (zjiang.com, related to the project's domain), used to build and install printer driver files; the non-whitelisted host is the vendor's own site, and the installed payload is non-executable data and a filter binary for CUPS, posing low risk.
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:15
source=("linux-driver.zip::http://www.zjiang.com/asset/upload/14920711742402.zip")
PKGBUILD
1 offending line(s) highlighted
1
# Maintener: Fabio Gomes da Silva <fabiogsilva@disroot.org>
2
# Based on:
3
# - https://aur.archlinux.org/packages/zijiang-pos58-driver
4
# - Originally maintained by: Alexander Sulfrian
5
6
pkgname=pos80-driver
7
pkgver=1.0
8
pkgrel=1
9
pkgdesc='Driver for the POS80 thermal printer'
10
arch=('x86_64' 'i686')
11
url='http://www.zijiang.com/'
12
license=('custom')
13
makedepends=( cups unzip)
14
depends=()
15
source=("linux-driver.zip::http://www.zjiang.com/asset/upload/14920711742402.zip")
16
sha256sums=('8faed310839377a479b62c1285ab3d9601270428e0b362ecd2e7cced02c24d92')
17
18
19
20
prepare() {
21
# Unpack the installer script
22
if [ $CARCH == "x86_64" ]; then
23
sed -n -e '1,/^exit 0$/!p' Linux*/linux64*/install80 > package.tar.gz
24
else
25
sed -n -e '1,/^exit 0$/!p' Linux*/linux32*/install80 > package.tar.gz
26
fi
27
tar zxf "package.tar.gz"
28
}
29
30
package() {
31
mkdir -p "${pkgdir}/usr/lib/cups/filter"
32
install "${srcdir}/bin/rastertozj" "${pkgdir}/usr/lib/cups/filter/"
33
34
mkdir -p "${pkgdir}/usr/share/cups/model/zijiang/"
35
install -m0644 "${srcdir}/ppd/POS80.ppd" "${pkgdir}/usr/share/cups/model/zijiang/"
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 |