prisonarchitect-hib

LOW
maintainer XZS 2 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a data file (icon) from the official project website and uses a custom DLAGENT for a Humble Bundle source, which is a normal distribution method for that version; no untrusted executable code is pulled from non-standard hosts.

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 data file (icon) from the official project website and uses a custom DLAGENT for a Humble Bundle source, which is a normal distribution method for that version; no untrusted executable code is pulled from non-standard hosts.

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:20 "prisonarchitect.png::http://www.introversion.co.uk/prisonarchitect/images/tier/tier_icon250.png"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: XZS <d dot f dot fischer at web dot de>
2# Contributor: Duncan K. <duncank@fastmail.fm>
3
4pkgname=prisonarchitect-hib
5pkgver=1.03
6_codename="The Slammer"
7_codename="${_codename,,}"
8pkgrel=1
9pkgdesc='Prison construction and management simulation (Humble Bundle version)'
10url='http://www.introversion.co.uk/prisonarchitect/'
11arch=('i686' 'x86_64')
12license=('custom:commercial')
13depends=('glu')
14conflicts=('prisonarchitect')
15provides=('prisonarchitect')
16DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Manually download it to \"$(pwd)\", or set up a hib:// DLAGENT in /etc/makepkg.conf."; exit 1')
17install=desktop.install
18
19source=("hib://prisonarchitect-${_codename/ /_}_${pkgver}-linux.tar.gz"
20 "prisonarchitect.png::http://www.introversion.co.uk/prisonarchitect/images/tier/tier_icon250.png"
21 "prisonarchitect.desktop")
22md5sums=('33234710874924d50ccb3719ae951583'
23 'd8df107c67e1474fabf56cbd90b174ed'
24 '9e6cf081869d3e0949fe803a01907d50')
25
26build() {
27 # Remove unneded architectures.
28 find -name 'PrisonArchitect.*' -executable \! -name "PrisonArchitect.$CARCH" -delete
29}
30
31package() {
32 local destdir="/opt/prisonarchitect"
33 install -d "$pkgdir"{"$destdir",/usr/{bin,share/{pixmaps,applications}}}
34
35 # Install game files
36 cp -r --no-preserve=ownership prisonarchitect*/* "$pkgdir$destdir"
37
38 # Make executable executable.
39 chmod +x "$pkgdir$destdir/PrisonArchitect"
40
41 # Point launcher script to the correct directory
42 sed -i "s|^base=.*|base=$destdir|" "$pkgdir$destdir/PrisonArchitect"
43
44 # Link executable
45 ln -s "$destdir/PrisonArchitect" "$pkgdir/usr/bin/prisonarchitect"
46
47 # Install desktop file and icon
48 install -m644 *.desktop "$pkgdir/usr/share/applications"
49 install -m644 *.png "$pkgdir/usr/share/pixmaps"
50}
51

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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