jasmin-compiler-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:28
"${_pkgname}_${_jasmin_debver}_amd64.deb::https://repo.formosa-crypto.org/debian/pool/main/j/${_pkgname}/${_pkgname}_${_jasmin_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 and installs prebuilt binary .deb packages (a compiler and a library) from repo.formosa-crypto.org, which is the official Debian repository maintained by the Formosa Crypto project (the upstream maintainers of the Jasmin compiler). This is not a random personal host — Formosa Crypto is a well-known academic/industry cryptography project and this appears to be their official package distribution channel. However, it is still a non-mainstream, project-specific binary host rather than a widely audited mirror (like GitHub Releases or a major distro repo), and the packages are executed binaries/libraries installed directly into the system. The sha256sums are pinned, which mitigates substitution risk at download time, but does not protect against a compromised upstream host at the time the sums were recorded. The risk is a real but low-probability supply-chain concern: if repo.formosa-crypto.org were compromised, malicious binaries could be distributed. This fits the medium category — prebuilt binaries from an unofficial (though plausibly legitimate) host with pinned checksums.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Davide Carnemolla <herbrant@protonmail.com>
pkgname=jasmin-compiler-bin
pkgver=2026.03.0
pkgrel=1
pkgdesc="Compiler for the Jasmin language for high-assurance and high-speed cryptography"
arch=('x86_64')
url="https://github.com/jasmin-lang/jasmin"
license=('MIT')
depends=(
'ocaml'
'gmp'
'mpfr'
'ppl'
)
makedepends=('binutils' 'tar')
# Debian packages
_pkgname="jasmin-compiler"
# Debian package versions
_jasmin_debver="${pkgver}-1"
_apron_debver="0.9.15-1"
source=(
"${_pkgname}_${_jasmin_debver}_amd64.deb::https://repo.formosa-crypto.org/debian/pool/main/j/${_pkgname}/${_pkgname}_${_jasmin_debver}_amd64.deb"
"libapron_${_apron_debver}_amd64.deb::https://repo.formosa-crypto.org/debian/pool/main/a/apron/libapron_${_apron_debver}_amd64.deb"
)
sha256sums=('419e0287e6ae4188552288e837ecd03e926a8cd19910778bacda40507e87b7a5' 'c32aa0507c4afa33063bc8bb7bf64c1782684b723301ae35061736363a4ee555')
package() {
cd "$srcdir"
# Extract Jasmin compiler
ar x "${_pkgname}_${_jasmin_debver}_amd64.deb"
for f in data.tar.*; do
[ -f "$f" ] && tar -xf "$f" -C "$pkgdir"
done
# Extract Apron libraries
ar x "libapron_${_apron_debver}_amd64.deb"
for f in data.tar.*; do
[ -f "$f" ] && tar -xf "$f" -C "$pkgdir"
done
# Remove Debian-specific changelog files
if [ -d "$pkgdir/usr/share/doc/$_pkgname" ]; then
rm -f "$pkgdir/usr/share/doc/$_pkgname/changelog.Debian"*
fi
# Install license file 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
}
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 |