Skip to content
Skill

Php unserialize audit

Audit PHP engine deserialization surface (unserialize, session decoders, WDDX, phar metadata, custom ce->unserialize handlers, Serializable

Install
Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
85
Last commit
7 months ago
License
MIT
Listing updated
today

When your agent uses it

Audit PHP engine deserialization surface (unserialize, session decoders, WDDX, phar metadata, custom ce->unserialize handlers, Serializable implementers, magic-method dispatch during deserialization) for UAF via R:/r: back-references, type confusion, partial-object __destruct, signed-length heap overflow, and parse inconsistency. Gathers zval / HashTable / var_hash semantics before launching parallel sonnet agents. Opus verifies HIGH/MEDIUM findings. For general (non-deserialization) PHP memory-safety bugs like user-callback reentrancy UAFs, use /php-audit instead.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (29 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Install

This skill ships in the php-unserialize-audit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add califio/skills
/plugin install php-unserialize-audit@califio

Or copy only this skill to ~/.claude/skills/php-unserialize-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/califio/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/php-unserialize-audit &&
cp -R "$tmp/plugins/php-unserialize-audit/skills/php-unserialize-audit" ~/.claude/skills/php-unserialize-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/php-unserialize-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/php-unserialize-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/califio/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/php-unserialize-audit &&
cp -R "$tmp/plugins/php-unserialize-audit/skills/php-unserialize-audit" ~/.agents/skills/php-unserialize-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/php-unserialize-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/php-unserialize-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/califio/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/php-unserialize-audit &&
cp -R "$tmp/plugins/php-unserialize-audit/skills/php-unserialize-audit" ~/.cursor/skills/php-unserialize-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/php-unserialize-audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/califio/skills.git --path plugins/php-unserialize-audit/skills/php-unserialize-audit

Or copy the folder to ~/.gemini/skills/php-unserialize-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/php-unserialize-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/califio/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/php-unserialize-audit &&
cp -R "$tmp/plugins/php-unserialize-audit/skills/php-unserialize-audit" ~/.copilot/skills/php-unserialize-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/php-unserialize-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/califio/skills.git

Then copy skills/plugins/php-unserialize-audit/skills/php-unserialize-audit into your agent's skills folder as php-unserialize-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

Php unserialize audit FAQ

How do I install Php unserialize audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/php-unserialize-audit to use it in all your projects, or to .claude/skills/php-unserialize-audit in one project. Or install the php-unserialize-audit plugin, which includes it: /plugin marketplace add califio/skills, then /plugin install php-unserialize-audit@califio.

Does Php unserialize audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Php unserialize audit?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.