vscode-js-debug
maintainer derinkaan
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx command runs 'gulp dapDebugServer' on the locally built source from the official GitHub repository, which is a standard build step for the project and not an execution of an untrusted remote package.
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 runs 'gulp dapDebugServer' on the locally built source from the official GitHub repository, which is a standard build step for the project and not an execution of an untrusted remote package.
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:30
npx gulp dapDebugServer
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Furkan Sahin furkansahin824@gmail.com
2
pkgname=vscode-js-debug
3
pkgver=v1.117.0
4
pkgrel=1
5
pkgdesc='A VS Code debugger for JavaScript & TypeScript, powered by the Microsoft vscode-js-debug'
6
arch=(any)
7
url="https://github.com/microsoft/vscode-js-debug"
8
license=(MIT)
9
depends=(nodejs)
10
makedepends=(
11
git
12
npm
13
)
14
# source=("${pkgname}-${pkgver}.tar.gz::https://github.com/microsoft/vscode-js-debug/archive/refs/tags/v${pkgver}.tar.gz")
15
source=("git+$url")
16
sha256sums=('SKIP')
17
18
_server="dapDebugServer.js"
19
20
pkgver() {
21
cd "$srcdir/${pkgname}"
22
git describe --tags --abbrev=0
23
}
24
25
build() {
26
cd $pkgname
27
npm install --legacy-peer-deps
28
# A VS Code user would probably prefer to get this through VS Code store
29
# So I'm assuming users of this package need it for generic DAP
30
npx gulp dapDebugServer
31
}
32
33
package() {
34
local mod_dir=/usr/lib/node_modules/$pkgname
35
install -d "$pkgdir"/{usr/bin,$mod_dir}
36
37
cd $pkgname/dist
38
install -D -m 644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
39
40
# Preprend server with shebang for standalone execution
41
sed -i '1i #!/usr/bin/env node' "src/$_server"
42
chmod +x "src/$_server"
43
44
cp -r src "$pkgdir/$mod_dir"
45
46
# Sym link an executable into /usr/bin
47
ln -s "$mod_dir/src/$_server" "$pkgdir/usr/bin/$_server"
48
}
49
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 |