hercules

LOW
maintainer pilotmattk 3 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source URL is on a project-specific domain (hercules-390.eu) which is plausibly official for the project; the download is a standard source tarball, not a prebuilt binary, and the build process is transparent; the non-whitelisted host is not inherently risky given the context of a legitimate project-hosted source.

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 on a project-specific domain (hercules-390.eu) which is plausibly official for the project; the download is a standard source tarball, not a prebuilt binary, and the build process is transparent; the non-whitelisted host is not inherently risky given the context of a legitimate project-hosted source.

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:16 source=("http://downloads.hercules-390.eu/$pkgname-${pkgver%.00}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer:
2# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
3# Contributor: Kevin Piche <kevin@archlinux.org>
4# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
5# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
6
7pkgname=hercules
8pkgver=3.13.00
9pkgrel=3
10pkgdesc='Software implementation of System/370 and ESA/390'
11arch=('x86_64')
12url='http://www.hercules-390.eu/'
13license=('custom')
14depends=('bzip2' 'libnsl' 'zlib')
15options=('!makeflags')
16source=("http://downloads.hercules-390.eu/$pkgname-${pkgver%.00}.tar.gz")
17sha512sums=('76f75ef3f1eb10c0fac0d6fa1ab9809b8d1dfe3deccbcd69366b05ee58f1ecb8ea0f387f7201ab4722b121478676f00e707ad27b6ecf1980fb09e900de63d718')
18
19prepare() {
20 ln -sf "$pkgname-${pkgver%.00}" p
21 # Change module extension from .la to .so.
22 sed '/HDL_MODULE_SUFFIX/ s/\.la/.so/' -i p/hdl.h
23}
24
25build() {
26 cd p
27 ./configure --prefix=/usr --enable-optimization=-O3
28 make
29}
30
31package() {
32 cd p
33 DESTDIR="$pkgdir" make install
34 install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/hercules/qpl1"
35}
36
37# vim: ts=2 sw=2 et:
38# getver: raw.githubusercontent.com/rbowler/spinhawk/master/makemsi/Hercules-W64.VER
39

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