Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    PHP AI Page Audit

    2

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    PHP AI Page Audit

    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

    IDSevFile:lineEvidenceFixStatus
    S1P0line 14$wpdb->query("INSERT INTO ... '$name'")Use $wpdb->prepare()Open
    S3P0line 12Missing check_admin_referer or wp_verify_nonceAdd wp_nonce_field and check on POSTOpen
    R1P1line 8function save(array $data = null)Change to ?array $data = null for PHP 8.4Open
    W4P2line 22echo $_POST['message']Use esc_html() on outputOpen

    Syntax / version

    • php -l: No syntax errors detected.
    • 8.4 deprecations: 1 instance of implicit nullable parameter found.

    Deploy gate

    • Placeholder/hash/live: TODO found on line 45.
    • Smoke: N/A (local file audit).

    Next steps

    • Refactor the database query to use the $wpdb->prepare method with %s placeholders.
    • Implement WordPress nonces to prevent cross-site request forgery on the submission handler.
    • Explicitly type the nullable parameter in the save function 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

    1. Inventory stack, PHP version, and attack surface
    2. Scan for P0 security signatures with evidence (file:line)
    3. Check PHP 8.4 / runtime landmines and WP/Laravel extras
    4. Run verify-before-deploy + light smoke discipline
    5. 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.

    No exploit PoCs. Does not guarantee zero vulnerabilities. Static analysis only; no dynamic fuzzing or formal pentest certification provided.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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

    Permissions

    Read Files
    Network Access
    Listed20 days ago

    What's inside

    Frequently Asked Questions

    While generic AI is good at writing code, it often uses outdated functions or misses framework-specific security like WordPress nonces. This skill uses a specialized audit framework specifically designed to catch the unique hallucinations and security gaps common in AI-generated PHP.

    Yes, the skill is specifically updated to flag PHP 8.4 deprecations and breaking changes, such as dynamic property fatals, ensuring your code remains functional after server upgrades.

    The skill is optimized for WordPress, Laravel, and Symfony, but it also provides comprehensive security and syntax auditing for any plain PHP codebase or custom framework.

    No, this is a static analysis and pattern-matching tool that reviews your source code; it does not require access to your live production environment or perform active fuzzing.

    The skill identifies 'P0' security risks including SQL injection, Cross-Site Scripting (XSS), missing CSRF tokens, insecure file uploads, and accidentally committed secrets or API keys.

    New in Security