← Lab /Security & privacy

AI-generated request variations uncover missed XSS, path traversal and email-splitting bugs

Shadow Repeater’s AI-generated payload variations can automatically discover previously missed vulnerabilities such as XSS, path traversal, and email splitting during manual testing.

Security & privacy PortSwigger Research 20 Feb 2025 Tooling Deployed evidence

Published as “Shadow Repeater:AI-enhanced manual testing”

Why it matters

Integrating AI-generated payload variations into manual testing can surface hidden vulnerabilities without altering the tester’s workflow.

Summary

Shadow Repeater is a Burp Suite extension that watches Repeater traffic, extracts changed parameters, and sends them to an AI model to generate payload variants. The generated variants are automatically sent to the target and response diffing is used to spot new code paths. In internal testing the approach uncovered hidden XSS vectors, successful path-traversal attempts, and a previously unknown email-splitting vulnerability. The evidence is anecdotal and based on the authors’ own experiments rather than a systematic evaluation.

What they found 2

  1. The technique can discover hidden XSS, path traversal, and email-splitting vulnerabilities

    “This technique was able to find that spaces are allowed in a XSS vector, if a path traversal vector actually works and even unknown vulnerabilities such as email splitting attacks.”

  2. Shadow Repeater can automatically surface bugs missed due to syntax, encoding, or typo errors

    “Shadow Repeater aids deep, targeted testing by analysing your payloads so when you have a near miss due to sending the wrong syntax, incorrect encoding, file path, or simply a typo, it can find the bug for you.”

Caveats 3

  • Shadow Repeater is only invoked after the 5th Repeater request and requires a parameter or header to be changed.
  • By default, Shadow Repeater gets invoked on the 5th repeater request you make, and it requires a parameter or header to be changed.
  • Only the changed parameter values are sent to the AI model, limiting the context available for generation.

What’s new here 4

  • AI-driven automatic generation of payload variants from manual Repeater inputs
  • Request Differ that isolates only the changed parameter values before sending to the AI
  • Response diffing that flags new or altered server behavior for each variant
  • Discovery of unconventional bugs such as email-splitting attacks without explicit test cases