jasmin-compiler-bin
The package downloads prebuilt Debian binaries from a non-standard, project-specific domain (repo.formosa-crypto.org), which is not a widely recognized or official upstream source like GitHub; while the binaries are verified with checksums, the source is not the project's primary distribution channel, creating a supply-chain risk if the host is compromised or mismanaged.
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 domain (repo.formosa-crypto.org), which is not a widely recognized or official upstream source like GitHub; while the binaries are verified with checksums, the source is not the project's primary distribution channel, creating a supply-chain risk if the host is compromised or mismanaged.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Davide Carnemolla <herbrant@protonmail.com>
pkgname=jasmin-compiler-bin
pkgver=2026.09.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')
# 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=('ec484fe4ee6757cc06895ce778b3e061e934c6679b8de6e802f76e63acf3ec8b' '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-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 |