bs-manager-git
maintainer Insprill
· 10 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx command runs electron-builder on the locally built project, 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx command runs electron-builder on the locally built project, 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:48
npx electron-builder --config electron-builder.config.js --publish never --linux pacman --x64
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Pierce Thompson <pierce at insprill dot net>
2
3
pkgname=bs-manager-git
4
pkgver=v1.5.6.r35.gaf96bd2
5
pkgrel=1
6
pkgdesc="An all-in-one tool for managing Beat Saber versions, maps, mods, and more"
7
arch=("x86_64")
8
url="https://github.com/Zagrios/bs-manager"
9
license=('GPL')
10
depends=()
11
makedepends=('git' 'npm' 'nvm')
12
provides=("${pkgname%-git}")
13
conflicts=("${pkgname%-git}")
14
options=('!strip') # DepotDownloader breaks without this
15
source=(
16
'git+https://github.com/Zagrios/bs-manager.git'
17
"${pkgname%-git}.desktop"
18
)
19
sha256sums=(
20
'SKIP'
21
'cb35ac15f308e0dca35aa2a948f3102eb96ec0c9faa1771b91d5a49309398874'
22
)
23
24
pkgver() {
25
cd "${pkgname%-git}"
26
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
27
}
28
29
_ensure_local_nvm() {
30
which nvm >/dev/null 2>&1 && nvm deactivate && nvm unload
31
export NVM_DIR="${srcdir}/.nvm"
32
source /usr/share/nvm/init-nvm.sh || [[ $? != 1 ]]
33
}
34
35
prepare() {
36
_ensure_local_nvm
37
cd "${pkgname%-git}"
38
39
nvm install
40
}
41
42
build() {
43
_ensure_local_nvm
44
cd "${pkgname%-git}"
45
46
npm install
47
npm run build
48
npx electron-builder --config electron-builder.config.js --publish never --linux pacman --x64
49
}
50
51
package() {
52
cd "${pkgname%-git}"
53
54
install -d "$pkgdir/opt/${pkgname%-git}"
55
cp -r "release/build/linux-unpacked/". "$pkgdir/opt/${pkgname%-git}/"
56
57
install -Dm644 "$srcdir/${pkgname%-git}.desktop" "$pkgdir/usr/share/applications/${pkgname%-git}.desktop"
58
install -Dm644 "resources/readme/SVG/icon.svg" "$pkgdir/usr/share/pixmaps/${pkgname%-git}.svg"
59
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/${pkgname%-git}"
60
install -Dm644 "README.md" -t "$pkgdir/usr/share/doc/${pkgname%-git}"
61
}
62
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 21:55:56 | MEDIUM | 1 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |