r/CodexAutomation • • Oct 21 '26

News & Releases OpenAI releases PHP version-checking skills for Codex after PHP2Shell disclosure

TL;DR

OpenAI's October 21 Patch the Planet announcement links a public PHP checker packaged as two Codex skills: phpcheck-server for checking with server access and phpcheck-url for checking an advertised version from a URL. They can help identify potentially affected PHP installations, but a version-check result is not proof that a security fix is installed.

The PHP Foundation confirms that today's PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 releases fix two critical vulnerabilities. Operators should follow PHP or their distribution's security guidance and verify the runtime actually serving their site.

What OpenAI announced

OpenAI describes a coordinated response involving PHP maintainers, Calif, Wiz and infrastructure providers. It says Calif identified a critical flaw using GPT-5.6 Sol through Patch the Planet, while Wiz independently reported both vulnerabilities. PHP's maintainers led the fixes and release.

The concrete Codex addition is the openai/php2shell-checker repository. OpenAI also proposes a broader disclosure framework covering validation, advance preparation, government coordination, downstream updates and deployment support. That framework is a proposal for feedback, rather than a new requirement for every Codex workflow.

What the skills check

The repository provides installation instructions for both skills. Choose the server skill when you can inspect the host; choose the URL skill when you only have a website address.

The URL checker reads PHP versions advertised in HTTP headers. Hidden headers produce UNKNOWN. The server skill starts with the local PHP version and asks you to verify that it matches the PHP-FPM or Apache installation serving the site.

The checker reports OK, VULNERABLE or UNKNOWN, with JSON output available for automation. Its README says OK is a comparison against embedded version cutoffs, not independent verification of a security fix. Headers can be altered, and a distribution may backport a fix without changing the upstream version. UNKNOWN must remain unresolved rather than becoming a successful patch check. Both skills prohibit exploit probes.

Practical next steps and limits

For an authorized PHP estate, our interpretation is to use the skills as an inventory aid, then confirm the serving runtime and full package revision against current PHP or vendor advisories. A local CLI version can differ from the web worker's version.

The linked disclosure guidance says to install a fixed runtime and restart Apache, PHP-FPM and long-running PHP workers as applicable. Updating application code alone does not update the underlying PHP runtime. Verify the running build after the update.

This is a public repository release, not evidence that every Codex client installs the skills automatically or that subscription limits changed. This article summarizes the official sources; it does not report an independent execution of the checker or a completed remediation.

Official sources

3 Upvotes

0 comments sorted by