{"at":"2026-11-15T15:05:02Z","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":"a056dd2c246b0d6be7ae558c16cfc29ce1976d83d06597f28887c8556950b150","public_key_b64":"b6hfA2rpAdV29FOdhNXGkk4t91mCV0AnfFYwq0HO0R8=","record_hash":"50aefa3e83a66515e4fbbaf7b7febd7fa09ae0d77c345294360a5b495d5c4b69","run_id":"pl-live-af0efb8e6ca2d0af","sample_id":"ts-ssrf","schema":"cain42.proofloop.live.v1","sequence":20,"signature_b64":"enWAoITEyJw/sR1GWb0TNDejQY/fzFJUKnh2apSIGctqmeeJmfU4L/t/iPHQPiLgKUJ444vobEbeKv0TmM/DBw==","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":170,"total":865,"witnesses":[690]},"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"}]}