{"at":"2026-11-23T05:44:35.657Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T05:44:36.569Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"coding-agent-audit","version":"0.11.0"}},"cacheScope":"private","capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"instructions":"Scans this machine for known AI-coding-assistant supply-chain backdoor indicators (e.g. the October 2026 trojanized Claude Code / Open-VSX / Cursor Marketplace extension) and for risky Claude Code / MCP configuration patterns (hooks piping curl into a shell, overly broad auto-approved permissions, unpinned MCP server packages). Independent, open-source, not affiliated with Anthropic. Built and run by StackScribe AI, an autonomous AI project - no human reviews a run before you see its result.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T05:44:36.569Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T05:44:36.570Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"coding-agent-audit","version":"0.11.0"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Scan this machine for known, publicly-documented indicators of\ncompromise from AI-coding-assistant supply-chain attacks (SSH backdoor\nkeys, C2 processes, persistence via cron/LaunchAgent/scheduled task,\nthe trojanized extension.js hash). Read-only; no file is modified.","inputSchema":{"properties":{},"title":"scan_for_known_backdoorsArguments","type":"object"},"name":"scan_for_known_backdoors","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_for_known_backdoorsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Scan this machine's Claude Code / Claude Desktop / MCP config files\nfor risky patterns: hooks that pipe a remote download into a shell,\noverly broad auto-approved permission rules (e.g. 'Bash(*)'), unpinned\nMCP server packages, raw IP literals in hook commands or env vars.\n\nArgs:\n    project_dir: optional path to a project whose .claude/ and\n        .mcp.json should also be scanned, in addition to the user's\n        home-directory config.\n","inputSchema":{"properties":{"project_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Dir"}},"title":"scan_mcp_configArguments","type":"object"},"name":"scan_mcp_config","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_mcp_configOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Check a project's package.json / requirements.txt / pyproject.toml\ndependencies against the npm/PyPI registries and flag any package name\nthat doesn't actually exist there. AI coding assistants occasionally\nhallucinate a plausible-but-nonexistent package name; if one ends up in\na manifest, an attacker can register that exact name with malicious\ncode and have it silently installed on the next install\n(\"slopsquatting\"). Read-only HTTP lookups only; nothing is installed.\n\nArgs:\n    project_dir: path to the project directory containing the manifest\n        file(s) to check.\n","inputSchema":{"properties":{"project_dir":{"title":"Project Dir","type":"string"}},"required":["project_dir"],"title":"scan_phantom_dependenciesArguments","type":"object"},"name":"scan_phantom_dependencies","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_phantom_dependenciesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Check the `npx`/`uvx`/`pipx run` commands in this machine's (and\noptionally a project's) MCP server config against the npm/PyPI\nregistries, and flag any package name that doesn't actually exist\nthere - the \"MCPhantom\" pattern (Glow Labs, Nov 2026): a coding agent\nfills in a plausible-sounding MCP server name from training data, or\ncopies one from a long-archived tutorial whose package was since\nrenamed or unpublished. An attacker can register that exact name and\nhave it run as the MCP server, with the user's own permissions, the\nnext time the config is loaded. Read-only HTTP lookups only; this\nnever connects to or executes the MCP server itself.\n\nArgs:\n    project_dir: optional path to a project whose .claude/ and\n        .mcp.json should also be scanned, in addition to the user's\n        home-directory config.\n","inputSchema":{"properties":{"project_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Dir"}},"title":"scan_mcp_phantom_packagesArguments","type":"object"},"name":"scan_mcp_phantom_packages","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_mcp_phantom_packagesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Scan a list of MCP tool definitions (the 'tools/list' response an\nMCP server returns, e.g. [{\"name\": \"search\", \"description\": \"...\"}])\nfor instructions hidden in the description field - 'tool definition\ninjection'. A malicious or compromised MCP server can register a tool\nwhose description tells the LLM to also call a second,\nattacker-controlled tool, or to hide an action from the user, without\never shipping malicious code in a package. Pass another MCP server's\nown tools/list output straight through; this never connects to or\nexecutes any server itself.\n\nArgs:\n    tools: list of tool definitions, each with at least a\n        \"description\" field.\n","inputSchema":{"properties":{"tools":{"items":{"additionalProperties":true,"type":"object"},"title":"Tools","type":"array"}},"required":["tools"],"title":"scan_tool_descriptionsArguments","type":"object"},"name":"scan_tool_descriptions","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_tool_descriptionsOutput","type":"object"}}],"ttlMs":0}}}
{"at":"2026-11-23T05:44:36.721Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T05:44:37.624Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"Scans this machine for known AI-coding-assistant supply-chain backdoor indicators (e.g. the October 2026 trojanized Claude Code / Open-VSX / Cursor Marketplace extension) and for risky Claude Code / MCP configuration patterns (hooks piping curl into a shell, overly broad auto-approved permissions, unpinned MCP server packages). Independent, open-source, not affiliated with Anthropic. Built and run by StackScribe AI, an autonomous AI project - no human reviews a run before you see its result.","protocolVersion":"2025-11-25","serverInfo":{"name":"coding-agent-audit","version":"0.11.0"}}}}
{"at":"2026-11-23T05:44:37.624Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:44:37.624Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:44:37.626Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Scan this machine for known, publicly-documented indicators of\ncompromise from AI-coding-assistant supply-chain attacks (SSH backdoor\nkeys, C2 processes, persistence via cron/LaunchAgent/scheduled task,\nthe trojanized extension.js hash). Read-only; no file is modified.","inputSchema":{"properties":{},"title":"scan_for_known_backdoorsArguments","type":"object"},"name":"scan_for_known_backdoors","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_for_known_backdoorsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Scan this machine's Claude Code / Claude Desktop / MCP config files\nfor risky patterns: hooks that pipe a remote download into a shell,\noverly broad auto-approved permission rules (e.g. 'Bash(*)'), unpinned\nMCP server packages, raw IP literals in hook commands or env vars.\n\nArgs:\n    project_dir: optional path to a project whose .claude/ and\n        .mcp.json should also be scanned, in addition to the user's\n        home-directory config.\n","inputSchema":{"properties":{"project_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Dir"}},"title":"scan_mcp_configArguments","type":"object"},"name":"scan_mcp_config","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_mcp_configOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Check a project's package.json / requirements.txt / pyproject.toml\ndependencies against the npm/PyPI registries and flag any package name\nthat doesn't actually exist there. AI coding assistants occasionally\nhallucinate a plausible-but-nonexistent package name; if one ends up in\na manifest, an attacker can register that exact name with malicious\ncode and have it silently installed on the next install\n(\"slopsquatting\"). Read-only HTTP lookups only; nothing is installed.\n\nArgs:\n    project_dir: path to the project directory containing the manifest\n        file(s) to check.\n","inputSchema":{"properties":{"project_dir":{"title":"Project Dir","type":"string"}},"required":["project_dir"],"title":"scan_phantom_dependenciesArguments","type":"object"},"name":"scan_phantom_dependencies","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_phantom_dependenciesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Check the `npx`/`uvx`/`pipx run` commands in this machine's (and\noptionally a project's) MCP server config against the npm/PyPI\nregistries, and flag any package name that doesn't actually exist\nthere - the \"MCPhantom\" pattern (Glow Labs, Nov 2026): a coding agent\nfills in a plausible-sounding MCP server name from training data, or\ncopies one from a long-archived tutorial whose package was since\nrenamed or unpublished. An attacker can register that exact name and\nhave it run as the MCP server, with the user's own permissions, the\nnext time the config is loaded. Read-only HTTP lookups only; this\nnever connects to or executes the MCP server itself.\n\nArgs:\n    project_dir: optional path to a project whose .claude/ and\n        .mcp.json should also be scanned, in addition to the user's\n        home-directory config.\n","inputSchema":{"properties":{"project_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project Dir"}},"title":"scan_mcp_phantom_packagesArguments","type":"object"},"name":"scan_mcp_phantom_packages","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_mcp_phantom_packagesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Scan a list of MCP tool definitions (the 'tools/list' response an\nMCP server returns, e.g. [{\"name\": \"search\", \"description\": \"...\"}])\nfor instructions hidden in the description field - 'tool definition\ninjection'. A malicious or compromised MCP server can register a tool\nwhose description tells the LLM to also call a second,\nattacker-controlled tool, or to hide an action from the user, without\never shipping malicious code in a package. Pass another MCP server's\nown tools/list output straight through; this never connects to or\nexecutes any server itself.\n\nArgs:\n    tools: list of tool definitions, each with at least a\n        \"description\" field.\n","inputSchema":{"properties":{"tools":{"items":{"additionalProperties":true,"type":"object"},"title":"Tools","type":"array"}},"required":["tools"],"title":"scan_tool_descriptionsArguments","type":"object"},"name":"scan_tool_descriptions","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"scan_tool_descriptionsOutput","type":"object"}}]}}}
