oki-c321-c331-c531

LOW
maintainer severach 5 votes scanned 2026-09-17 00:27:14.276658
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-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