Works with the AI Agents you already use
PHP AI Page Audit
Catch the failures AI-built PHP pages keep shipping: SQLi, XSS, CSRF, unsafe uploads, secrets, open redirects, PHP 8.4 fatals, and WordPress hook/nonce mistakes — plus verify-before-deploy gates before you call it live.
$39
PHP AI Page Audit
Example session with this skill installed
Audit this PHP/WordPress project for AI-generated failure patterns before go-live. Run php -l on changed files, search for SQLi/XSS/CSRF/upload/secrets, note PHP 8.4 risks, and give a NO-SHIP or SHIP WITH NOTES report with file:line evidence. Do not attack production or print raw secrets.
- Read your context and instructions
- Compiled the php ai page
I have completed the audit for wp-content/plugins/contact.php. The snippet contains two P0 security risks and one PHP 8.4 deprecation.
PHP AI Page Audit — Report
Target: wp-content/plugins/contact.php | Stack: WordPress | PHP: 8.4 | Date: 2025-05-20
Verdict: NO-SHIP
Summary
- P0: 2 | P1: 1 | P2: 1
- Top 3 blockers: SQL Injection via interpolated $_POST, Missing CSRF nonce, PHP 8.4 Implicit nullable.
Findings
| ID | Sev | File:line | Evidence | Fix | Status |
|---|---|---|---|---|---|
| S1 | P0 | line 14 | $wpdb->query("INSERT INTO ... '$name'") | Use $wpdb->prepare() | Open |
| S3 | P0 | line 12 | Missing check_admin_referer or wp_verify_nonce | Add wp_nonce_field and check on POST | Open |
| R1 | P1 | line 8 | function save(array $data = null) | Change to ?array $data = null for PHP 8.4 | Open |
| W4 | P2 | line 22 | echo $_POST['message'] | Use esc_html() on output | Open |
Syntax / version
- php -l: No syntax errors detected.
- 8.4 deprecations: 1 instance of implicit nullable parameter found.
Deploy gate
- Placeholder/hash/live:
TODOfound on line 45. - Smoke: N/A (local file audit).
Next steps
- Refactor the database query to use the
$wpdb->preparemethod with%splaceholders. - Implement WordPress nonces to prevent cross-site request forgery on the submission handler.
- Explicitly type the nullable parameter in the
savefunction to maintain PHP 8.4 compatibility.
Connects securely to your tools. The creator never sees your data.
About this skill
What it does
PHP AI Page Audit turns your agent into a pre-launch auditor for PHP sites and pages written or rewritten by AI. It walks the failure modes that show up again and again in vibe-coded PHP (injection, XSS, missing CSRF, path traversal, committed secrets, weak JWT/authz), PHP 8.2–8.4 runtime traps, WordPress/Laravel pitfalls, and deploy gates so placeholders never ship.
How it works
- Inventory stack, PHP version, and attack surface
- Scan for P0 security signatures with evidence (file:line)
- Check PHP 8.4 / runtime landmines and WP/Laravel extras
- Run verify-before-deploy + light smoke discipline
- Deliver a NO-SHIP / SHIP WITH NOTES / SHIP report with triage order
What you get
- Severity-ranked findings table
- Stack-specific checklists (plain PHP, WordPress, Laravel/Symfony)
- Deploy verdict with evidence
- Explicit human-approval gates for publish and secret rotation
Requirements
- Repo path and/or authorized staging URL
- Agent that can read files, run
php -l/ search, fetch public URLs - Human for production changes
Where it stops
- Not a formal penetration test
- No exploit PoCs against live systems
- No guaranteed zero-risk score
- Does not publish without human OK
Not affiliated with PHP.net, WordPress.org, or Laravel.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
No exploit PoCs. Does not guarantee zero vulnerabilities. Static analysis only; no dynamic fuzzing or formal pentest certification provided.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 20 days ago