XSS Testing Playbook

    by Mr Vempire

    1

    A systematic playbook for finding and proving reflected, stored, and DOM-based XSS with zero false positives.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    XSS Testing Playbook

    Example session with this skill installed

    I found a search parameter that reflects my input inside a value attribute. How do I confirm if this is a reflected XSS vulnerability and what should I put in my report?

    • Read your context and instructions
    • Compiled the xss testing playbook

    I have analyzed the reflection context for the search parameter. Since the input lands inside a value attribute, a simple script tag will likely fail. You must first break out of the attribute context.

    Reflected XSS Confirmation: Search Parameter

    FieldDetail
    Vulnerability TypeReflected XSS
    Injection Pointq URL parameter
    Reflection ContextHTML Attribute (<input type="text" value="[INPUT]">)
    Payload ClassAttribute Breakout
    Confirmed Payload"><img src=x onerror=alert(document.domain)>
    Execution StatusConfirmed in clean Chromium session
    SeverityMedium (Authenticated)

    Technical Summary

    The application fails to properly attribute-encode the q parameter before rendering it. By providing a leading ">, the input terminates the current input tag and injects a new img element with an onerror handler. This allows for arbitrary JavaScript execution in the victim's browser context.

    Remediation

    Apply HTML attribute encoding to the q parameter before rendering it within the value attribute. Ensure that characters like " are converted to &quot;. Additionally, implement a Content Security Policy (CSP) that restricts unsafe-inline scripts.

    Next steps

    1. Capture a screenshot of the alert(document.domain) popup on the target page.
    2. Check if the same parameter is reflected anywhere else, such as in a "No results found for..." message.
    3. Save the findings to confirmed-findings-report.md.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    XSS vulnerabilities remain a leading cause of account takeover and data theft, yet they are often missed by automated scanners or reported as unverified possibilities. This skill provides a systematic playbook for identifying and proving reflected, stored, and DOM-based XSS with zero false positives.

    What it does

    • Map attack surfaces by building a comprehensive inventory of all form fields, URL parameters, headers, and API endpoints.
    • Trace data flow using inert marker strings to identify exactly where and how input is reflected in the HTML or JavaScript context.
    • Execute targeted payloads using a tiered approach from basic tag injection to complex filter bypasses and attribute breakouts.
    • Verify stored vulnerabilities by testing cross-account persistence, specifically targeting high-impact admin moderation queues and profile views.
    • Audit DOM-based sinks by tracing dangerous sources like location.hash and postMessage into sinks like innerHTML or eval.
    • Generate proof-of-concept reports that include reproduction steps, payload classes, and specific remediation advice for developers.

    How it works

    1. Inventory phase where you identify every user-controlled input and its corresponding output location in the application.
    2. Context analysis using unique marker strings to determine if the output is reflected in a tag, attribute, or script block.
    3. Payload selection based on the detected context, starting with payloads.md to find the minimal viable execution.
    4. Clean-room reproduction to confirm the vulnerability fires in a fresh browser session without extensions or false triggers.

    Frameworks & tools

    Works with any web stack including React, Vue, Angular, and server-side templates. Requires a browser with developer tools and an intercepting proxy like Burp Suite or OWASP ZAP.

    Why this beats prompting it yourself

    Generic prompts often return noisy lists of generic payloads that trigger WAFs or fail in specific HTML contexts. This skill enforces a context-aware methodology and a strict confirmation rule, ensuring every reported bug is reproducible and actionable.

    Use cases

    • Performing a web penetration test where high-confidence evidence is required.
    • Reviewing new features that render user-supplied content or rich text.
    • Verifying if a developer's fix effectively neutralizes a previously found XSS.
    • Participating in bug bounty programs where proof-of-concept quality impacts rewards.

    Known limitations

    Requires manual interaction with a browser and proxy. Does not support automated blind XSS testing or exfiltration-based proof of concepts.

    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 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 4 days ago

    Permissions

    No special permissions declared or detected

    Listed4 days ago

    What's inside

    Creator

    Mr Vempire

    Mr Vempire

    32 skills on Agensi

    Frequently Asked Questions

    This skill provides a structured methodology and payload selection logic to eliminate the 'noise' of automated scanners, ensuring every vulnerability you find is verifiable and has a valid proof-of-concept.

    The skill is designed to work with any LLM capable of complex reasoning (e.g., GPT-4, Claude 3.5 Sonnet) and can be used as a standalone guide or integrated into custom security agent workflows.

    You receive the full systematic playbook, a curated library of context-specific payloads (payloads.md), and a reporting template designed to produce professional-grade vulnerability disclosures.

    No, this is a semi-automated methodology that requires you to use a browser and an intercepting proxy like Burp Suite or OWASP ZAP to observe data flow and confirm triggers.

    Yes, the playbook includes logic specifically for auditing modern Javascript frameworks by tracing dangerous sinks like innerHTML and sources like postMessage.

    The playbook is updated quarterly to include new bypass techniques for modern Web Application Firewalls (WAFs) and to address evolving browser security headers.

    New in Security

    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.