PHP2Shell Won't Be the Last Big AI Cybersecurity Risk
- Hosts
- Tracy AllowayJoe Weisenthal
- Guests
- Thai Duong, CEO at CalifBruce Dang, Engineer at Calif
- Date
TLDR
AI is compressing the time and expertise needed to turn software flaws into working attacks, while defenders still need time to patch systems and contain intrusions. The PHP2Shell case shows both sides of that shift: AI helped Calif demonstrate the danger of a long-known bug, but it also exposed how quickly attackers can exploit public fixes and spread through networks.
Key takeaways
AI turned a known PHP flaw into a demonstrated remote attack. Calif’s work with OpenAI and the PHP Foundation focused on a vulnerability in PHP, which is used by roughly 70% of websites. The foundation had found the same issue in 2024 but did not fix it because available fixes were costly and could break existing sites; Calif used AI to develop an exploit that showed an attacker could reach a site remotely.
AI accelerates security work even when it does not discover the underlying bug. Calif said the PHP Foundation’s earlier discovery showed that humans could find the flaw, while AI made exploitation far faster; without AI, auditing PHP’s large codebase would also have taken much longer. The distinction matters because demonstrating a practical exploit can change a vulnerability from a theoretical concern into an urgent remediation priority.
AI-enabled intrusions can spread faster than conventional incident response can keep up. Calif described two banking clients whose networks were breached: what might have taken human attackers about a month to spread through a network happened from Monday to Tuesday with AI assistance. The firm said detection alone is inadequate when many points are compromised in parallel and shutting down systems is not viable for a bank.
A public patch can become an attack blueprint before users have time to install it. Duong called this a “minus one day” problem: once a fix appears publicly on a repository such as GitHub, attackers can use AI to analyze the change and potentially produce an exploit within hours. That collapses the old gap between patch publication and attacker capability, leaving organizations less time to update safely.
AI is exposing weaknesses even in software with substantial security investment. Calif expected AI-assisted review to find many flaws in older or neglected systems, but said it also surfaced far more bugs than expected in better-defended software, including Chrome. The team said defenses such as exploit mitigations still matter, but the findings challenge assumptions that mature, heavily scrutinized codebases have few exploitable weaknesses.
The strongest hackers are currently “centaurs,” combining human judgment with AI execution. Calif said AI can reverse-engineer software and build exploit chains much faster, but still needs expert direction; work that once took months can now take days or less. The team compared this stage to human-computer chess partnerships and said it is unclear whether the transition will last months or years.
Making AI “not hack” conflicts with the capabilities that make it useful for coding. Duong argued that models capable of coding well must understand technical systems, debug them, and control computers, skills that also enable hacking. Because AI companies earn revenue by selling tokens for coding and other knowledge work, he saw this dual-use capability as an incentive problem, not something solved simply by telling models not to hack.
Formal verification cannot yet secure systems at browser scale, and software’s rapid change is part of the obstacle. The guests said formal methods work for smaller components, but current techniques do not scale to a browser with billions of lines of code and constant updates. Duong added that frequent change is central to software companies’ ability to adapt, so exhaustive verification without major automation would conflict with how the industry operates.
Insights and implications
Security programs need to treat containment and recovery as core defenses, not just faster detection. If AI can move from initial access to widespread compromise in a day, alerts may arrive too late to prevent damage. Organizations that cannot shut down operations, such as banks, need plans and technical controls that limit how far an intrusion can spread while systems remain available.
Patch management is becoming a race against the public release of the fix itself. When attackers can infer an exploit from a patch before organizations deploy it, vulnerability disclosure and remediation timelines become tightly coupled. The practical implication is that organizations may need to prepare deployment and mitigation before patches are public, rather than treating patch installation as a follow-up task.
AI does not erase software’s security debt; it makes the debt easier to find and exploit across both old and well-maintained systems. That weakens the assumption that upgrading legacy code alone will restore safety. The bigger challenge is continuously reducing exposure while preserving the speed and availability that software businesses depend on.