canon-pixma-tr160-complete
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
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)
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# Maintainer: Selene Bray-Hernandez <selebray1998 (at) gmail (dot) com>
# Contributor: based on canon-pixma-mg3000-complete PKGBUILD by Peter Nagy
pkgname=canon-pixma-tr160-complete
pkgver=6.81
pkgrel=2
pkgdesc='Canon PIXMA TR160 printer driver (print-only, no scanner)'
arch=(x86_64)
url='https://www.usa.canon.com/support/p/pixma-tr160'
license=(custom)
depends=(popt libpng12 libusb-compat libtiff libxml2-legacy gtk2)
makedepends=(deb2targz)
conflicts=(cnijfilter2)
_sourceDeb="cnijfilter2-${pkgver}-1-deb"
_debName="cnijfilter2_${pkgver}-1_amd64"
_ppd='canontr160.ppd'
source=("https://gdlp01.c-wss.com/gds/2/0100012532/01/${_sourceDeb}.tar.gz")
sha256sums=('SKIP')
pkgver() {
local ver
ver=$(curl -sL "https://asia.canon/en/support/0101253201" \
| grep -oP 'cnijfilter2-\K[0-9]+\.[0-9]+(?=-1-deb)' \
| head -1)
echo "${ver:-${pkgver}}"
}
build() {
cd "${srcdir}"
tar xzf "${_sourceDeb}.tar.gz"
}
package() {
cd "${pkgdir}"
cp "${srcdir}/${_sourceDeb}/packages/${_debName}.deb" .
deb2targz "${_debName}.deb"
rm -f "${_debName}.deb"
tar xJf "${_debName}.tar.xz"
rm -f "${_debName}.tar.xz"
install -vDm 644 "usr/share/ppd/${_ppd}" "usr/share/cups/model/${_ppd}"
rm -rf usr/share/ppd
find usr/share/doc/ -name 'LICENSE*' -execdir install -vDm 644 {} "${pkgdir}/usr/share/licenses/${pkgname}/{}" \;
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |