xss_payload_generate
Generate XSS payloads for security testing, tailored to injection contexts like HTML or JavaScript with optional filter evasion techniques.
Instructions
Generate context-appropriate XSS payloads with optional filter evasion. Returns a list of payloads tailored to the injection context and filter bypass requirements. Returns context, filter_bypass, payloads array, notes. Side effects: None. Pure payload generation, no network requests.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context": "<context>"
},
"name": "xss_payload_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Injection context: where the user input lands | |
| filter_bypass | No | Level of filter evasion needed | |
| callback_url | No | Attacker-controlled URL for data exfiltration payloads |