{"at":"2026-11-15T14:24:12Z","attacked":1,"confirmed":1,"controls":{"max_attacks":3,"only_line":0,"variants":false},"filename":"app.py","findings":[{"check":"command_injection","cwe":"CWE-78","impact":"BIG","line":9}],"language":"python","origin":"sample","prev_record_hash":"5ce9774ac91e31bfa36f40ba952efbf0d12e2c6bf739c5b1a0ed24733602a401","public_key_b64":"b6hfA2rpAdV29FOdhNXGkk4t91mCV0AnfFYwq0HO0R8=","record_hash":"07a9a1c1d57ca99b1bb831a8efe95975c0588bc94d729c01632f13601871e1dd","run_id":"pl-live-ef435b8e46a1bf13","sample_id":"py-cmd","schema":"cain42.proofloop.live.v1","sequence":7,"signature_b64":"IGgk8sjlaGd/gOSaZ+HcOnQAxk/i3YsB+q9W2We7V0vJL8xlLrmG3ZXqK6YdDKJumWbwWmY8nyK62KQLOhjeAg==","source":"import subprocess\nfrom fastapi import FastAPI\n\napp = FastAPI()\n\n\n@app.get(\"/thumb\")\ndef thumb(name: str):\n    subprocess.run(f\"convert {name} -resize 64x64 out.png\", shell=True)\n    return {\"ok\": True}\n","source_note":"","source_sha256":"d8338749e6e35f905c6568b8524d4597e31e217845d55025684d6689aee59e4a","timings_ms":{"scan":286,"total":727,"witnesses":[439]},"verdict":"EXPLOIT_CONFIRMED","witnesses":[{"check":"command_injection","evidence":"EXPLOIT: the payload reached a shell via run(): 'convert cainpl0it;id;# -resize 64x64 out.png' [sink line 9]","line":9,"status":"CONFIRMED"}]}