{"score":100,"grade":"A","scannedAt":"2026-12-05T23:04:41.129Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"safari-background-mcp","version":"2.0.0","license":"MIT","repository":"https://github.com/AlexZai007/safari-background-mcp","firstPublished":"2026-12-04T11:03:12.154Z","lastPublished":"2026-12-04T11:06:21.872Z","versions":2,"maintainers":1,"files":15,"bytes":143563,"hosts":[]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/bridge.mjs","line":2,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/safari.mjs","line":40,"snippet":"constructor({ bridge, agentWindow = process.env.SAFARI_MCP_AGENT_WINDOW === \"1\", agentBounds = null } = {}) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/safari.mjs","line":46,"snippet":"this.stateFile = process.env.SAFARI_MCP_STATE || join(tmpdir(), \"safari-background-mcp.json\");"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/safari.mjs","line":60,"snippet":"try { writeFileSync(this.stateFile, JSON.stringify({ agent: this.agent })); } catch {}"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/screenshot.mjs","line":4,"snippet":"import { execFile } from \"node:child_process\";"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/screenshot.mjs","line":73,"snippet":"await rm(dir, { recursive: true, force: true }).catch(() => {});"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/server.mjs","line":16,"snippet":"export function selectTools(all, spec = process.env.SAFARI_MCP_TOOLS) {"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.AlexZai007/safari-background-mcp","title":"Safari (background)","description":"Drives your real Safari (with your logins) in the background: never steals focus, ~15 ms per call.","repository":"https://github.com/AlexZai007/safari-background-mcp","version":"2.0.0"}}