{"score":100,"grade":"A","scannedAt":"2026-12-05T23:09:40.015Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"webshell-mcp","version":"0.4.0","license":"MIT","repository":"https://github.com/FelixLin789/webshell","firstPublished":"2026-11-18T02:31:14.880Z","lastPublished":"2026-11-23T22:06:21.444Z","versions":3,"maintainers":1,"files":10,"bytes":136372,"hosts":[]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"common.mjs","line":8,"snippet":"export const env = process.env;"},{"rule":"network","severity":"info","title":"Makes network requests","file":"common.mjs","line":42,"snippet":"const ws = new WebSocket(url);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"daemon.mjs","line":2,"snippet":"import { spawn, spawnSync } from 'node:child_process';"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"daemon.mjs","line":57,"snippet":"if (P.from) fs.writeFileSync(TAB_FILE, P.from);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"daemon.mjs","line":99,"snippet":"fs.rmSync(path.join(PROFILE, 'DevToolsActivePort'), { force: true }); // 删掉上次留下的旧端口，等 Chrome 写入新的"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"daemon.mjs","line":141,"snippet":"fs.writeFileSync(TAB_FILE, targetId);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"daemon.mjs","line":433,"snippet":"const to = /^[a-z]:[\\\\/]/i.test(arg) ? spawnSync('cygpath', ['-u', arg], { encoding: 'utf8' }).stdout?.trim() || arg : arg;"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"vault.mjs","line":4,"snippet":"import { spawnSync } from 'node:child_process';"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.FelixLin789/webshell","title":"WebShell","description":"Drive a real browser with shell-like text commands (cd/ls/cat/click/type), using far fewer tokens.","repository":"https://github.com/FelixLin789/webshell","version":"0.4.0"}}