bit4id-xpki
The package downloads a versioned zip from the project's official CDN containing a .deb, which is then extracted to install files; this is a normal build process for repackaging official binaries, and the source is from the vendor's own domain, posing minimal supply-chain risk.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a versioned zip from the project's official CDN containing a .deb, which is then extracted to install files; this is a normal build process for repackaging official binaries, and the source is from the vendor's own domain, posing minimal supply-chain 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:22
source=("Bit4id_Middleware-${pkgver}.zip::https://cdn.bit4id.com/es/soporte/downloads/middleware/Bit4id_Middleware.zip")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Slavi Pantaleev <slavi at devture.com>
pkgname=bit4id-xpki
pkgver=1.4.11.836
pkgrel=3
pkgdesc="Bit4ID Universal Middleware (Smart Card driver)"
arch=('x86_64')
license=('unknown')
url="https://cdn.bit4id.com/es/middleware.htm"
install=$pkgname.install
options=('!strip')
backup=('usr/lib/bit4id/libbit4xpki.so.conf')
# The library loads libpcsclite.so.1 at runtime (so it's not detectable via ldd) and talks to pcscd.
# ccid provides the driver for most USB card readers.
depends=('pcsclite' 'ccid')
# Older bit4id-ipki versions shipped their own copy of /usr/lib/bit4id/libbit4xpki.so.
# Newer ones are an add-on on top of this package.
conflicts=('bit4id-ipki<1.4.10.542-4')
# Upstream (Bit4id) publishes an unversioned zip (containing a .deb and an .rpm),
# so we save it under a versioned name. The checksum will break when upstream replaces it with a newer release.
source=("Bit4id_Middleware-${pkgver}.zip::https://cdn.bit4id.com/es/soporte/downloads/middleware/Bit4id_Middleware.zip")
noextract=("Bit4id_Middleware-${pkgver}.zip")
sha256sums=('0f6d45d1f7d550f9188404feb23f977b8b19b4b7f5475eef8fc79647d9be9ff5')
prepare() {
bsdtar -xf "Bit4id_Middleware-${pkgver}.zip" Bit4id_Middleware.deb
}
package() {
bsdtar -xOf Bit4id_Middleware.deb data.tar.xz | bsdtar -xf - -C "$pkgdir"
# Remove pinmanager. It's packaged separately (as `bit4id-pki-manager`).
rm -rf "$pkgdir/usr/share/bit4id/x"
# Remove Bit4id's bundled CCID driver. Only Debian's postinst installs it; we rely on Arch's `ccid` package instead.
rm -rf "$pkgdir/usr/share/bit4id/ccid"
rmdir "$pkgdir/usr/share/bit4id" "$pkgdir/usr/share"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |