native-image-jdk11-ee-bin
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:12
source_x86_64=("${pkgname_}-installable-svmee-java${java_}-linux-amd64-${pkgver}.jar::https://web.archive.org/web/20200228083230/https%3A%2F%2Fdownload.oracle.com%2Fotn%2Futilities_drivers%2Foracle-labs%2Fnative-image-installable-svm-svmee-java11-linux-amd64-20.0.0.jar%3FAuthParam%3D1582878853_656f39126124eddc70c07568cddaf024")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The source is a prebuilt binary JAR (GraalVM Enterprise Edition native-image component) that gets installed directly into the JVM directory and executed as part of the GraalVM toolchain. The concern is real but nuanced: (1) Oracle requires authentication to download this file, so the maintainer archived it on web.archive.org as a workaround — this is a common AUR pattern for login-gated Oracle downloads; (2) web.archive.org is a well-known, reputable archival service, not a personal or sketchy host, and the Wayback Machine does not allow content modification after archival; (3) a sha256 checksum is provided and verified, which substantially mitigates substitution risk; (4) however, the file is a prebuilt binary (JAR containing native executables/libraries) from an unofficial redistribution point rather than directly from Oracle, and it is installed into the JVM directory where it will be executed. The combination of: prebuilt binary content, non-official distribution host (even if reputable), and Oracle EE license terms (which prohibit redistribution) keeps this at MEDIUM. The cheaper model's reasoning is directionally correct — this is a genuine supply-chain concern for executed binary content from a non-official host — though the risk is mitigated by the checksum and web.archive.org's immutability guarantees.
PKGBUILD
1 offending line(s) highlightedjava_=11
pkgname_=native-image
pkgname="${pkgname_}-jdk${java_}-ee-bin"
pkgver=20.0.0
pkgrel=1
pkgdesc="(Enterprise Edition) Plugin to turn GraalVM-based applications into native binary images (Java ${java_} version)"
arch=('x86_64')
url='https://github.com/oracle/graal'
license=('custom')
depends=("jdk${java_}-graalvm-ee-bin")
# Oracle requires login to download. Downloaded from https://www.oracle.com/tools/graalvm-enterprise-edition.html
source_x86_64=("${pkgname_}-installable-svmee-java${java_}-linux-amd64-${pkgver}.jar::https://web.archive.org/web/20200228083230/https%3A%2F%2Fdownload.oracle.com%2Fotn%2Futilities_drivers%2Foracle-labs%2Fnative-image-installable-svm-svmee-java11-linux-amd64-20.0.0.jar%3FAuthParam%3D1582878853_656f39126124eddc70c07568cddaf024")
sha256sums_x86_64=('57086123a95f1e9d4e67b92f830bad9325431908c69a40ef10f28ed586d8bd35')
package() {
local file eq permissions mode name target
mkdir -p "$pkgdir/usr/lib/jvm/java-${java_}-graalvm-ee/"
cp -a -t "$pkgdir/usr/lib/jvm/java-${java_}-graalvm-ee/" lib/ LICENSE_NATIVEIMAGE.txt
printf '\n' >> META-INF/permissions
while read -r file eq permissions; do
if [[ $eq != '=' ]]; then
printf >&2 'second word should be "=": %s %s %s\n' "$file" "$eq" "$permissions"
return 1
fi
case $permissions in
'rw-------') mode=600;;
'rw-r--r--') mode=644;;
'rw-rw-r--') mode=664;;
'rwxr-xr-x') mode=755;;
'rwxrwxr-x') mode=775;;
'rwxrwxrwx') continue;; # symbolic link
*)
printf >&2 'unknown permissions: %s\n' "$permissions"
return 1
;;
esac
chmod "$mode" -- "$pkgdir/usr/lib/jvm/java-${java_}-graalvm-ee/$file"
done < META-INF/permissions
printf '\n' >> META-INF/symlinks
while read -r name eq target; do
if [[ $eq != '=' ]]; then
printf >&2 'second word should be "=": %s %s %s\n' "$name" "$eq" "$target"
return 1
fi
mkdir -p -- "$pkgdir/usr/lib/jvm/java-${java_}-graalvm-ee/$(dirname -- "$name")"
ln -s -- "$target" "$pkgdir/usr/lib/jvm/java-${java_}-graalvm-ee/$name"
done < META-INF/symlinks
install -DTm644 LICENSE_NATIVEIMAGE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
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 |