Skill / SKILL.md

Filesystem Security

wpultimatesecurity/WordPress-Security-Skills

Use when reading, writing, including, or deleting files from paths that include user input - include / require, readfile, unlink, file_get_contents, or the WP_Filesystem API. Validates paths with validate_file, normalizes with wp_normalize_path, confines operations to an allowed base directory, and uses wp_delete_file / WP_Filesystem. Prevents path traversal, local file inclusion, and arbitrary file deletion.
3 views 57 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when reading, writing, including, or deleting files from paths that include user input - include / require, readfile, unlink, file_get_contents, or the WP_Filesystem API. Validates paths with validate_file, normalizes with wp_normalize_path, confines operations to an allowed base directory, and uses wp_delete_file / WP_Filesystem. Prevents path traversal, local file inclusion, and arbitrary file deletion.

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/filesystem-security directory with your client’s skill installer.

  • skills/filesystem-security

    dev · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/filesystem-security

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
d44d21f74ce814378b64f35eee8d34dbb3068066562b9ef819f59bcc9eece0fb
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills