bit4id-ipki
The package downloads a prebuilt .deb from a non-whitelisted, project-specific repository host; while it extracts only a license file and creates symlinks, the unverifiable binary origin presents a supply-chain risk if the host were compromised.
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:17
source=('http://repository.infonotary.com/install/linux/DEBS22/pool/non-free/b/bit4id-ipki/'$_file_name)
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb from a non-whitelisted, project-specific repository host; while it extracts only a license file and creates symlinks, the unverifiable binary origin presents a supply-chain risk if the host were compromised.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Slavi Pantaleev <slavi at devture.com>
pkgname=bit4id-ipki
pkgver=1.4.10.542
pkgrel=4
pkgdesc="InfoNotary add-on for the Bit4ID Universal Middleware (enables support for InfoNotary smart cards)"
arch=('any')
license=('unknown')
url="http://www.bit4id.com/"
install=$pkgname.install
# This package used to ship its own (older) copy of the library, which conflicted with bit4id-xpki.
# The library in bit4id-xpki supports InfoNotary cards too, as long as InfoNotary's token license file is present,
# so we only ship that (and InfoNotary's compatibility symlinks) on top of bit4id-xpki.
depends=('bit4id-xpki')
_file_name=$pkgname'_'$pkgver'-1_amd64.deb'
source=('http://repository.infonotary.com/install/linux/DEBS22/pool/non-free/b/bit4id-ipki/'$_file_name)
sha256sums=('d5747b2fe4a75fa9b810bd13683fa2703a121808bccf6c8640c74e9b135f3bf4')
package() {
bsdtar -xOf "$_file_name" data.tar.xz | bsdtar -xf - -C "$srcdir" ./usr/lib/bit4id/libbit4xpki.so.rc
install -Dm644 -t "$pkgdir/usr/lib/bit4id/libbit4xpki.so.rc" "$srcdir/usr/lib/bit4id/libbit4xpki.so.rc/incardtspinpad_00000401.lic"
ln -s bit4id/libbit4xpki.so "$pkgdir/usr/lib/libbit4ipki.so"
ln -s bit4id/libbit4xpki.so "$pkgdir/usr/lib/libbit4p11.so.0"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |