Can frontier agents turn the PHP2Shell report into a PoC, an exploit and a fix?
Can frontier agents turn a PHP2Shell report into a PoC, an exploit and a repair?
Cogent Security used the same PHP2Shell vulnerability report and PHP 8.5.11 source code to test Claude Code (Opus-5-5), Codex (gpt-5-6-cyber) and its own VR-1.1, measuring under near-air-gapped conditions with public advisories and vendor patches withheld whether the agents could complete reproduction, exploitation, mitigation and patching. VR-1.1 and Codex each produced a usable PoC and a real shell exploit in one of three attempts, while Claude Code's PoC and exploit construction were refused by the provider. In the mitigation stage all three systems blocked all attacks and passed 5 application checks, with VR-1.1 giving the least costly control, keeping the memory limit unchanged and not restarting PHP workers per request. Patching remained incomplete: VR-1.1 passed 3 of 5 targeted checks and all 75 regression cases, but all three patches passed only 1 of 10 hidden security variants.