{"at":"2026-11-15T14:29:40Z","attacked":1,"confirmed":1,"controls":{"max_attacks":3,"only_line":0,"variants":false},"filename":"tools.ts","findings":[{"check":"ssrf","cwe":"CWE-918","impact":"BIG","line":5}],"language":"typescript","origin":"sample","prev_record_hash":"ec23c42c552bd5e46eceaef97d7528263095939dc30d6a2f13d8dd9a9a862349","public_key_b64":"b6hfA2rpAdV29FOdhNXGkk4t91mCV0AnfFYwq0HO0R8=","record_hash":"f4393d20b6722e1339e70254fd8dd6ba431e77a3582e97a9f3121c56e7ac6133","run_id":"pl-live-153650a79f5c36cf","sample_id":"ts-ssrf","schema":"cain42.proofloop.live.v1","sequence":13,"signature_b64":"VXSRwSGrqhiBAYzB68cHIJK6wZsUV59Zm6V0PVaSlRXzUL58BOFRxDrkA4bUAz0h1oXE6kgNgFmZHlr2bx4LDQ==","source":"import { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\n\nexport function registerTools(server: McpServer) {\n  server.tool(\"preview\", \"Preview a page\", async ({ url }: { url: string }) => {\n    const res = await fetch(url);\n    return { content: [{ type: \"text\", text: await res.text() }] };\n  });\n}\n","source_note":"","source_sha256":"22747d7be3ff5ba862d817b262ef7807d05ffb31ae2b83f09f6f5aa72d774c08","timings_ms":{"scan":212,"total":1050,"witnesses":[836]},"verdict":"EXPLOIT_CONFIRMED","witnesses":[{"check":"ssrf","evidence":"EXPLOIT: the attacker's URL reached an HTTP request to an internal address via fetch(): \"http://169.254.169.254/latest/meta-data/cainpl0it\" [handler registered by calling registerTools() with inert stand-ins]","line":5,"status":"CONFIRMED"}]}