oki-c321-c331-c531
maintainer severach
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
3
set -u
4
pkgname='oki-c321-c331-c531'
5
pkgver='1.1'
6
pkgrel='1'
7
pkgdesc='CUPS printer driver for the Okidata C321 C331 C531'
8
arch=('any')
9
url='http://www.okidata.com/'
10
license=('custom')
11
depends=('cups')
12
makedepends=('gzip')
13
source=('http://www.oki.com/uk/printing/download/C531_C331_C321_Linux_110_31034.zip' 'oki-license.txt')
14
sha256sums=('45d8b343ec06a849166dcc98e6d3818584a18315ae1fd4c73a784b8adc248091'
15
'092bb318766a779c9beff91e831a4cfde2ba99b37a9047f6917b946be768b37c')
16
17
package() {
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
}
31
set +u
32
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |