geant4-particlexsdata

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

The package downloads data files from CERN's official domain for Geant4, a legitimate scientific software project; despite the non-whitelisted host, the content is non-executable data used by the application, and the source is plausibly authentic and low-risk.

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 data files from CERN's official domain for Geant4, a legitimate scientific software project; despite the non-whitelisted host, the content is non-executable data used by the application, and the source is plausibly authentic and low-risk.

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:16 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-particlexsdata
3_varname='G4PARTICLEXSDATA'
4_dataname="G4PARTICLEXS"
5_foldername='G4PARTICLEXS'
6pkgver=4.2
7pkgrel=1
8pkgdesc="Data files for evaluated particle cross-sections on natural composition of elements"
9url="http://geant4.cern.ch/"
10arch=('any')
11license=('GPL')
12optdepends=('geant4>=11.4')
13conflicts=('geant4-neutronxsdata')
14provides=('geant4-neutronxsdata')
15install="${pkgname}.install"
16source=("https://cern.ch/geant4-data/datasets/${_dataname}.${pkgver}.tar.gz"
17 "${pkgname}.install")
18sha256sums=('c52bbf86aaa589b78aba80b16ab0adf1041ea300de5395865b97fcee6eb55851'
19 'bc476e1b0ebb6e5ea2f57398887ed3b2ec22e4b678be2f54edf439d6f3dc18a2')
20
21## Remove this if you want to keep an even smaller package
22## No need to wait for compression when just installing it.
23PKGEXT='.pkg.tar'
24
25package() {
26 install -d ${pkgdir}/usr/share/${pkgname}
27 mv ${srcdir}/${_dataname}${pkgver} ${pkgdir}/usr/share/${pkgname}
28
29 echo "export ${_varname}=/usr/share/${pkgname}/${_foldername}${pkgver}" > ${srcdir}/${pkgname}.sh
30 echo "setenv ${_varname} /usr/share/${pkgname}/${_foldername}${pkgver}" > ${srcdir}/${pkgname}.csh
31
32 install -d ${pkgdir}/etc/profile.d
33 install -m755 ${srcdir}/${pkgname}.sh ${pkgdir}/etc/profile.d/${pkgname}.sh
34 install -m755 ${srcdir}/${pkgname}.csh ${pkgdir}/etc/profile.d/${pkgname}.csh
35}
36

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