libjasmin-easycrypt-bin
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:24
"${_pkgname}_${_debver}_amd64.deb::https://repo.formosa-crypto.org/debian/pool/main/j/jasmin-compiler/${_pkgname}_${_debver}_amd64.deb"
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt Debian binary package from repo.formosa-crypto.org, which is not a well-known official distribution channel. The Jasmin compiler project (jasmin-lang) is a legitimate academic/research project, and formosa-crypto.org is associated with the Formosa Project (a research initiative for formally verified cryptographic software), making this a plausible official or semi-official host. However, it is not the primary upstream GitHub release host, and the package installs EasyCrypt library files (likely compiled OCaml or similar) extracted directly from a Debian binary without any source build. A sha256sum is provided, which mitigates tampering risk for the specific artifact, but does not address the trustworthiness of the host itself. Since this installs executed/loaded library code from a non-primary, non-mainstream host, the medium rating is appropriate — it is not clearly malicious, but represents a real supply-chain concern if the host were compromised.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Davide Carnemolla <herbrant@protonmail.com>
pkgname=libjasmin-easycrypt-bin
pkgver=2026.03.0
pkgrel=1
pkgdesc="EasyCrypt libraries used for verifying Jasmin implementations"
arch=('x86_64')
url="https://github.com/jasmin-lang/jasmin"
license=('MIT')
# Runtime dependencies available in official repositories
depends=()
# Tools required to extract the Debian package
makedepends=('binutils' 'tar')
# Debian packages
_pkgname=libjasmin-easycrypt
# Debian package version (may include dashes, unlike pkgver)
_debver="${pkgver}-1"
source=(
"${_pkgname}_${_debver}_amd64.deb::https://repo.formosa-crypto.org/debian/pool/main/j/jasmin-compiler/${_pkgname}_${_debver}_amd64.deb"
)
sha256sums=('2ba9378c3c4e3310732b72c9b7ff04ff73938196568ad2eaeae86b58a5d9adb0')
package() {
cd "$srcdir"
# Extract the Debian package
ar x "${_pkgname}_${_debver}_amd64.deb"
# Extract data archive (format may vary)
if [ -f data.tar.xz ]; then
tar -xf data.tar.xz -C "$pkgdir"
elif [ -f data.tar.gz ]; then
tar -xf data.tar.gz -C "$pkgdir"
elif [ -f data.tar.zst ]; then
tar -xf data.tar.zst -C "$pkgdir"
fi
# Install license or copyright if present
if [ -f "$pkgdir/usr/share/doc/$_pkgname/copyright" ]; then
install -Dm644 \
"$pkgdir/usr/share/doc/$_pkgname/copyright" \
"$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
fi
# Remove Debian-specific changelog files
if [ -d "$pkgdir/usr/share/doc/$_pkgname" ]; then
rm -f "$pkgdir/usr/share/doc/$_pkgname/changelog.Debian"*
fi
}
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 |