bit4id-xpki
Triggered rules
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:20
source=('https://repository.infonotary.com/ra/Middleware/Bit4id/Linux/'$_file_name)
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads and installs a prebuilt binary .deb package (a shared library libbit4xpki.so and associated files) from repository.infonotary.com. InfoNotary is a Bulgarian qualified trust service provider (CA) that distributes Bit4ID smart card middleware for their PKI infrastructure, so this is a plausible legitimate vendor mirror rather than a random personal host. However, it is still a third-party binary distribution host (not the upstream bit4id.com itself), the license is listed as 'unknown', and the package installs executed native code (smart card middleware/library) directly from this host. An md5sum is provided but MD5 is cryptographically weak. The supply-chain concern is real: if repository.infonotary.com were compromised, arbitrary native code would be installed into /usr/lib. This fits the medium category — a prebuilt binary from an unofficial/third-party host with weak integrity verification, but not clearly malicious.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Slavi Pantaleev <slavi at devture.com>
pkgname=bit4id-xpki
pkgver=1.4.10.682
pkgrel=2
pkgdesc="Bit4ID Universal Middleware (Smart Card driver)"
arch=('x86_64')
license=('unknown')
url="http://www.bit4id.com/"
install=$pkgname.install
options=('!strip')
# bit4id-ipki also provides /usr/lib/bit4id/libbit4xpki.so
conflicts=('bit4id-ipki')
md5sums=('bee113c3dfeb52b805fe211739c697a8')
# Goes from `X.Y.Z.A` to `X.Y.Z-A`, to match file names on the source server
pkgver_with_dash=$(echo "${pkgver}" | sed 's/\.\([0-9]\+\)$/-\1/')
_file_name='libbit4xpki-'$pkgver_with_dash'-bit4id-user.'$CARCH'.deb'
source=('https://repository.infonotary.com/ra/Middleware/Bit4id/Linux/'$_file_name)
package() {
ar -xv $_file_name || return 1
tar -xvf data.tar.xz -C $pkgdir || return 1
# Remove pinmanager. It's packaged separately (as `bit4id-pki-manager`).
rm -rf $pkgdir/usr/share/bit4id/x
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |