Index of every page on this site: llms.txt
All skills
openai avatar

/phpcheck-url

@ffcd3fc
by openaiopenai/php2shell-checker1.5k stars
149
Run it yourself

Check the advertised PHP version from a URL or hostname.

Use this Skill: https://skilld.dev/gh/openai/php2shell-checker/phpcheck-url

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈18 tokens for metadata: the name and description. ≈295 when used: this file.

How this Skill uses context

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈71 characters, or 0.9%.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

From this skill's directory, run:

node scripts/phpcheck.js "https://example.com" --json

Use HTTPS for a bare hostname. The checker reads Server and X-Powered-By headers. If the version is hidden, report unknown.

Versions below an upstream fix return potentially_vulnerable with exit code 1. PHP 5.4–5.6, 7.0–7.4, 8.0 and 8.1 also return this warning. A higher patch number on those branches, such as 8.1.35, does not establish a fix.

Exit code 1 is a version-based warning, not proof that the installed package is unpatched. HTTP headers cannot tell whether the version contains a backported fix. Describe the result as potentially vulnerable, never confirmed vulnerable.

An ok result with exit code 0 means only that the advertised stable version meets an upstream fixed release: 8.2.35, 8.3.36, 8.4.27 or 8.5.12. The installed build is not verified. Missing or unrecognized versions, prereleases and failed checks return unknown with exit code 3.

Headers can be changed. A server-side check of the package serving the site is stronger evidence. Do not run exploit probes.

Exit codes 1 and 3 are check results. Invalid arguments exit with code 2.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning28d3 checks · Risk SAFE
  • Gen Agent Trust Hub28d

    This skill provides a utility to check the PHP version of a remote server by inspecting HTTP headers. It includes standard security considerations such as performing network requests to user-specified URLs and processing external data, which are necessary for its primary functionality.

  • Socket28d

    No alerts

  • Snyk28d

    Risk: MEDIUM · 1 issue

Signed by skilld at ffcd3fc. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated last month

README badge

README badge for openai/php2shell-checker/phpcheck-url