sanitize_curl_and_http_dump
Scrub sensitive values from DevTools cURL commands, raw HTTP/1.1 dumps, and .env or DSN strings, replacing them with correlated token tags for safe, shareable repros.
Instructions
Scrub browser DevTools "Copy as cURL" commands (including multi-line continuations and ANSI-C $'...' quotes), raw HTTP/1.1 request dumps, and .env or database DSN strings into safe, shareable repro commands with correlation-preserving token tags.
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": {
"rawInput": "<rawInput>"
},
"name": "sanitize_curl_and_http_dump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rawInput | Yes | Raw DevTools Copy-as-cURL command, HTTP request/response dump, or .env / DSN text to scrub. | |
| scrubIpv4 | No | Scrub inline IPv4 addresses into correlated [IPV4#N_hash] tags. | |
| scrubEmail | No | Scrub inline email addresses into correlated [EMAIL#N_hash] tags. | |
| scrubPhone | No | Scrub inline phone numbers into correlated [PHONE#N_hash] tags. | |
| sessionSalt | No | Optional deterministic salt string for reproducible HMAC-SHA256 correlation tags. | |
| referenceTimeIso | No | Optional ISO-8601 timestamp used to evaluate JWT exp/nbf deltas inside headers or payloads. | |
| customRegexPattern | No | Optional custom regular expression pattern to redact organization-specific internal tokens. |