madgraph-pythia8-interface
The source is a tarball from a plausible project-related academic domain (ucl.ac.be) hosting a physics software interface; it is not a prebuilt executable or obfuscated payload, and the package builds from source with provided checksums.
Triggered rules
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 source is a tarball from a plausible project-related academic domain (ucl.ac.be) hosting a physics software interface; it is not a prebuilt executable or obfuscated payload, and the package builds from source with provided checksums.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:17
"http://madgraph.phys.ucl.ac.be/Downloads/MG5aMC_PY8_interface/MG5aMC_PY8_interface_V${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: ReneganRonin <renegan.ronin@gmail.com>
pkgname=madgraph-pythia8-interface
pkgver=1.0
pkgrel=9
pkgdesc="MadGraph Pythia8 interface"
url="http://madgraph.hep.uiuc.edu/"
arch=('i686' 'x86_64')
license=('MIT')
depends=(
'hepmc'
'madgraph'
'pythia8'
'python'
)
source=(
"http://madgraph.phys.ucl.ac.be/Downloads/MG5aMC_PY8_interface/MG5aMC_PY8_interface_V${pkgver}.tar.gz"
"python2.patch"
"compile.patch"
"pythia.patch"
)
sha256sums=('2786430b787d0138db7d9c942da32eb8861d4a6b3bff37ae5a65a0ff7c79708b'
'632adc73e951df4341709adeafd3a7c72da1752f8af61037eae2b87a08ca9a64'
'bcdad7590a16c89cc8deede534ba6ee98690e9adc67100ea88d22cd8eac18958'
'aba91f30a37d67294a2b948870b2308f4dd2dbbba0cfa53f743b5d84e05cafbc')
prepare() {
#msg2 "Fixing python references for python2"
#patch -p 1 < python2.patch
msg2 "Fixing compile.py"
patch -p 1 < compile.patch
msg2 "Fixing Pythia location"
patch -p 1 < pythia.patch
}
build() {
./compile.py --pythia8_makefile /usr /opt/madgraph
}
package() {
msg2 "Installing files"
destdir="${pkgdir}/opt/madgraph/pythia8-interface"
mkdir -p "${destdir}"
install -Dm755 "${srcdir}/MG5aMC_PY8_interface" "${destdir}/MG5aMC_PY8_interface"
install -Dm644 "${srcdir}/MG5AMC_VERSION_ON_INSTALL" "${destdir}/MG5AMC_VERSION_ON_INSTALL"
install -Dm644 "${srcdir}/PYTHIA8_VERSION_ON_INSTALL" "${destdir}/PYTHIA8_VERSION_ON_INSTALL"
install -Dm644 "${srcdir}/VERSION" "${destdir}/VERSION"
install -Dm644 "${srcdir}/MultiHist.h" "${destdir}/MultiHist.h"
install -Dm644 "${srcdir}/SyscalcVeto.h" "${destdir}/SyscalcVeto.h"
}
# Local Variables:
# mode: sh
# End:
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |