jdk8-docs
The package downloads official Oracle JDK and JavaFX documentation archives from Oracle's own domain; despite the static analyzer flag for a non-standard host, the sources are legitimate project documentation, not executable code, and the worst case of a swapped source would be tampered documentation, not code execution.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads official Oracle JDK and JavaFX documentation archives from Oracle's own domain; despite the static analyzer flag for a non-standard host, the sources are legitimate project documentation, not executable code, and the worst case of a swapped source would be tampered documentation, not code execution.
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:29
"https://download.oracle.com/otn-pub/java/jdk/${pkgver}-${_buildjd}/${_hashjd}/jdk-${pkgver}-docs-all.zip"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Chris G. <chris-git@gmx.com>
# Contributor: Chris Severance aur.severach AatT spamgourmet.com
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Det
# Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
set -u
_major='8'
pkgname="jdk${_major}-docs"
_minorjd='401'
_buildjd='b10'
_hashjd='4d245f941845490c91360409ecffb3b4'
_minorfx='401'
_buildfx='b10'
_hashfx='4d245f941845490c91360409ecffb3b4'
pkgver="${_major}u${_minorjd}"
pkgverfx="${_major}u${_minorfx}"
pkgrel='1'
pkgdesc="Documentation for Oracle Java ${_major} Development Kit and JavaFX ${_major}"
arch=('any')
url='https://www.oracle.com/java/technologies/javase-jdk8-doc-downloads.html'
license=('custom:Oracle')
depends=("java-environment>=${_major}")
options=('!strip')
_srcfil="jdk-${pkgver}-docs-all.zip"
source=(
"https://download.oracle.com/otn-pub/java/jdk/${pkgver}-${_buildjd}/${_hashjd}/jdk-${pkgver}-docs-all.zip"
"https://download.oracle.com/otn-pub/java/javafx/${_major}.0.${_minorfx}-${_buildfx}/${_hashfx}/javafx-${pkgverfx}-apidocs.zip"
'LICENSE-Documentation.txt'
'LICENSE-Oracle-Legal-Notices.txt'
)
# from oracle-sqldeveloper
DLAGENTS+=("manual::${startdir:-}/readme.sh %o %u")
source[0]="manual://${_srcfil}"
if [ ! -z "${HOME:-}" ]; then # block mksrcinfo
XDG_DOWNLOAD_DIR="$(xdg-user-dir DOWNLOAD 2>/dev/null)" || :
if [ -z "${XDG_DOWNLOAD_DIR}" ]; then
XDG_DOWNLOAD_DIR=~/'Downloads'
fi
if [ -s "${XDG_DOWNLOAD_DIR}/${_srcfil}" ] && [ ! -e "${_srcfil}" ]; then
if type msg > /dev/null 2>&1; then
set +u
msg "Scooping files from ${XDG_DOWNLOAD_DIR}" 1>&2
msg2 "${_srcfil}" 1>&2
set -u
ln -sr "${XDG_DOWNLOAD_DIR}/${_srcfil}"
fi
fi
fi
unset _srcfil
unset XDG_DOWNLOAD_DIR
sha256sums=('ca37a49cec8ea4171743d8802c30600742a668abb837de488afdcd99b8e1301f'
'6618f37f41cb6feb95eba7333e2395ee35a6f1fb2517ed1da95a98e25bb4ce00'
'14dc1953902010f7b48891e795183b39c048b19881815eec6a57cf3d62631ab7'
'99e666088f11baacfe1816747e69441a7002e024ac0d7a4ca4092c6cb2658c9f')
sha512sums=('613e55927872d2f3aaabf70d73ad2f206dcada5bf7a652ccc833d947d0ec88b0ab2d6fea5f80ce4fd1c2c3bb2dfc9f63f7931a72da6788df5a65c0eca83126c7'
'fa6a7ca1acbd42c8b9bf82ab2c8f072bd46a71005d684c4e2c34be5b331c85556034e935f87ab3c140dd1baddcc2ed607f3a10c2d76daad9cea562ca0cc2eaca'
'16ec94fa0739547af03192be3bc4ba74888fc0f3c1fefb2a1be3e0801f52f62af438dab91669a1598da30eb45e0ce2d9694e5fc106c77a42411828c4b29cf751'
'5137995bf26bbae92d5e33107a1c90ec88ea67bd3b22d28166e3c47cece04c67685f012fec2c61e41be86e07842b93ec1f72a4e05d47111b0f21de060c3b09ad')
DLAGENTS=('https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -b oraclelicense=a -o %o %u')
package() {
set -u
# Create Dirs
install -d "${pkgdir}/usr/share/doc/java${_major}/javafx/"
# Install
mv docs/* "${pkgdir}/usr/share/doc/java${_major}/"
mv api "${pkgdir}/usr/share/doc/java${_major}/javafx/"
# License
install -Dpm644 'LICENSE-Oracle-Legal-Notices.txt' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
set +u
}
set +u
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 |