bs-manager-git

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

The npx command runs electron-builder on the locally built project, which is part of the normal 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 part of the normal 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
3pkgname=bs-manager-git
4pkgver=v1.5.6.r40.g5b3676c
5pkgrel=1
6pkgdesc="An all-in-one tool for managing Beat Saber versions, maps, mods, and more"
7arch=("x86_64")
8url="https://github.com/Zagrios/bs-manager"
9license=('GPL')
10depends=()
11makedepends=('git' 'npm' 'nvm' 'libxcrypt-compat')
12provides=("${pkgname%-git}")
13conflicts=("${pkgname%-git}")
14options=('!strip') # DepotDownloader breaks without this
15source=(
16 'git+https://github.com/Zagrios/bs-manager.git'
17 "${pkgname%-git}.desktop"
18)
19sha256sums=(
20 'SKIP'
21 'cb35ac15f308e0dca35aa2a948f3102eb96ec0c9faa1771b91d5a49309398874'
22)
23
24pkgver() {
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
35prepare() {
36 _ensure_local_nvm
37 cd "${pkgname%-git}"
38
39 nvm install
40}
41
42build() {
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
51package() {
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)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