jasmin-compiler-bin
The package downloads prebuilt Debian binaries from a non-standard, project-specific repository (repo.formosa-crypto.org), which is not a widely recognized or audited distribution source, creating a supply-chain risk if the host were compromised or the binaries tampered with.
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:31
"${_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 (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads prebuilt Debian binaries from a non-standard, project-specific repository (repo.formosa-crypto.org), which is not a widely recognized or audited distribution source, creating a supply-chain risk if the host were compromised or the binaries tampered with.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Davide Carnemolla <herbrant@protonmail.com>
pkgname=jasmin-compiler-bin
pkgver=2026.03.2
pkgrel=2
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')
# Upstream ships fully stripped binaries: skip strip/debug package generation
options=('!strip' '!debug')
# 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=('4835908c5f00d13390cc41959ddaaf3cd2436be795e5bf7fdab4e888c49915c3' '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
# Shared libraries must be executable
chmod 755 "$pkgdir"/usr/lib/*.so
# Remove Debian-specific changelog files
rm -f "$pkgdir"/usr/share/doc/*/changelog.Debian* \
"$pkgdir"/usr/share/doc/*/changelog.gz
# Upstream ships an empty debian/copyright, the real license lives in /usr/doc
install -Dm644 "$pkgdir/usr/doc/jasmin/LICENSE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Move docs out of the non-standard /usr/doc
install -Dm644 "$pkgdir/usr/doc/jasmin/README.md" \
"$pkgdir/usr/share/doc/$_pkgname/README.md"
rm -rf "$pkgdir/usr/doc"
rm -f "$pkgdir/usr/share/doc/$_pkgname/copyright" \
"$pkgdir/usr/share/doc/libapron/copyright"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |