square1-wad

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

The package downloads game data (a .zip containing a .pk3 and license) from the project's official host; installing non-executable game assets poses minimal risk even if the host is not whitelisted.

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 game data (a .zip containing a .pk3 and license) from the project's official host; installing non-executable game assets poses minimal risk even if the host is not whitelisted.

2 higher static findings superseded - not the current verdict (shown for transparency)
Medium External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:14 curl -fsSL 'http://adventuresofsquare.com/downloads.php' |
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:10 source=("http://adventuresofsquare.com/downloads/square-ep2-win64-${pkgver}.zip")

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Jan Cholasta <grubber at grubber cz>
2
3pkgname=square1-wad
4pkgver=2.1
5pkgrel=2
6pkgdesc="The Adventures of Square, Episode 1 game data"
7arch=('any')
8url='http://adventuresofsquare.com/'
9license=('CCPL:by-nc' 'MIT')
10source=("http://adventuresofsquare.com/downloads/square-ep2-win64-${pkgver}.zip")
11sha256sums=('ae4848bcdbcd3671d427a7faa6e3bb9ccd9bd2f89375fb9f4017ee12bda84599')
12
13latestver() {
14 curl -fsSL 'http://adventuresofsquare.com/downloads.php' |
15 sed -nE 's#.*href="downloads/square-ep2-win64-([0-9.]+)\.zip".*#\1#p' | head -1
16}
17
18package() {
19 install -D -m644 'square1.pk3' "${pkgdir}/usr/share/doom/square1.pk3"
20
21 install -D -m644 'SQUARE-LICENSE.txt' "${pkgdir}/usr/share/licenses/${pkgname}/SQUARE-LICENSE.txt"
22}
23

Scan history

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

Report a package

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

0 / 4000
Your suggestion