geant4-ledata
maintainer donpicoro
· 4 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 for Geant4, a legitimate scientific simulation toolkit; the source is non-executable data used by the software, and despite the non-whitelisted host, the impact of a compromised source 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 data files from a CERN-hosted domain for Geant4, a legitimate scientific simulation toolkit; the source is non-executable data used by the software, and despite the non-whitelisted host, the impact of a compromised source 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>
2
pkgname=geant4-ledata
3
_varname='G4LEDATA'
4
_dataname="G4EMLOW"
5
_foldername='G4EMLOW'
6
pkgver=8.8
7
pkgrel=1
8
pkgdesc="Data files for low energy electromagnetic processes"
9
url="http://geant4.cern.ch/"
10
arch=('any')
11
license=('GPL')
12
optdepends=('geant4>=11.4')
13
install="${pkgname}.install"
14
source=("https://cern.ch/geant4-data/datasets/${_dataname}.${pkgver}.tar.gz"
15
"${pkgname}.install")
16
sha256sums=('b60cfd63176f5d16107e2a25b35b235155032d1735d749670ca50fede12624cf'
17
'35e6e8b298b87976fbc01d933691940b4f95a8e6643bc81f9935f07b0ca8b08c')
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}/${_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) | 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 |