jank-bin
maintainer Flinner
· 0 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt binary tarball from a non-standard, non-whitelisted host (cache.jank-lang.org) with an unverifiable checksum (SKIP), creating a supply-chain risk if the host is compromised or malicious.
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:16
source=('https://cache.jank-lang.org/arch/jank-arch-x86-64.tar.gz')
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt binary tarball from a non-standard, non-whitelisted host (cache.jank-lang.org) with an unverifiable checksum (SKIP), creating a supply-chain risk if the host is compromised or malicious.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Flinner Yuu <flinner @ tilde DOT team>
2
# Maintainer: Jeaye Wilkerson <jeaye @ jank-lang DOT org>
3
pkgname='jank-bin'
4
# package is always version 0.1-1 (until stable release). So I use date of the tarball.
5
pkgver=20250914
6
pkgrel=1
7
pkgdesc="The native Clojure dialect hosted on LLVM with seamless C++ interop."
8
arch=('x86_64')
9
url="https://jank-lang.org/"
10
license=('MPL-2.0')
11
options=(!strip)
12
depends=('gcc' 'libzip' 'lbzip2' 'libxml2' 'libedit' 'python3' 'boost')
13
makedepends=()
14
provides=("${pkgname%-bin}")
15
conflicts=("${pkgname%-bin}")
16
source=('https://cache.jank-lang.org/arch/jank-arch-x86-64.tar.gz')
17
sha256sums=('SKIP')
18
19
pkgver() {
20
local last_modified=$(curl -sI --head "https://cache.jank-lang.org/arch/jank-arch-x86-64.tar.gz" | grep -i '^Last-Modified:' )
21
22
if [[ -n "$last_modified" ]]; then
23
# Extract date part: "Sun, 14 Sep 2025 02:22:18 GMT"
24
# Use LC_TIME=C to ensure English month names are parsed
25
LC_TIME=C date -d "${last_modified#*Last-Modified: }" +"%Y%m%d" 2>/dev/null || echo "$(date +%Y%m%d)"
26
else
27
# Fallback: today's date if header missing
28
date +%Y%m%d
29
fi
30
}
31
32
package() {
33
install -d "$pkgdir/usr"
34
cp -a "$srcdir/inst/usr/local/." "$pkgdir/usr/"
35
}
36
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 |