canon-pixma-tr160-complete

LOW
maintainer selebray1998 0 votes scanned 2026-09-17 00:27:14.276658
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
4pkgname=canon-pixma-tr160-complete
5pkgver=6.81
6pkgrel=2
7pkgdesc='Canon PIXMA TR160 printer driver (print-only, no scanner)'
8arch=(x86_64)
9url='https://www.usa.canon.com/support/p/pixma-tr160'
10license=(custom)
11depends=(popt libpng12 libusb-compat libtiff libxml2-legacy gtk2)
12makedepends=(deb2targz)
13conflicts=(cnijfilter2)
14
15_sourceDeb="cnijfilter2-${pkgver}-1-deb"
16_debName="cnijfilter2_${pkgver}-1_amd64"
17_ppd='canontr160.ppd'
18
19source=("https://gdlp01.c-wss.com/gds/2/0100012532/01/${_sourceDeb}.tar.gz")
20sha256sums=('SKIP')
21
22pkgver() {
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
30build() {
31 cd "${srcdir}"
32 tar xzf "${_sourceDeb}.tar.gz"
33}
34
35package() {
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)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion