Registry / wgpsec

wgpsec/aboutsecurity/php-file-audit

PHP 源码文件操作类漏洞审计。当在 PHP 白盒审计中需要检测文件相关漏洞时触发。 覆盖 5 类文件风险: 任意文件上传(类型绕过/路径穿越/二次渲染)、任意文件读取(include/fread/路径穿越)、 任意文件写入(日志注入/配置覆盖)、文件系统竞争(TOCTOU/符号链接)、归档提取漏洞(Zip Slip)。 需要 php-audit-pipeline 提供的数据流证据。

Agent skill · version 0.0.0-master.1794415684.gc0d3a46 · from wgpsec/AboutSecurity

Install

npx yarkr-cli add skill:wgpsec/aboutsecurity/php-file-audit

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:wgpsec/aboutsecurity/php-file-audit
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:wgpsec/aboutsecurity/php-file-audit

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:wgpsec/aboutsecurity/php-file-audit

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.