geant4-neutronhpdata

LOW
maintainer donpicoro 3 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a data file from a CERN-hosted domain for Geant4, which is legitimate and expected; the data is not executable, so even if the host were compromised, the risk is limited to data tampering, not code execution.

Triggered rules

Low AI review downgraded a static finding 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 a data file from a CERN-hosted domain for Geant4, which is legitimate and expected; the data is not executable, so even if the host were compromised, the risk is limited to data tampering, not code execution.

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:14 source=("https://cern.ch/geant4-data/datasets/${_dataname}.${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: L.G. Sarmiento (Pico) <Luis.Sarmientop-ala-nuclear.lu.se>
2pkgname=geant4-neutronhpdata
3_varname='G4NEUTRONHPDATA'
4_dataname="G4NDL"
5_foldername='G4NDL'
6pkgver=4.7
7pkgrel=1
8pkgdesc="Neutron data files with thermal cross sections"
9url="http://geant4.cern.ch/"
10arch=('any')
11license=('GPL')
12optdepends=('geant4>=11.1')
13install="${pkgname}.install"
14source=("https://cern.ch/geant4-data/datasets/${_dataname}.${pkgver}.tar.gz"
15 "${pkgname}.install")
16sha256sums=('7e7d3d2621102dc614f753ad928730a290d19660eed96304a9d24b453d670309'
17 'd3cd3c831d47dad0deeb463e62a3f087258dab7ba38759c1cbae70e6cecf8e6d')
18
19## Remove this if you want to keep an even smaller package
20## No need to wait for compression when just installing it.
21PKGEXT='.pkg.tar'
22
23package() {
24 install -d ${pkgdir}/usr/share/${pkgname}
25 mv ${srcdir}/${_dataname}${pkgver} ${pkgdir}/usr/share/${pkgname}
26
27 echo "export ${_varname}=/usr/share/${pkgname}/${_foldername}${pkgver}" > ${srcdir}/${pkgname}.sh
28 echo "setenv ${_varname} /usr/share/${pkgname}/${_foldername}${pkgver}" > ${srcdir}/${pkgname}.csh
29
30 install -d ${pkgdir}/etc/profile.d
31 install -m755 ${srcdir}/${pkgname}.sh ${pkgdir}/etc/profile.d/${pkgname}.sh
32 install -m755 ${srcdir}/${pkgname}.csh ${pkgdir}/etc/profile.d/${pkgname}.csh
33}
34

Scan history

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

Report a package

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

0 / 4000
Your suggestion