bit4id-xpki

LOW
maintainer s.pantaleev 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
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:22 source=("Bit4id_Middleware-${pkgver}.zip::https://cdn.bit4id.com/es/soporte/downloads/middleware/Bit4id_Middleware.zip")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Slavi Pantaleev <slavi at devture.com>
2
3pkgname=bit4id-xpki
4pkgver=1.4.11.836
5pkgrel=3
6pkgdesc="Bit4ID Universal Middleware (Smart Card driver)"
7arch=('x86_64')
8license=('unknown')
9url="https://cdn.bit4id.com/es/middleware.htm"
10install=$pkgname.install
11options=('!strip')
12backup=('usr/lib/bit4id/libbit4xpki.so.conf')
13# The library loads libpcsclite.so.1 at runtime (so it's not detectable via ldd) and talks to pcscd.
14# ccid provides the driver for most USB card readers.
15depends=('pcsclite' 'ccid')
16# Older bit4id-ipki versions shipped their own copy of /usr/lib/bit4id/libbit4xpki.so.
17# Newer ones are an add-on on top of this package.
18conflicts=('bit4id-ipki<1.4.10.542-4')
19
20# Upstream (Bit4id) publishes an unversioned zip (containing a .deb and an .rpm),
21# so we save it under a versioned name. The checksum will break when upstream replaces it with a newer release.
22source=("Bit4id_Middleware-${pkgver}.zip::https://cdn.bit4id.com/es/soporte/downloads/middleware/Bit4id_Middleware.zip")
23noextract=("Bit4id_Middleware-${pkgver}.zip")
24sha256sums=('0f6d45d1f7d550f9188404feb23f977b8b19b4b7f5475eef8fc79647d9be9ff5')
25
26prepare() {
27 bsdtar -xf "Bit4id_Middleware-${pkgver}.zip" Bit4id_Middleware.deb
28}
29
30package() {
31 bsdtar -xOf Bit4id_Middleware.deb data.tar.xz | bsdtar -xf - -C "$pkgdir"
32
33 # Remove pinmanager. It's packaged separately (as `bit4id-pki-manager`).
34 rm -rf "$pkgdir/usr/share/bit4id/x"
35
36 # Remove Bit4id's bundled CCID driver. Only Debian's postinst installs it; we rely on Arch's `ccid` package instead.
37 rm -rf "$pkgdir/usr/share/bit4id/ccid"
38 rmdir "$pkgdir/usr/share/bit4id" "$pkgdir/usr/share"
39}
40

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