{"score":100,"grade":"A","scannedAt":"2026-12-05T22:56:55.574Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"whyiq-mcp","version":"1.3.0","license":"MIT","repository":"https://github.com/block9team/whyiq-plugin","firstPublished":"2026-12-01T08:06:47.047Z","lastPublished":"2026-12-01T08:09:24.552Z","versions":2,"maintainers":1,"files":6,"bytes":24286,"hosts":["www.whyiq.ai"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/auth.mjs","line":1,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/auth.mjs","line":13,"snippet":"const override = process.env.WHYIQ_STATE_DIR?.trim();"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/auth.mjs","line":17,"snippet":"process.env.LOCALAPPDATA?.trim() || path.join(os.homedir(), \"AppData\", \"Local\");"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/auth.mjs","line":23,"snippet":"const xdg = process.env.XDG_STATE_HOME?.trim() || path.join(os.homedir(), \".local\", \"state\");"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/auth.mjs","line":55,"snippet":"fs.writeFileSync(file, payload, { encoding: \"utf8\", mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/auth.mjs","line":69,"snippet":"fs.unlinkSync(file);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/auth.mjs","line":187,"snippet":"const tokenRes = await fetch(`${origin}/api/oauth/token`, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/auth.mjs","line":287,"snippet":"const res = await fetch(`${origin}/api/oauth/token`, {"}],"vulns":[],"installScripts":[],"server":{"name":"ai.whyiq.www/whyiq","title":"WhyIQ CRO & AI Visibility Autopilot","description":"WhyIQ 50-visitor CRO simulation, on-page AEO readiness, weekly AI visibility, and guarded fixes.","websiteUrl":"https://www.whyiq.ai/mcp","repository":"https://github.com/block9team/whyiq-plugin","version":"1.3.3"}}