wings2-levelpack
maintainer orphaned
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a level pack (data only) for a game from the project's official domain; the worst case of a swapped source is non-executable data tampering, not code execution.
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 level pack (data only) for a game from the project's official domain; the worst case of a swapped source is non-executable data tampering, not code execution.
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:11
source=(Wings2_Level_Collection_v1.zip::http://www.wings2.net/util/download_levels.php?file=Wings2_Level_Collection_v1.zip)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2
3
pkgname=wings2-levelpack
4
pkgver=1.0
5
pkgrel=3
6
pkgdesc="Level pack for the Wings2 game"
7
arch=('any')
8
url="http://www.wings2.net/"
9
license=('custom')
10
depends=('wings2')
11
source=(Wings2_Level_Collection_v1.zip::http://www.wings2.net/util/download_levels.php?file=Wings2_Level_Collection_v1.zip)
12
md5sums=('d38aa08efefff60f1af9a5b656118475')
13
14
package() {
15
cd "${srcdir}"
16
17
install -d "${pkgdir}"/opt/Wings2/levels
18
cp -r "${srcdir}"/* "${pkgdir}"/opt/Wings2/levels
19
rm "${pkgdir}"/opt/Wings2/levels/*.zip
20
21
#remove unneeded level files
22
rm "${pkgdir}"/opt/Wings2/levels/africa.lev
23
rm "${pkgdir}"/opt/Wings2/levels/cerulean.lev
24
rm "${pkgdir}"/opt/Wings2/levels/frozen.lev
25
rm "${pkgdir}"/opt/Wings2/levels/furious.lev
26
rm "${pkgdir}"/opt/Wings2/levels/stones_n_shit.lev
27
28
#fix permissions
29
find "${pkgdir}"/opt -type d -exec chmod 755 "{}" \;
30
find "${pkgdir}"/opt -type f -exec chmod 644 "{}" \;
31
}
32
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 |