canon-pixma-tr160-complete
maintainer selebray1998
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source tarball from Canon's official gdlp01.c-wss.com host, extracts a Debian package, and converts it to install printer driver files; despite the non-whitelisted host and skipped checksum, it builds from official vendor sources and installs only static data (PPD, license), posing minimal 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 90%): The package downloads a source tarball from Canon's official gdlp01.c-wss.com host, extracts a Debian package, and converts it to install printer driver files; despite the non-whitelisted host and skipped checksum, it builds from official vendor sources and installs only static data (PPD, license), posing minimal 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:19
source=("https://gdlp01.c-wss.com/gds/2/0100012532/01/${_sourceDeb}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Selene Bray-Hernandez <selebray1998 (at) gmail (dot) com>
2
# Contributor: based on canon-pixma-mg3000-complete PKGBUILD by Peter Nagy
3
4
pkgname=canon-pixma-tr160-complete
5
pkgver=6.81
6
pkgrel=2
7
pkgdesc='Canon PIXMA TR160 printer driver (print-only, no scanner)'
8
arch=(x86_64)
9
url='https://www.usa.canon.com/support/p/pixma-tr160'
10
license=(custom)
11
depends=(popt libpng12 libusb-compat libtiff libxml2-legacy gtk2)
12
makedepends=(deb2targz)
13
conflicts=(cnijfilter2)
14
15
_sourceDeb="cnijfilter2-${pkgver}-1-deb"
16
_debName="cnijfilter2_${pkgver}-1_amd64"
17
_ppd='canontr160.ppd'
18
19
source=("https://gdlp01.c-wss.com/gds/2/0100012532/01/${_sourceDeb}.tar.gz")
20
sha256sums=('SKIP')
21
22
pkgver() {
23
local ver
24
ver=$(curl -sL "https://asia.canon/en/support/0101253201" \
25
| grep -oP 'cnijfilter2-\K[0-9]+\.[0-9]+(?=-1-deb)' \
26
| head -1)
27
echo "${ver:-${pkgver}}"
28
}
29
30
build() {
31
cd "${srcdir}"
32
tar xzf "${_sourceDeb}.tar.gz"
33
}
34
35
package() {
36
cd "${pkgdir}"
37
38
cp "${srcdir}/${_sourceDeb}/packages/${_debName}.deb" .
39
deb2targz "${_debName}.deb"
40
rm -f "${_debName}.deb"
41
42
tar xJf "${_debName}.tar.xz"
43
rm -f "${_debName}.tar.xz"
44
45
install -vDm 644 "usr/share/ppd/${_ppd}" "usr/share/cups/model/${_ppd}"
46
rm -rf usr/share/ppd
47
48
find usr/share/doc/ -name 'LICENSE*' -execdir install -vDm 644 {} "${pkgdir}/usr/share/licenses/${pkgname}/{}" \;
49
}
50
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 |