oki-c321-c331-c531

LOW
maintainer severach 5 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a source archive from a plausible official domain (oki.com) for building a CUPS driver; the host is not on standard whitelists but is legitimate for the vendor, and the content is a non-executable PPD file bundle, 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 95%): The package downloads a source archive from a plausible official domain (oki.com) for building a CUPS driver; the host is not on standard whitelists but is legitimate for the vendor, and the content is a non-executable PPD file bundle, 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:13 source=('http://www.oki.com/uk/printing/download/C531_C331_C321_Linux_110_31034.zip' 'oki-license.txt')

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
2
3set -u
4pkgname='oki-c321-c331-c531'
5pkgver='1.1'
6pkgrel='1'
7pkgdesc='CUPS printer driver for the Okidata C321 C331 C531'
8arch=('any')
9url='http://www.okidata.com/'
10license=('custom')
11depends=('cups')
12makedepends=('gzip')
13source=('http://www.oki.com/uk/printing/download/C531_C331_C321_Linux_110_31034.zip' 'oki-license.txt')
14sha256sums=('45d8b343ec06a849166dcc98e6d3818584a18315ae1fd4c73a784b8adc248091'
15 '092bb318766a779c9beff91e831a4cfde2ba99b37a9047f6917b946be768b37c')
16
17package() {
18 set -u
19 install -Dpm644 'oki-license.txt' -t "${pkgdir}/usr/share/licenses/${pkgname}/"
20 cd C*/
21 install -d "${pkgdir}/usr/share/cups/model"
22 local _ppd
23 for _ppd in *.ppd.gz; do
24 gunzip < "${_ppd}" | \
25 sed -e '/^*NickName:/ s:OKI DATA CORP \(C[0-9][0-9][0-9]\)(PS):Oki \1 PS (OKI DATA CORP \1):g' \
26 | gzip > "${pkgdir}/usr/share/cups/model/${_ppd}"
27 touch -r "${_ppd}" "${pkgdir}/usr/share/cups/model/${_ppd}"
28 done
29 set +u
30}
31set +u
32

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