herwig
maintainer orphaned
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source URL is hosted on the project's official archive via hepforge.org, a plausible project-owned domain; the download is of the project's own source code, which is standard for AUR packages, and poses no real risk beyond typical build-from-source expectations.
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 source URL is hosted on the project's official archive via hepforge.org, a plausible project-owned domain; the download is of the project's own source code, which is standard for AUR packages, and poses no real risk beyond typical build-from-source expectations.
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:13
source=("http://www.hepforge.org/archive/${pkgname}/${_pkgname}-${pkgver}.tar.bz2")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Chan Beom Park <cbpark@gmail.com>
2
3
_pkgname=Herwig
4
pkgname=herwig
5
pkgver=7.2.3
6
pkgrel=1
7
pkgdesc="Herwig is a multi-purpose particle physics event generator."
8
arch=('x86_64')
9
url="http://herwig.hepforge.org"
10
license=('GPL2')
11
depends=("gcc-fortran" "thepeg" "boost-libs" "fastjet" "gsl" "lhapdf")
12
makedepends=('herwig_lhapdf_config')
13
source=("http://www.hepforge.org/archive/${pkgname}/${_pkgname}-${pkgver}.tar.bz2")
14
sha256sums=('5599899379b01b09e331a2426d78d39b7f6ec126db2543e9d340aefe6aa50f84')
15
16
prepare() {
17
cd "$srcdir/${_pkgname}-${pkgver}"
18
sed -i 's/lib\/libgsl.a/lib\/libgsl.so/' configure
19
}
20
21
build() {
22
cd "$srcdir/${_pkgname}-${pkgver}"
23
24
# from gcc 10, it enforces type mismatching.
25
export FCFLAGS="${FCFLAGS} -fallow-argument-mismatch"
26
./configure --prefix=/usr --with-thepeg=/usr
27
make ${MAKEFLAGS}
28
}
29
30
check() {
31
cd "$srcdir/${_pkgname}-${pkgver}"
32
33
LD_LIBRARY_PATH="/usr/lib/ThePEG${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
34
make check
35
}
36
37
package() {
38
cd "$srcdir/${_pkgname}-${pkgver}"
39
40
LD_LIBRARY_PATH="/usr/lib/ThePEG${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
41
make DESTDIR="$pkgdir/" install
42
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
43
}
44
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 |