vscode-js-debug

LOW
maintainer derinkaan 2 votes scanned 2026-09-17 00:27:14.276658
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
2pkgname=vscode-js-debug
3pkgver=v1.117.0
4pkgrel=1
5pkgdesc='A VS Code debugger for JavaScript & TypeScript, powered by the Microsoft vscode-js-debug'
6arch=(any)
7url="https://github.com/microsoft/vscode-js-debug"
8license=(MIT)
9depends=(nodejs)
10makedepends=(
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")
15source=("git+$url")
16sha256sums=('SKIP')
17
18_server="dapDebugServer.js"
19
20pkgver() {
21 cd "$srcdir/${pkgname}"
22 git describe --tags --abbrev=0
23}
24
25build() {
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
33package() {
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)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