geant4-radioactivedata
maintainer donpicoro
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads data files from a CERN-hosted domain used by the Geant4 project, which is the official and plausible source for this data; the files are not executable, so the worst case of a swapped source is limited to data corruption, 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 data files from a CERN-hosted domain used by the Geant4 project, which is the official and plausible source for this data; the files are not executable, so the worst case of a swapped source is limited to data corruption, 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>
2
pkgname=geant4-radioactivedata
3
pkgver=6.1.2
4
pkgrel=1
5
_varname='G4RADIOACTIVEDATA'
6
_dataname="G4RadioactiveDecay"
7
_foldername="RadioactiveDecay"
8
pkgdesc="Data files for radioactive decay hadronic processes"
9
url="http://geant4.cern.ch/"
10
arch=('any')
11
license=('GPL')
12
optdepends=('geant4>=11.3')
13
install="${pkgname}.install"
14
source=("https://cern.ch/geant4-data/datasets/${_dataname}.${pkgver}.tar.gz"
15
"${pkgname}.install")
16
sha256sums=('a40d7e3ebc64d35555c4a49d0ff1e0945cd605d84354d053121293914caea13a'
17
'1d3efc465b14ca90a5770ad2e35525ae244503a91a7f57d3dbecd0839dc25cf3')
18
19
## Remove this if you want to keep an even smaller package
20
## No need to wait for compression when just installing it.
21
PKGEXT='.pkg.tar'
22
23
package() {
24
install -d ${pkgdir}/usr/share/${pkgname}
25
mv ${srcdir}/${_foldername}${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) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |