bit4id-pki-manager

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 and repackaged; the source is not executed remotely, and the build process is transparent, making the risk low despite the non-whitelisted host.

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 and repackaged; the source is not executed remotely, and the build process is transparent, making the risk low despite the non-whitelisted host.

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:17 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-pki-manager
4pkgver=1.4.11.836
5pkgrel=2
6pkgdesc="Bit4ID PKI Manager application"
7arch=('x86_64')
8license=('unknown')
9url="https://cdn.bit4id.com/es/middleware.htm"
10options=('!strip')
11# The app loads the system's /usr/lib/libpcsclite.so.1 and talks to pcscd.
12# ccid provides the driver for most USB card readers.
13depends=('pcsclite' 'ccid')
14
15# Upstream (Bit4id) publishes an unversioned zip (containing a .deb and an .rpm),
16# so we save it under a versioned name. The checksum will break when upstream replaces it with a newer release.
17source=("Bit4id_Middleware-${pkgver}.zip::https://cdn.bit4id.com/es/soporte/downloads/middleware/Bit4id_Middleware.zip")
18noextract=("Bit4id_Middleware-${pkgver}.zip")
19sha256sums=('0f6d45d1f7d550f9188404feb23f977b8b19b4b7f5475eef8fc79647d9be9ff5')
20
21prepare() {
22 bsdtar -xf "Bit4id_Middleware-${pkgver}.zip" Bit4id_Middleware.deb
23}
24
25package() {
26 bsdtar -xOf Bit4id_Middleware.deb data.tar.xz | bsdtar -xf - -C "$pkgdir"
27
28 # Remove drivers. They are packaged separately (as `bit4id-xpki`).
29 rm -rf "$pkgdir/usr/lib/bit4id"
30 rm -rf "$pkgdir/usr/share/bit4id/ccid"
31
32 # The app runs on its own bundled glibc, but loads the system's /usr/lib/libpcsclite.so.1 (hardcoded path).
33 # With pcsclite >= 2.x, that is a thin wrapper which loads `libpcsclite_real.so.1`, which requires a newer glibc than the bundled one,
34 # so the app finds no readers. The wrapper searches the app's LD_LIBRARY_PATH first,
35 # so we point it at the bundled (compatible) client library.
36 ln -s libpcsclite.so.1 "$pkgdir/usr/share/bit4id/x/pinmanager/lib/libpcsclite_real.so.1"
37
38 # Upstream's postinst copies this into place, but we don't run it.
39 # We also drop lines that `desktop-file-validate` complains about.
40 install -Dm644 "$pkgdir/usr/share/bit4id/x/bit4pin.desktop" "$pkgdir/usr/share/applications/bit4id-pki-manager.desktop"
41 sed -i '/^Encoding=/d; /^GenericName\[en_US\]=$/d' "$pkgdir/usr/share/applications/bit4id-pki-manager.desktop"
42}
43

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