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>
3pkgname='jank-bin'
4# package is always version 0.1-1 (until stable release). So I use date of the tarball.
5pkgver=20250914
6pkgrel=1
7pkgdesc="The native Clojure dialect hosted on LLVM with seamless C++ interop."
8arch=('x86_64')
9url="https://jank-lang.org/"
10license=('MPL-2.0')
11options=(!strip)
12depends=('gcc' 'libzip' 'lbzip2' 'libxml2' 'libedit' 'python3' 'boost')
13makedepends=()
14provides=("${pkgname%-bin}")
15conflicts=("${pkgname%-bin}")
16source=('https://cache.jank-lang.org/arch/jank-arch-x86-64.tar.gz')
17sha256sums=('SKIP')
18
19pkgver() {
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
32package() {
33 install -d "$pkgdir/usr"
34 cp -a "$srcdir/inst/usr/local/." "$pkgdir/usr/"
35}
36

Scan history

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

Report a package

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

0 / 4000
Your suggestion