{"score":90,"grade":"A","scannedAt":"2026-12-05T23:06:13.711Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@chaixueyuan/weapp-agent-mcp","version":"0.4.8","license":"MIT","repository":"https://github.com/Chaixueyuan/weapp-agent-mcp","firstPublished":"2026-04-15T04:56:58.951Z","lastPublished":"2026-07-01T08:03:45.085Z","versions":11,"maintainers":1,"files":23,"bytes":650072,"hosts":[]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/tools/common.js","line":408,"snippet":"const fn = new Function(`return (${source});`)();"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/tools/application.js","line":695,"snippet":"await writeFile(path, directResult.data, \"base64\");"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/tools/application.js","line":1167,"snippet":"await writeFile(args.outputPath, markdown, \"utf-8\");"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/config.js","line":142,"snippet":"mode: process.env.WEAPP_AUTOMATOR_MODE,"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/config.js","line":143,"snippet":"cliPath: process.env.WECHAT_DEVTOOLS_CLI_PATH,"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/config.js","line":144,"snippet":"projectPath: process.env.WEAPP_PROJECT_PATH,"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/weappClient.js","line":446,"snippet":"await fs.promises.rename(lockPath, stolenPath);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/weappClient.js","line":1467,"snippet":"const { execFile } = await import(\"node:child_process\");"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/weappClient.js","line":1939,"snippet":"const { spawn } = await import(\"child_process\");"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Chaixueyuan/weapp-agent-mcp","description":"Agent-first MCP server for WeChat Mini Program debugging & automation via WeChat DevTools.","repository":"https://github.com/Chaixueyuan/weapp-agent-mcp","version":"0.4.8"}}