liberica-jdk-17-full-bin
The package downloads prebuilt Liberica JDK binaries from BellSoft's official domain (download.bell-sw.com), which is the vendor's legitimate distribution infrastructure; despite the static analyzer flag for a non-standard host, this is a normal and expected source for the software, and the downloads are verified via SHA1 checksums.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads prebuilt Liberica JDK binaries from BellSoft's official domain (download.bell-sw.com), which is the vendor's legitimate distribution infrastructure; despite the static analyzer flag for a non-standard host, this is a normal and expected source for the software, and the downloads are verified via SHA1 checksums.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:58
source_aarch64=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-aarch64-full.tar.gz)
PKGBUILD
1 offending line(s) highlighted# Maintainer: Bacteriostat <dev dot bacteria at aleeas dot com>
# Contributor: Jonathon Fernyhough <jonathon"m2x+dev>
# Contributor: Sam Guymer <sam at guymer dot me>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Guillaume ALAUX <guillaume@archlinux.org>
# This PKGBUILD adapted from zulu-11-bin
_pkgbase=liberica-jdk-full
_java_ver=17
_jdkname="liberica-jdk-${_java_ver}-full"
pkgname="${_jdkname}-bin"
pkgver=17.0.20.1+1
pkgrel=1
pkgdesc='BellSoft builds of OpenJDK are fully certified and 100% open source Java Development Kits (JDKs) for all Java development and production workloads. Full version includes OpenJFX.'
arch=(aarch64 armv7h armv8h x86_64)
url='https://bell-sw.com/'
license=('custom')
depends=('java-environment-common=3' 'java-runtime-common>=3' 'ca-certificates-utils')
optdepends=(ffmpeg freetype2 gtk2 gtk3 libnet)
provides=(
"java-environment=${pkgver/.*}"
"java-environment-openjdk=${pkgver/.*}"
"java-openjfx=${pkgver/.*}"
"java-runtime-headless=${pkgver/.*}"
"java-runtime-headless-openjdk=${pkgver/.*}"
"java-runtime=${pkgver/.*}"
"java-runtime-openjdk=${pkgver/.*}"
"liberica-jdk-17-bin=$pkgver"
"liberica-jdk-17-lite-bin=$pkgver"
"liberica-jre-17-bin=$pkgver"
"liberica-jre-17-full-bin=$pkgver"
"liberica-jdk-17-full-bin=$pkgver"
)
install=$_jdkname.install
backup=(etc/${_jdkname}/logging.properties
etc/${_jdkname}/management/jmxremote.access
etc/${_jdkname}/management/jmxremote.password.template
etc/${_jdkname}/management/management.properties
etc/${_jdkname}/net.properties
etc/${_jdkname}/security/java.policy
etc/${_jdkname}/security/java.security
etc/${_jdkname}/security/policy/README.txt
etc/${_jdkname}/security/policy/limited/default_US_export.policy
etc/${_jdkname}/security/policy/limited/default_local.policy
etc/${_jdkname}/security/policy/limited/exempt_local.policy
etc/${_jdkname}/security/policy/unlimited/default_US_export.policy
etc/${_jdkname}/security/policy/unlimited/default_local.policy
etc/${_jdkname}/sound.properties)
source=(
freedesktop-java.desktop.in
freedesktop-jconsole.desktop.in
freedesktop-jshell.desktop.in
)
source_aarch64=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-aarch64-full.tar.gz)
source_armv7h=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-arm32-vfp-hflt-full.tar.gz)
source_armv8h=(${source_armv7h[@]})
source_x86_64=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-amd64-full.tar.gz)
sha1sums=('7d79a8c26a125f55f52493df7dca2189c8521b3c'
'80a166acf99b351aa466452782a8faac3eca2d26'
'4b5684dc98370ecbff274195b42c3ce559226596')
sha1sums_aarch64=('150f006bc8511089330a03f99f16e5aeb1efe33d')
sha1sums_armv7h=('1aa13e6415a1d3d396a77e63d3bed5db170d0449')
sha1sums_armv8h=('1aa13e6415a1d3d396a77e63d3bed5db170d0449')
sha1sums_x86_64=('7990e6532c77859ceef58a6d3dea12469050e965')
# Upstream-provided
_jvmdir="/usr/lib/jvm/${_jdkname}"
prepare() {
for f in *.desktop.in; do
sed "s|@@VER@@|${pkgver/.*}|g; s|@@PATH@@|${_jvmdir}|g; s|@@ICON@@|${_jdkname}|g;" $f >> ${f/.in}
done
}
package() {
cd jdk-${pkgver/+*}-full
install -dm 755 "${pkgdir}/${_jvmdir}"
cp -a . "${pkgdir}/${_jvmdir}/"
# copied from java11-openjdk
# Conf
install -dm 755 "${pkgdir}/etc"
cp -r conf "${pkgdir}/etc/${_jdkname}"
rm -rf "${pkgdir}/${_jvmdir}/conf"
ln -s "/etc/${_jdkname}" "${pkgdir}/${_jvmdir}/conf"
# Legal
install -dm 755 "${pkgdir}/usr/share/licenses"
cp -r legal "${pkgdir}/usr/share/licenses/${_jdkname}"
rm -rf "${pkgdir}/${_jvmdir}/legal"
ln -s "/usr/share/licenses/${_jdkname}" "${pkgdir}/${_jvmdir}/legal"
# Man pages
for f in man/man1/*; do
install -Dm 644 "${f}" "${pkgdir}/usr/share/${f/\.1/-$_jdkname.1}"
done
rm -rf "${pkgdir}/${_jvmdir}/man"
ln -s /usr/share/man "${pkgdir}/${_jvmdir}/man"
# Link JKS keystore from ca-certificates-utils
rm -f "${pkgdir}/${_jvmdir}/lib/security/cacerts"
ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}/${_jvmdir}/lib/security/cacerts"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |