scalpel-poe-git

LOW
maintainer scalpelpoe 0 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 a standard part of the build process for Electron apps and does not execute arbitrary 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 arbitrary 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:66 npx electron-builder --linux AppImage --x64 --publish never

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Scalpel <scalpelpoe at gmail dot com>
2# Contributor: Kristofers Solo <dev at kristofers dot xyz>
3
4pkgname=scalpel-poe-git
5pkgver=1.0.2.rc1.4.g8975f52
6pkgrel=1
7pkgdesc="Path of Exile's First Fourth-Party Tool"
8arch=("x86_64")
9url="https://github.com/scalpelpoe/scalpel"
10license=("AGPL-3.0-only")
11options=(!strip)
12depends=(
13 "fuse2"
14)
15makedepends=(
16 "git"
17 "nodejs-lts-jod"
18 "npm"
19 "python"
20 "python-setuptools"
21)
22provides=("scalpel-poe")
23conflicts=("scalpel-poe" "scalpel-poe-bin")
24source=(
25 "git+$url.git"
26 "scalpel-poe.sh"
27 "scalpel-poe.desktop"
28)
29sha256sums=("SKIP"
30 "SKIP"
31 "SKIP")
32
33_check_node_version() {
34 local major
35 major="$(node -p 'process.versions.node.split(".")[0]')"
36
37 if [[ "$major" != "22" ]]; then
38 echo "error: Node.js 22 is required, got $(node --version)" >&2
39 exit 1
40 fi
41}
42
43_enter_builddir() {
44 cd "$srcdir/scalpel" || return 1
45 _check_node_version || return 1
46
47 export SHARP_IGNORE_GLOBAL_LIBVIPS=1
48}
49
50pkgver() {
51 _enter_builddir
52
53 git describe --tags --long | sed "s/^v//;s/-/./g"
54}
55
56prepare() {
57 _enter_builddir
58
59 npm ci --allow-git=root
60}
61
62build() {
63 _enter_builddir
64
65 npm run build
66 npx electron-builder --linux AppImage --x64 --publish never
67}
68
69package() {
70 cd "$srcdir/scalpel"
71
72 install -Dm755 "dist/Scalpel.AppImage" "$pkgdir/opt/scalpel-poe/Scalpel.AppImage"
73
74 install -Dm755 "$srcdir/scalpel-poe.sh" "$pkgdir/usr/bin/scalpel-poe"
75 install -Dm644 "$srcdir/scalpel-poe.desktop" "$pkgdir/usr/share/applications/scalpel-poe.desktop"
76 install -Dm644 resources/icon.png "$pkgdir/usr/share/pixmaps/scalpel-poe.png"
77 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
78}
79

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