Agent skill

Php Thinkphp Audit

by 0xShe in 0xShe/PHP-Code-Audit-Skill

ThinkPHP 框架特效安全审计工具。针对 ThinkPHP 常见的鉴权/CSRF/模板转义/ORM 写入(Mass Assignment)/调试与配置暴露等机制进行白盒静态审计,并映射到通用漏洞类型体系(AUTH/CSRF/TPL/XSS/LOGIC/CFG/SESS/SQL 等)。

No licenceAuto-check passedSecurity

Install Php Thinkphp Audit

skills CLI
$ npx skills add 0xShe/PHP-Code-Audit-Skill --skill php-thinkphp-audit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 0xShe/PHP-Code-Audit-Skill php-thinkphp-audit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/0xShe/PHP-Code-Audit-Skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/php-thinkphp-audit .claude/skills/php-thinkphp-audit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
php-thinkphp-audit
GitHub stars
402
Used in
1 other repo
Token cost
~779 tokens
SKILL.md length
223 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
None found

At a glance

ThinkPHP 框架特效安全审计工具。针对 ThinkPHP 常见的鉴权/CSRF/模板转义/ORM 写入(Mass Assignment)/调试与配置暴露等机制进行白盒静态审计,并映射到通用漏洞类型体系(AUTH/CSRF/TPL/XSS/LOGIC/CFG/SESS/SQL 等)。

  • Works in 6 steps: 鉴权与权限控制(AUTH) → CSRF 防护(CSRF) → 模板引擎转义与 raw 输出(XSS/TPL) → …
  • Tasks that involve Web application vulnerabilities
  • SKILL.md covers 输入, 输出目录, 框架识别(必做) and 风险类型映射(必做), plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Php Thinkphp Audit is an agent skill from 0xShe/PHP-Code-Audit-Skill. ThinkPHP 框架特效安全审计工具。针对 ThinkPHP 常见的鉴权/CSRF/模板转义/ORM 写入(Mass Assignment)/调试与配置暴露等机制进行白盒静态审计,并映射到通用漏洞类型体系(AUTH/CSRF/TPL/XSS/LOGIC/CFG/SESS/SQL 等)。

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Web application vulnerabilities, ORMs and data access and SQL. It works with PHP and SQL. The repository describes itself as: PHP-Code-Audit-Skill是一个专注于PHP代码审计的Skill.

When your agent uses it

  • Tasks that involve Web application vulnerabilities
  • Tasks that involve ORMs and data access
  • Tasks that involve SQL

Example prompts

  • “/php-thinkphp-audit”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. 鉴权与权限控制(AUTH)
  2. CSRF 防护(CSRF)
  3. 模板引擎转义与 raw 输出(XSS/TPL)
  4. ORM 写入链路(LOGIC:Mass Assignment)
  5. 数据库原生表达式/原始 SQL 风险(SQL)
  6. 安全配置与调试暴露(CFG/SESS)

What it can do on your machine

Read from SKILL.md and the folder at commit 69d883e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Php Thinkphp Audit loads about 779 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 223 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~779

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 223 words (~779 tokens).

name
php-thinkphp-audit

Read the full SKILL.md on GitHub

Files

Just SKILL.md in php-thinkphp-audit of 0xShe/PHP-Code-Audit-Skill.

Open the folder on GitHubat commit 69d883e

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in 0xShe/PHP-Code-Audit-Skill, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Php Thinkphp Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Php Thinkphp Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Php Thinkphp Audit this skill0xShe/PHP-Code-Audit-Skill4021 repos~779Automated safety check: PassNone
Php Injection Auditwgpsec/AboutSecurity1.8k—~965Automated safety check: PassNone
Sast Sqliutkusen/sast-skills1.3k—~6kAutomated safety check: PassMIT
WebMuWinds/BUUCTF_Agent267—~463Automated safety check: PassApache-2.0
Query Builderthalysjuvenal/advpl-specialist185—~594Automated safety check: PassMIT
Frappe Syntax Query BuilderImpertio-Studio/Frappe_Claude_Skill_Package187—~1.7kAutomated safety check: PassMIT

Similar skills

  • Php Injection Audit

    wgpsec/AboutSecurity

    PHP 源码注入类漏洞审计。当在 PHP 白盒审计中需要检测注入类漏洞时触发. An agent skill from wgpsec/AboutSecurity.

    1.8k GitHub stars~965 tokensUpdated 3 days ago
    DatabasesAuto-check passed
  • Sast Sqli

    utkusen/sast-skills

    Detect SQL injection vulnerabilities in a codebase using a three-phase approach: recon (find unsafe SQL construction sites), batched verify (trace user input to those sites in parallel subagents, 3…

    1.3k GitHub stars~6k tokensUpdated 6 mo ago
    SecurityAuto-check passed
  • Web

    MuWinds/BUUCTF_Agent

    Web 安全攻防技术,包括 SQL 注入、XSS、文件上传、命令注入、SSRF、反序列化等常见漏洞的识别与利用. An agent skill from MuWinds/BUUCTF_Agent.

    267 GitHub stars~463 tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Query Builder

    thalysjuvenal/advpl-specialist

    A skill your agent uses when the user needs to build, choose the pattern for, or optimize a SQL query against Protheus ERP tables -- covering Workarea (DbSelectArea/DbSeek) vs Embedded SQL vs…

    185 GitHub stars~594 tokensUpdated 23 days ago
    DatabasesAuto-check passed
  • Frappe Syntax Query Builder

    Impertio-Studio/Frappe_Claude_Skill_Package

    A skill your agent uses when building database queries with frappe.qb in Frappe v14-v16.

    187 GitHub stars~1.7k tokensUpdated 20 days ago
    DatabasesAuto-check passed
  • Java Injection Audit

    wgpsec/AboutSecurity

    Java 源码注入类漏洞审计。当在 Java 白盒审计中需要检测注入类漏洞时触发. An agent skill from wgpsec/AboutSecurity.

    1.8k GitHub stars~1.1k tokensUpdated 3 days ago
    DatabasesAuto-check passed

More from 0xShe/PHP-Code-Audit-Skill

All 32 skills in this repo
  • Php Archive Extract Audit

    0xShe/PHP-Code-Audit-Skill

    PHP Web 归档解压(Zip Slip/路径穿越)审计工具。识别解压条目名如何与目标目录拼接、是否存在 base dir 约束缺失,输出可利用性分级、可观测 PoC 与修复建议(禁止省略)。

    402 GitHub starsUsed in 1 repo~883 tokens
    Auto-check passed
  • Php Audit Pipeline

    0xShe/PHP-Code-Audit-Skill

    PHP Web 全链路白盒代码安全审计流水线(多文件版编排)。作为总编排参考,按 Sink 类型调用各子审计 skill(php-route-mapper/php-auth-audit/php-route-tracer/php--audit),并复用统一输出与分级标准。

    402 GitHub starsUsed in 1 repo~4.9k tokens
    Auto-check passed
  • Php Auth Audit

    0xShe/PHP-Code-Audit-Skill

    PHP Web 源码鉴权机制审计工具。从源码中识别所有认证/鉴权实现并分析风险,输出路由-鉴权映射与漏洞分析(含 PoC 与修复建议)。

    402 GitHub starsUsed in 1 repo~951 tokens
    Auto-check passed
  • Php Cmd Audit

    0xShe/PHP-Code-Audit-Skill

    PHP Web 源码命令注入审计工具。识别命令执行 Sink(exec/system/shellexec 等),追踪用户输入进入命令拼接,输出可利用性分级、PoC 与修复建议(禁止省略)。

    402 GitHub starsUsed in 1 repo~465 tokens
    Auto-check passed
  • Php Codeigniter Audit

    0xShe/PHP-Code-Audit-Skill

    CodeIgniter 框架特效安全审计工具。针对 CodeIgniter 的 CSRF、XSS 输出过滤、数据库查询构造、路由与验证器配置、会话 Cookie 安全等机制进行白盒静态审计,并映射到通用漏洞类型体系(CSRF/AUTH/XSS/SQL/CFG/SESS 等)。

    402 GitHub starsUsed in 1 repo~477 tokens
    Auto-check passed
  • Php Config Audit

    0xShe/PHP-Code-Audit-Skill

    PHP Web 配置安全审计工具。识别 CORS/错误暴露/调试开关/安全头/危险运行时开关等,输出分级、可利用性分析、PoC 与修复建议(禁止省略)。

    402 GitHub starsUsed in 1 repo~417 tokens
    Auto-check: notes

Works with

Questions about Php Thinkphp Audit

What does Php Thinkphp Audit do?

ThinkPHP 框架特效安全审计工具。针对 ThinkPHP 常见的鉴权/CSRF/模板转义/ORM 写入(Mass Assignment)/调试与配置暴露等机制进行白盒静态审计,并映射到通用漏洞类型体系(AUTH/CSRF/TPL/XSS/LOGIC/CFG/SESS/SQL 等)。. Php Thinkphp Audit is an agent skill from 0xShe/PHP-Code-Audit-Skill.

When should I use Php Thinkphp Audit?

Php Thinkphp Audit fits situations like: tasks that involve Web application vulnerabilities; tasks that involve ORMs and data access; tasks that involve SQL.

How do I install Php Thinkphp Audit in Claude Code?

Run `npx skills add 0xShe/PHP-Code-Audit-Skill --skill php-thinkphp-audit -a claude-code`. Or copy the skill folder (php-thinkphp-audit in 0xShe/PHP-Code-Audit-Skill) into .claude/skills/php-thinkphp-audit in your project. Claude Code loads it when a task matches its description.

How do I install Php Thinkphp Audit in Codex?

Run `npx skills add 0xShe/PHP-Code-Audit-Skill --skill php-thinkphp-audit -a codex`. Or copy the skill folder (php-thinkphp-audit in 0xShe/PHP-Code-Audit-Skill) into .agents/skills/php-thinkphp-audit in your project. Codex loads it when a task matches its description.

Can I use Php Thinkphp Audit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 0xShe/PHP-Code-Audit-Skill --skill php-thinkphp-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/php-thinkphp-audit, .gemini/skills/php-thinkphp-audit, .github/skills/php-thinkphp-audit and .opencode/skills/php-thinkphp-audit in your project.

What does Php Thinkphp Audit need to run?

SKILL.md names no scripts, command-line tools or credentials: Php Thinkphp Audit is instructions for the agent only.

Does Php Thinkphp Audit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Php Thinkphp Audit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Php Thinkphp Audit use?

No licence was found for Php Thinkphp Audit or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Php Thinkphp Audit use?

About 779 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Php Thinkphp Audit?

Skills that share tags, products or a category with Php Thinkphp Audit: Php Injection Audit (wgpsec/AboutSecurity, 1.8k stars), Sast Sqli (utkusen/sast-skills, 1.3k stars), Web (MuWinds/BUUCTF_Agent, 267 stars) and Query Builder (thalysjuvenal/advpl-specialist, 185 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Php Thinkphp Audit?

0xShe (a GitHub user) maintains it in 0xShe/PHP-Code-Audit-Skill, which has 402 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on March 25, 2026.

Source: 0xShe/PHP-Code-Audit-Skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.