herwig

LOW
maintainer orphaned 1 votes scanned 2026-09-17 00:27:14.276658
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
4pkgname=herwig
5pkgver=7.2.3
6pkgrel=1
7pkgdesc="Herwig is a multi-purpose particle physics event generator."
8arch=('x86_64')
9url="http://herwig.hepforge.org"
10license=('GPL2')
11depends=("gcc-fortran" "thepeg" "boost-libs" "fastjet" "gsl" "lhapdf")
12makedepends=('herwig_lhapdf_config')
13source=("http://www.hepforge.org/archive/${pkgname}/${_pkgname}-${pkgver}.tar.bz2")
14sha256sums=('5599899379b01b09e331a2426d78d39b7f6ec126db2543e9d340aefe6aa50f84')
15
16prepare() {
17 cd "$srcdir/${_pkgname}-${pkgver}"
18 sed -i 's/lib\/libgsl.a/lib\/libgsl.so/' configure
19}
20
21build() {
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
30check() {
31 cd "$srcdir/${_pkgname}-${pkgver}"
32
33 LD_LIBRARY_PATH="/usr/lib/ThePEG${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
34 make check
35}
36
37package() {
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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion