bitburner

maintainer daanjo3 · 4 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The npm install and npx commands are used to build the project from its own source code, not to execute arbitrary remote code; the source is a tagged git repository of the official project, making this a normal and safe AUR packaging practice.

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 and npx commands are used to build the project from its own source code, not to execute arbitrary remote code; the source is a tagged git repository of the official project, making this a normal and safe AUR packaging practice.

2 higher static findings 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:25 npm install -C electron
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:29 npx electron-packager .package bitburner --out .build --overwrite --icon .package/icon.png

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Konsonanz <maximilian.lehmann@protonmail.com>
2pkgname=bitburner
3pkgver=2.8.1
4pkgrel=4
5pkgdesc="Bitburner is a programming-based incremental game"
6arch=('x86_64')
7url="https://github.com/bitburner-official/bitburner-src"
8license=('Apache')
9depends=('electron')
10makedepends=('git' 'npm')
11optdepends=('steam: achievement support'
12 'steam-native-runtime: achievement support')
13source=("git+$url#tag=v$pkgver"
14 "bitburner.desktop")
15sha256sums=('SKIP'
16 '67afcadd5c5d826303611ad579f7dbbad9446d7ca684ee647ec2242402b361f3')
17
18build() {
19 cd "bitburner-src"
20
21 # Cannot use ./tools/package-electron.sh here since it builds for
22 # all targets and archs; no linux-only support yet (again)
23 mkdir .package
24 npm install
25 npm install -C electron
26 npm run build
27 cp -r .app/* electron/* .package
28
29 npx electron-packager .package bitburner --out .build --overwrite --icon .package/icon.png
30}
31
32package() {
33 install -dm755 "$pkgdir"/{opt,usr/bin}
34 cp -dr --no-preserve='ownership' "bitburner-src/.build/bitburner-linux-x64" "$pkgdir/opt/$pkgname"
35 chmod 755 "$pkgdir/opt/$pkgname"
36 ln -s "/opt/$pkgname/resources/app/steam_appid.txt" "$pkgdir/opt/$pkgname/steam_appid.txt"
37 ln -s "/opt/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
38
39 install -Dm644 "bitburner-src/assets/Steam/logo.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
40 install -Dm644 bitburner.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
41}
42

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 00:14:10 LOW 3
2026-07-30 00:17:23 LOW 3
2026-07-29 00:25:53 LOW 3
2026-07-28 00:07:28 LOW 3
2026-07-27 00:24:32 LOW 3
2026-07-26 00:07:32 LOW 3
2026-07-25 00:13:44 LOW 3
2026-07-24 00:02:28 LOW 3
2026-07-23 00:14:47 LOW 3
2026-07-22 00:29:32 LOW 3
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion