canon-pixma-tr160-complete

LOW
maintainer selebray1998 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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