Pentest Encode
pentest_encode_payloadTransform a payload string through an ordered encoding chain for authorized filter research. Results include the final value, intermediate values, optional decode path and rationale, and detection guidance. All transforms are local; no live probing occurs.
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": {
"payload": "<payload>",
"chain": "<chain>"
},
"name": "pentest_encode_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Ordered list of encodings to apply (1–6 steps). Applied left to right. E.g., ["unicode", "url"] applies Unicode escape first, then URL-encodes the result. | |
| explain | No | Whether to include the decode path and bypass rationale. | |
| payload | Yes | Input payload string to encode. Max 10,000 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| encoded | No | Final encoded payload after all chain steps applied. | |
| original | No | The input payload. | |
| decode_path | No | Step-by-step explanation of how a decoder (WAF, server, browser) would reverse the encoding chain. Included when explain is true. | |
| detection_note | No | Detection methods for encoded variants, including normalization and behavior signals. | |
| bypass_rationale | No | Why this encoding combination might bypass common filter patterns. Included when explain is true. | |
| intermediate_steps | No | Intermediate values at each encoding step, for tracing the chain. | |
| authorized_use_reminder | No | Reminder that encoding transforms are for authorized bypass research only. |