jasmin-compiler-bin

MEDIUM
maintainer Herbrant 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

Medium source=() URL on a non-standard host 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"
Medium AI review 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
1# Maintainer: Davide Carnemolla <herbrant@protonmail.com>
2
3pkgname=jasmin-compiler-bin
4pkgver=2026.09.0
5pkgrel=1
6pkgdesc="Compiler for the Jasmin language for high-assurance and high-speed cryptography"
7arch=('x86_64')
8url="https://github.com/jasmin-lang/jasmin"
9license=('MIT')
10
11depends=(
12 'ocaml'
13 'gmp'
14 'mpfr'
15 'ppl'
16)
17
18makedepends=('binutils' 'tar')
19
20# Upstream ships fully stripped binaries: skip strip/debug package generation
21options=('!strip' '!debug')
22
23# Debian packages
24_pkgname="jasmin-compiler"
25
26# Debian package versions
27_jasmin_debver="${pkgver}-1"
28_apron_debver="0.9.15-1"
29
30source=(
31 "${_pkgname}_${_jasmin_debver}_amd64.deb::https://repo.formosa-crypto.org/debian/pool/main/j/${_pkgname}/${_pkgname}_${_jasmin_debver}_amd64.deb"
32 "libapron_${_apron_debver}_amd64.deb::https://repo.formosa-crypto.org/debian/pool/main/a/apron/libapron_${_apron_debver}_amd64.deb"
33)
34
35sha256sums=('ec484fe4ee6757cc06895ce778b3e061e934c6679b8de6e802f76e63acf3ec8b' 'c32aa0507c4afa33063bc8bb7bf64c1782684b723301ae35061736363a4ee555')
36
37package() {
38 cd "$srcdir"
39
40 # Extract Jasmin compiler
41 ar x "${_pkgname}_${_jasmin_debver}_amd64.deb"
42 for f in data.tar.*; do
43 [ -f "$f" ] && tar -xf "$f" -C "$pkgdir"
44 done
45
46 # Extract Apron libraries
47 ar x "libapron_${_apron_debver}_amd64.deb"
48 for f in data.tar.*; do
49 [ -f "$f" ] && tar -xf "$f" -C "$pkgdir"
50 done
51
52 # Shared libraries must be executable
53 chmod 755 "$pkgdir"/usr/lib/*.so
54
55 # Remove Debian-specific changelog files
56 rm -f "$pkgdir"/usr/share/doc/*/changelog.Debian* \
57 "$pkgdir"/usr/share/doc/*/changelog.gz
58
59 # Upstream ships an empty debian/copyright, the real license lives in /usr/doc
60 install -Dm644 "$pkgdir/usr/doc/jasmin/LICENSE" \
61 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
62
63 # Move docs out of the non-standard /usr/doc
64 install -Dm644 "$pkgdir/usr/doc/jasmin/README.md" \
65 "$pkgdir/usr/share/doc/$_pkgname/README.md"
66 rm -rf "$pkgdir/usr/doc"
67 rm -f "$pkgdir/usr/share/doc/$_pkgname/copyright" \
68 "$pkgdir/usr/share/doc/libapron/copyright"
69}
70

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion