OpenAI releases Codex skill to help websites check whether they are affected by critical PHP vulnerability
OpenAI is offering a Codex skill for the critical PHP vulnerability, guiding users to run the github.com/openai/php2shell-checker repository to check whether their websites are affected. The background: under its Patch the Planet initiative, OpenAI models helped researchers discover a critical flaw in PHP. The fix involved major changes to the PHP engine and was disclosed after about two months of coordination. Websites using PHP can upgrade their versions and apply mitigations from security vendors.
The original post provides an official Codex skill and a detection repository, which website operators can use to check whether they are affected by the PHP vulnerability.
If you are wondering whether your website is affected, we have packaged a Codex skill to help check.
Point your Codex at this repo to guide you through it: github.com/openai/php2shell-c…
View the quoted post on XOpenAI models helped researchers—operating as part of our Patch the Planet initiative—discover critical security flaws in PHP, an open-source programming language used to run an estimated 70% of websites.
Over the past two months, we led a coalition of maintainers, researchers, and security providers to prepare fixes and protections ahead of disclosure. This duration was necessary because the fix was quite intricate and required a major change to the PHP engine. Every site using PHP can now safely upgrade their version to stay secure, in addition to applying mitigations from various security vendors.
Due to the severity of these flaws and PHP’s widespread use, we consider this bug to be one of the most impactful vulnerabilities in recent memory. It also marks a new phase, where AI can find security bugs with internet-scale impact.
This is an example of the Defender’s Window in action: to our knowledge, frontier AI was able to find this vulnerability ahead of attackers, giving defenders time to prepare.
openai.com/index/coordinated-…
Source: OpenAI · x.com
Updates on this story · 6
See the full story- Hackers had a four-day window before the PHP2Shell disclosure, prompting urgent responses from agencies in multiple countriesArs Technica: AI · 2026-10-23
- Khazix details the AI-found PHP2Shell flaws: two days to find, two months to fixWeChat: Khazix · 2026-10-22
- NSA issues fix warning for critical PHP2Shell flaws found by AIRohan Paul · 2026-10-22
- Researchers use GPT-5.6 Sol to find two CVSS 9.2 critical PHP vulnerabilitiesRohan Paul · 2026-10-22
- Wiz Research discloses PHP2Shell: AI-assisted RCE vulnerability in PHP core affects 70% of websites worldwideWiz: Research · 2026-10-21
- OpenAI details Patch the Planet, which used GPT-5.6 Sol to find critical PHP vulnerabilities and coordinate a global fixOpenAI: News · 2026-10-21