Skill / SKILL.md

Object Injection Deserialization

wpultimatesecurity/WordPress-Security-Skills

Use when code calls unserialize, maybe_unserialize, or stores serialized PHP in options, meta, or transients from untrusted input. Avoids unserialize on attacker-controlled data, prefers json_encode / json_decode, and when unserialize is unavoidable passes ['allowed_classes' => false]. Prevents PHP object injection and POP-chain remote code execution.
2 views 57 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when code calls unserialize, maybe_unserialize, or stores serialized PHP in options, meta, or transients from untrusted input. Avoids unserialize on attacker-controlled data, prefers json_encode / json_decode, and when unserialize is unavoidable passes ['allowed_classes' => false]. Prevents PHP object injection and POP-chain remote code execution.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wpultimatesecurity/WordPress-Security-Skills' skill-source

Use the complete skill-source/skills/object-injection-deserialization directory with your client’s skill installer.

  • skills/object-injection-deserialization

    dev · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/object-injection-deserialization

Compatibility & requirements

Declared compatibility

Examples generally use PHP 7.4 syntax; check each API against target WordPress/PHP versions. Use maintained WordPress and supported PHP in production. Shell examples require their named tools.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
144651b9ce9fb35dfcf2564c193c96ff83ef350d77cd9b38feaf98c6d30f8167
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills