radia
maintainer chrisjbillington
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a versioned source tarball from a plausible project-owned subdomain (ftp.esrf.fr) for building a Mathematica addon; the host is not on the standard whitelist but is a legitimate research facility's domain, and the content is a self-contained application install, not executed code or remote payload.
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 versioned source tarball from a plausible project-owned subdomain (ftp.esrf.fr) for building a Mathematica addon; the host is not on the standard whitelist but is a legitimate research facility's domain, and the content is a self-contained application install, not executed code or remote payload.
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:10
source=("http://ftp.esrf.fr/pub/InsertionDevices/RADIA/V$pkgver/Linux/Mathematica10/Radia_${pkgver//./_}_linux2.6_x64_mma10.tgz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Chris Billington <chrisjbillington@gmail.com>
2
pkgname=radia
3
pkgver=4.31
4
pkgrel=2
5
pkgdesc="Mathematica addon for magnetostatics calculations"
6
arch=('x86_64')
7
url="http://www.esrf.eu/Accelerators/Groups/InsertionDevices/Software/Radia"
8
license=('custom')
9
depends=('mathematica')
10
source=("http://ftp.esrf.fr/pub/InsertionDevices/RADIA/V$pkgver/Linux/Mathematica10/Radia_${pkgver//./_}_linux2.6_x64_mma10.tgz")
11
sha512sums=("a459730a63a067f42d0df8a7472caa00979f15c307c49d17cb658838e02fa0cebe47b1bc80f3e438dc021917b4c2ddc8c251867655365346ed3dc0890c7fa567")
12
13
package() {
14
installdir="${pkgdir}/opt/Mathematica/AddOns/Applications/"
15
mkdir -p "${installdir}"
16
cp -R -d --preserve=timestamps "${srcdir}/Radia" "${installdir}"
17
chmod -R 755 "${installdir}"
18
install -Dm644 "${srcdir}/Radia/CopyRight.txt" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
19
}
20
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 |