strider
maintainer petrov
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npm install runs during build against the project's own source from GitHub, which is a normal part of building the project; no external unreviewed code is pulled in beyond standard development dependencies managed by npm, and the source is verifiable via the provided hash.
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 npm install runs during build against the project's own source from GitHub, which is a normal part of building the project; no external unreviewed code is pulled in beyond standard development dependencies managed by npm, and the source is verifiable via the provided hash.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
npm/yarn/pnpm install of an undeclared external package
npm_install_external
Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.
-
PKGBUILD:34
npm install -g grunt
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Petar Petrov <ppetrov at vexelon d0t net>
2
pkgname=strider
3
pkgver=1.0.7
4
pkgrel=3
5
pkgdesc="Strider is a 2D sci-fi platformer game."
6
arch=('i686' 'x86_64')
7
url="https://github.com/kenamick/strider"
8
license=('MIT')
9
groups=()
10
depends=()
11
makedepends=('nodejs' 'npm')
12
checkdepends=()
13
provides=()
14
conflicts=()
15
replaces=()
16
backup=()
17
options=()
18
install=strider.install
19
changelog=
20
source=(https://github.com/kenamick/strider/archive/refs/tags/v1.0.7.tar.gz)
21
sha1sums=('bfe54915e2305696978649a6068b47c90a33433d')
22
23
dirname="game-off-2015"
24
if [ "${CARCH}" = 'x86_64' ] ; then
25
builddir='linux64'
26
else
27
builddir="linux32"
28
fi
29
30
prepare() {
31
cd $srcdir
32
cd "$srcdir/$dirname-$pkgver"
33
npm install
34
npm install -g grunt
35
}
36
37
build() {
38
cd "$srcdir/$dirname-$pkgver"
39
40
# adjust target platform binaries
41
sed -i "s/'osx64'[,]*//g" Gruntfile.js
42
sed -i "s/'win64'[,]*//g" Gruntfile.js
43
if [ "${CARCH}" = 'x86_64' ]; then
44
sed -i "s/'linux32'/'linux64'/g" Gruntfile.js
45
else
46
sed -i "s/'linux64'/'linux32'/g" Gruntfile.js
47
fi
48
49
grunt desktop
50
51
sed -i 's/INSTALL_DATADIR/\/opt\/strider/g' strider.in
52
sed -i "s/@@VERSION/$pkgver/g" assets/desktop/strider.desktop
53
}
54
55
check() {
56
bindir="$srcdir/$dirname-$pkgver/webkitbuilds/Strider/$builddir"
57
if [ ! -d $bindir ]; then
58
(>&2 echo "Error! Binaries not found in $bindir")
59
exit 1
60
fi
61
}
62
63
package() {
64
cd "$srcdir/$dirname-$pkgver/webkitbuilds/Strider/$builddir"
65
tar czf strider-bin.tar.gz *
66
mkdir -p "$pkgdir"/opt/strider
67
cp strider-bin.tar.gz "$pkgdir"/opt/strider
68
69
cd "$srcdir/$dirname-$pkgver"
70
install -Dm755 strider.in "$pkgdir"/usr/local/bin/strider
71
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
72
install -Dm644 assets/crx/icon_48.png "$pkgdir"/usr/share/pixmaps/strider48.png
73
install -Dm644 assets/desktop/strider.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
74
}
75
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 |