php-filesystem-audit

Community

Trace PHP FS risks with verifiable evidence.

Author0xShe
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PHP 文件系统操作审计工具聚焦在对文件系统相关操作的安全性分析,特别是路径校验、归一化、落点写入/包含链以及 TOCTOU 等竞态条件的风险,提供可用于证据链的分析结果与利用性证据。

Core Features & Use Cases

  • 目录与权限相关操作的风险点分析:mkdir/chmod/chown/unlink/rmdir/link/symlink/readlink/touch 等操作的潜在安全漏洞。
  • 路径控制与落点链路分析:对路径校验、baseDir 与前缀校验的实际影响进行追踪,评估写入/包含链条的风险。
  • TOCTOU 与竞态分析:识别检查-使用分离模式中的时序漏洞并给出改进建议与可观测证据。

Quick Start

Run this skill on a PHP project to surface filesystem operation risks and generate traceable evidence for TOCTOU and path validation weaknesses.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: php-filesystem-audit
Download link: https://github.com/0xShe/PHP-Code-Audit-Skill/archive/main.zip#php-filesystem-audit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.