knyttstories

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

The package downloads a game data archive from a non-whitelisted but plausible fan site; it is not executed directly and the worst case is 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 game data archive from a non-whitelisted but plausible fan site; it is not executed directly and the worst case is 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:14 "http://egomassive.com/ks+/KS121.zip"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Daniel Escoz <darkhogg+aur@gmail.com>
2# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
3pkgname=knyttstories
4pkgver=1.2.1
5pkgrel=7
6pkgdesc="In Knytt Stories, each level is its own little adventure. One level is included with the game, where you have to stop a machine that draws the life out of the planet. An official expansion pack is also featured at the website with four original levels."
7# url="http://nifflas.ni2.se/" # it's down as of 2025-04-27
8url="http://egomassive.com/ks/" # not the actual original site but the closest right now...
9arch=('i686' 'x86_64')
10depends=(wine)
11makedepends=('unzip')
12source=(knyttstories
13 msvcp60.zip
14 "http://egomassive.com/ks+/KS121.zip"
15 knyttstories.desktop
16 knyttstories.png)
17license=('freeware')
18install=knyttstories.install
19md5sums=('b34bc8c1f391c9a5efb9e984606a6c16'
20 'e27d1c3b981aff789500e0ba2cd05616'
21 '6d5c344fcd9b7c20df003abf03e44777'
22 'f41b9e383744e08ac5de5fe7330a3735'
23 'd997338aae63d77ce4bedcd218dcb5d2')
24
25package() {
26 # Initial directories for game files
27 install -d -m755 $pkgdir/usr/share/knyttstories
28 mv $srcdir/"Knytt Stories"/* $pkgdir/usr/share/knyttstories/
29 install -d -m775 -o root -g games $pkgdir/var/games/knyttstories
30 mv $pkgdir/usr/share/knyttstories/Worlds $pkgdir/var/games/knyttstories/
31
32 # We need this DLL for the override else knyttstories won't work
33 mv $srcdir/msvcp60.dll $pkgdir/usr/share/knyttstories/msvcp60.dll
34
35 # Now lets manually change all the permissions since its a Windows game
36 find $pkgdir/usr/share/knyttstories -type d -exec chmod 755 "{}" \;
37 find $pkgdir/usr/share/knyttstories -type f -exec chmod 644 "{}" \;
38 find $pkgdir/var/games/knyttstories -type d -exec chmod 775 "{}" \;
39 find $pkgdir/var/games/knyttstories -type f -exec chmod 644 "{}" \;
40 find $pkgdir/var/games/knyttstories -type d -exec chown root:games "{}" \;
41 find $pkgdir/var/games/knyttstories -type f -exec chown root:games "{}" \;
42
43 # Install scripts for the user to run
44 install -d -m755 $pkgdir/usr/bin
45 install -m755 knyttstories $pkgdir/usr/bin
46
47 # Install icon
48 install -Dm644 ${srcdir}/knyttstories.desktop ${pkgdir}/usr/share/applications/knyttstories.desktop
49 install -Dm644 ${srcdir}/knyttstories.png ${pkgdir}/usr/share/pixmaps/knyttstories.png
50}
51

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