jna-bin

LOW
maintainer costin 0 votes scanned 2026-10-30 09:57:53.274557
View on AUR
Why flagged

Downloads prebuilt JARs from Maven Central (repo1.maven.org), which is the official, widely-trusted Java artifact repository, with pinned SHA256 checksums; the JARs are installed as data/library files, not executed directly by the build process, making this a low-risk package despite being a prebuilt binary from a non-whitelisted host.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): Downloads prebuilt JARs from Maven Central (repo1.maven.org), which is the official, widely-trusted Java artifact repository, with pinned SHA256 checksums; the JARs are installed as data/library files, not executed directly by the build process, making this a low-risk package despite being a prebuilt binary from a non-whitelisted host.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:13 "https://repo1.maven.org/maven2/net/java/dev/jna/jna/${pkgver}/jna-${pkgver}.jar"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Costin Botescu <costin.botescu@gmail.com>
2pkgname=jna-bin
3pkgver=5.19.1
4pkgrel=1
5pkgdesc="Java Native Access (jna.jar) and cross-platform mappings (jna-platform.jar), prebuilt from Maven Central"
6arch=('any')
7url='https://github.com/java-native-access/jna'
8license=('LGPL-2.1-or-later' 'Apache-2.0')
9depends=('java-runtime')
10provides=("jna=${pkgver}" "jna-platform=${pkgver}")
11conflicts=('jna' 'jna-platform')
12source=(
13 "https://repo1.maven.org/maven2/net/java/dev/jna/jna/${pkgver}/jna-${pkgver}.jar"
14 "https://repo1.maven.org/maven2/net/java/dev/jna/jna-platform/${pkgver}/jna-platform-${pkgver}.jar"
15 'https://raw.githubusercontent.com/java-native-access/jna/master/AL2.0'
16 'https://raw.githubusercontent.com/java-native-access/jna/master/LGPL2.1'
17)
18sha256sums=('4fb141dd8ef6b0585ffceea4bc49602fbc6312fa977e2c488794ea3e6aafecae'
19 '3b3864f5b449e9c3c24b16861524b622b086563f44e0cd8384c8efc5a6052f82'
20 '0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594'
21 'eea173a556abac0370461e57e12aab266894ea6be3874c2be05fd87871f75449')
22
23package() {
24 install -Dm644 "${srcdir}/jna-${pkgver}.jar" "${pkgdir}/usr/share/java/jna/jna.jar"
25 install -Dm644 "${srcdir}/jna-platform-${pkgver}.jar" "${pkgdir}/usr/share/java/jna-platform.jar"
26 install -Dm644 "${srcdir}/AL2.0" "${pkgdir}/usr/share/licenses/${pkgname}/AL2.0"
27 install -Dm644 "${srcdir}/LGPL2.1" "${pkgdir}/usr/share/licenses/${pkgname}/LGPL2.1"
28}
29

Scan history

Scanned at (UTC)SeverityRules
2026-10-30 09:57:53 Low 3
2026-10-30 09:55: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