Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add trilwu/secskills --skill auditing-php-applicationsgit clone --depth 1 https://github.com/trilwu/secskillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/trilwu/secskills/auditing-php-applications)<a href="https://agentmods.dev/skills/trilwu/secskills/auditing-php-applications"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/auditing-php-applications/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/trilwu/secskills/auditing-php-applications"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/auditing-php-applications.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00129 | $0.02813 |
| Opus 5.5 | $0.00052 | $0.01125 |
| Sonnet 5.5 | $0.00026 | $0.00563 |
| Haiku 4.5 | $0.00013 | $0.00281 |
Grade A, and why
auditing-php-applications scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- `file_get_contents`/`curl`/`fopen` on a user-supplied URL is SSRF — route the How it starts
The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Auditing PHP Applications
This is the PHP-specific layer on top of auditing-code-for-vulnerabilities.
Take the methodology from that skill — context → attack surface → bug-class
hunt → variant analysis → the four-question verification gate — and apply the
PHP sink catalog below to it. This skill exists because PHP has footguns no
language-agnostic methodology carries: features that turn a file read into
remote code execution, and comparison rules that turn == into an auth bypass.
The collection deliberately has no per-language audit skills except this one. PHP earns the exception because it dominates the legacy-web and WordPress/Magento space where critical bugs actually live, and because its dynamic features fail in ways a reviewer must be primed for specifically.
When to Use
- Reviewing a PHP codebase or plugin for exploitable vulnerabilities
- Auditing a WordPress, Magento, Joomla, or Laravel application's source
- Tracing a suspected RCE, LFI, SQLi, or object-injection path in PHP
- Deciding whether a
unserialize,include, or==on user input is exploitable
When NOT to Use
- General audit methodology, or a non-PHP language — use
auditing-code-for-vulnerabilities; this skill assumes it - Finding a planted webshell or backdoor rather than a vulnerability — use
hunting-web-backdoors - Building the deserialization exploit chain once you have the sink — use
exploiting-deserialization - Black-box testing a running app — use
testing-web-applications - Reviewing only the diff of a change — use
reviewing-code-changes
Sinks by Bug Class
Trace user input (superglobals, headers, uploaded filenames, DB values that were once user input) to each of these. A sink is only a bug when a source reaches it.
Remote code execution
- Direct eval sinks:
eval,assert(string arg, pre-8.0),preg_replacewith/e(pre-7.0),create_function(pre-8.0),mb_ereg_replace/mb_eregi_replacewith theeoption. - Command execution:
system,exec,passthru,shell_exec, backticks,proc_open,popen,pcntl_exec. Watchescapeshellargvsescapeshellcmdmisuse —escapeshellcmddoes not prevent argument injection. - Dynamic dispatch:
$func()where$funcderives from input,call_user_func/call_user_func_array,array_map/usort/preg_replace_callbackwith a user-influenced callback.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 209 lines · 129 tokens per session scan A f9950f49df43
auditing-php-applications is a skill published in the GitHub repository trilwu/secskills (217 stars, last pushed 3mo ago), licensed MIT. It adds 129 tokens to every session and 2,813 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
auditing-php-applications compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| auditing-php-applicationstrilwu/secskills | Skill | 217 | 3mo ago | MIT | A | 129 | Claude Code |
| mvc-expertroedyrustam/vibes-plug | Skill | 132 | today | MIT | A | 30 | Cursor |
| loom-phpcosmix/loom | Skill | 66 | 2d ago | MIT | A | 15 | Claude Code, Codex |
| phpnimadorostkar/Claude-Skills-collection | Skill | 41 | 4d ago | MIT | A | 96 | Claude Code |
| yao-geoflow-templateyaojingang/yao-geo-skills | Skill | 939 | 2mo ago | MIT | A | 94 | Codex |
| bitrix-eventsXCode-NLP/KodaSkills | Skill | 28 | 9d ago | MIT | A | 52 | Claude Code, Codex |
| bitrix-project-structureXCode-NLP/KodaSkills | Skill | 28 | 9d ago | MIT | A | 79 | Claude Code, Codex |