libjasmin-easycrypt-bin

MEDIUM
maintainer Herbrant 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt Debian binary from a non-standard, project-specific repository domain (repo.formosa-crypto.org), which is not on common trust whitelists and could allow supply-chain tampering with an unverifiable executable artifact.

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:24 "${_pkgname}_${_debver}_amd64.deb::https://repo.formosa-crypto.org/debian/pool/main/j/jasmin-compiler/${_pkgname}_${_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 a prebuilt Debian binary from a non-standard, project-specific repository domain (repo.formosa-crypto.org), which is not on common trust whitelists and could allow supply-chain tampering with an unverifiable executable artifact.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Davide Carnemolla <herbrant@protonmail.com>
2
3pkgname=libjasmin-easycrypt-bin
4pkgver=2026.03.2
5pkgrel=2
6pkgdesc="EasyCrypt libraries used for verifying Jasmin implementations"
7arch=('x86_64')
8url="https://github.com/jasmin-lang/jasmin"
9license=('MIT')
10
11# Runtime dependencies available in official repositories
12depends=()
13
14# Tools required to extract the Debian package
15makedepends=('binutils' 'tar')
16
17# Debian packages
18_pkgname=libjasmin-easycrypt
19
20# Debian package version (may include dashes, unlike pkgver)
21_debver="${pkgver}-1"
22
23source=(
24 "${_pkgname}_${_debver}_amd64.deb::https://repo.formosa-crypto.org/debian/pool/main/j/jasmin-compiler/${_pkgname}_${_debver}_amd64.deb"
25 "LICENSE-${pkgver}::https://raw.githubusercontent.com/jasmin-lang/jasmin/v${pkgver}/LICENSE"
26)
27
28sha256sums=('69259f903a31470d4f5f9f8b96af78ce3e24aea76b36b1e355e8dad6a5d0aa48'
29 'c7232c2cda11e4270104f2fd4bfbc7b368f536ad58271a9ad2775d1000aefc05')
30
31package() {
32 cd "$srcdir"
33
34 # Extract the Debian package
35 ar x "${_pkgname}_${_debver}_amd64.deb"
36
37 # Extract data archive (format may vary)
38 if [ -f data.tar.xz ]; then
39 tar -xf data.tar.xz -C "$pkgdir"
40 elif [ -f data.tar.gz ]; then
41 tar -xf data.tar.gz -C "$pkgdir"
42 elif [ -f data.tar.zst ]; then
43 tar -xf data.tar.zst -C "$pkgdir"
44 fi
45
46 # The Debian copyright file is empty, so ship the upstream MIT license text
47 install -Dm644 "$srcdir/LICENSE-${pkgver}" \
48 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
49
50 # Drop the Debian documentation directory (empty copyright + changelog)
51 rm -rf "$pkgdir/usr/share/doc"
52}
53

Scan history

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

Report a package

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

0 / 4000
Your suggestion