fightplanner-git
maintainer olivertzeng
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx command is used to run electron-packager on the locally checked-out source code, which is a standard part of the build process for Electron apps and does not execute untrusted remote code.
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 npx command is used to run electron-packager on the locally checked-out source code, which is a standard part of the build process for Electron apps and does not execute untrusted remote code.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
npx/bunx/deno executes a remote package
remote_code_tool
`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.
-
PKGBUILD:27
npx electron-packager . fightplanner --platform linux --overwrite
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Oliver Tzeng(曾嘉禾)<olivertzeng at proton dot me>
2
3
pkgname=fightplanner-git
4
pkgver=3.3.15.r19.gef4fdc8
5
pkgrel=1
6
pkgdesc="SSBU Mod Manager"
7
arch=('x86_64')
8
url="https://github.com/FireXDF/SSBUFightPlanner"
9
license=('MIT')
10
makedepends=('git' 'nodejs' 'npm')
11
provides=("fightplanner=$pkgver")
12
source=("git+$url")
13
sha256sums=('SKIP')
14
15
pkgver() {
16
cd SSBUFightPlanner || return
17
18
_tag=$(git tag -l --sort -v:refname | sed '/rc[0-9]*/d' | head -n1)
19
_rev=$(git rev-list --count "$_tag"..HEAD)
20
_hash=$(git rev-parse --short HEAD)
21
printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//'
22
}
23
24
build() {
25
cd SSBUFightPlanner || return
26
npm_config_cache="${srcdir}/package-cache" npm install
27
npx electron-packager . fightplanner --platform linux --overwrite
28
}
29
30
package() {
31
cd SSBUFightPlanner || return
32
mkdir -p "${pkgdir}/usr/share"
33
cp -r --preserve=mode "${srcdir}/SSBUFightPlanner/fightplanner-linux-x64" "${pkgdir}/usr/share/fightplanner"
34
chmod 755 -R "${pkgdir}/usr/share/fightplanner"
35
# install -Dm755 -D "${srcdir}/SSBUFightPlanner/fightplanner-linux-x64/fightplanner" "${pkgdir}/usr/share/fightplanner/fightplanner"
36
install -Dm644 "${srcdir}/SSBUFightPlanner/fightplanner.desktop" "${pkgdir}/usr/share/applications/fightplanner.desktop"
37
install -Dm644 "${srcdir}/SSBUFightPlanner/build/icon.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/fightplanner.png"
38
mkdir -p "${pkgdir}/usr/bin"
39
touch "${pkgdir}/usr/bin/fightplanner"
40
ln -sf "/usr/share/fightplanner/fightplanner" "${pkgdir}/usr/bin/fightplanner"
41
}
42
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 |