geant4-saiddata
maintainer donpicoro
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads data files from CERN's official domain for Geant4, a legitimate scientific software framework;虽主机不在白名单上,但属项目自有基础设施,且安装内容为非可执行数据文件,无代码执行风险。
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 framework;虽主机不在白名单上,但属项目自有基础设施,且安装内容为非可执行数据文件,无代码执行风险。
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-saiddata
3
_varname='G4SAIDXSDATA'
4
_dataname="G4SAIDDATA"
5
_foldername="G4SAIDDATA"
6
pkgver=2.0
7
pkgrel=2
8
pkgdesc="Data files from evaluated cross-sections in SAID data-base"
9
url="http://geant4.cern.ch/"
10
arch=('any')
11
license=('GPL')
12
optdepends=('geant4>=10.5')
13
install="${pkgname}.install"
14
source=("https://cern.ch/geant4-data/datasets/${_dataname}.${pkgver}.tar.gz"
15
"${pkgname}.install")
16
sha256sums=('1d26a8e79baa71e44d5759b9f55a67e8b7ede31751316a9e9037d80090c72e91'
17
'ac997eb4707c1b66ecb9ab9e2175fd4a53f4b5e856f93187975af1353e43e02f')
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 |