okimfpsdrv
The package downloads official RPM binaries from the vendor's own domain (oki.com), which is plausibly the project's official source; despite the static analyzer flag for a non-whitelisted host, this is a normal supply-chain for vendor-provided drivers and does not constitute a high 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 95%): The package downloads official RPM binaries from the vendor's own domain (oki.com), which is plausibly the project's official source; despite the static analyzer flag for a non-whitelisted host, this is a normal supply-chain for vendor-provided drivers and does not constitute a high 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:21
source_i686=("http://www.oki.com/uk/printing/download/okimfpsdrv-${_pkgver}.i386_231227.rpm")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Radek Podgorny <radek@podgorny.cz>
# Maintainer (previous): Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=okimfpsdrv
pkgver=1.7.0
_pkgver=1.7-0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Scanner drivers OKI multifunctional printers"
url="http://www.oki.co.uk/support/printer/printer-drivers"
license=('custom')
backup=('usr/lib/okimfpdrv/device.conf')
depends=('libusb' 'python2')
optdepends=('netpbm: support for additional output formats')
# The driver may need to be be downloaded manually from:
# http://www.oki.co.uk/support/printer/printer-drivers/
#
# 1. select the printer
# 2. select Linux drivers and Utilities
# 3. download either "Scanner Driver (Red Hat i386)" or "Scanner Driver (Red Hat x86_64)"
source=("okiscand.service")
source_i686=("http://www.oki.com/uk/printing/download/okimfpsdrv-${_pkgver}.i386_231227.rpm")
source_x86_64=("http://www.oki.com/uk/printing/download/okimfpsdrv-${_pkgver}.x86_64_231228.rpm")
md5sums=('0164a329e93405806dcf20700b01008d')
md5sums_i686=('cad710beccb7d08cc7c048896ffb94b7')
md5sums_x86_64=('ff6c99bd9ca05dd6141d7dbd2ddcd1af')
package() {
bsdtar -x -f "$srcdir"/*.rpm -C "$pkgdir"
# fix for the Arch linux directory structure
[ "$CARCH" = "x86_64" ] && mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib"
mv "$pkgdir/usr/sbin/"* "$pkgdir/usr/bin"
rmdir "$pkgdir/usr/sbin"
rm -r "$pkgdir/etc/init.d"
mv "$pkgdir/usr/libexec/"* "$pkgdir/usr/lib"
rmdir "$pkgdir/usr/libexec"
ln -s "/usr/lib" "$pkgdir/usr/libexec"
# install the systemd service file
install -Dm0644 "$srcdir/okiscand.service" "$pkgdir/usr/lib/systemd/system/okiscand.service"
# install the license
install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
cp -r "$pkgdir/usr/share/doc/okimfpsdrv/"* "$pkgdir/usr/share/licenses/$pkgname"
# fix python version
find "$pkgdir" -type f -name "*.py" -exec sed -i 's|^#!.*python$|&2|' '{}' ';'
# delete old .pyc and .pyo files
find "$pkgdir" -type f -name "*.pyc" -delete
find "$pkgdir" -type f -name "*.pyo" -delete
# compile new .pyc and .pyo files
sleep 1 # make sure the compiled files have higher timestamp
python2 -O -m compileall "$pkgdir"
# touch the config file, so it is tracked by pacman
touch "$pkgdir/usr/lib/okimfpdrv/device.conf"
# move the assistant applet desktop file from autostart to applications
mkdir -p "$pkgdir/usr/share/applications/"
mv "$pkgdir/etc/xdg/autostart/okimfp-assistant-applet.desktop" "$pkgdir/usr/share/applications/"
rm -r "$pkgdir/etc/xdg"
}
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 |