Input-transformation and normalization attacks — exploiting server-side decoding/normalization (Unicode NFKC/NFKD, case-folding, best-fit/WorstFit mapping, double/overlong encoding, truncation) so a sanitized value becomes dangerous after transformation. Tier 1. Payloads: payloads/waf-bypass.md. Use when filters sanitize before a later decode/normalize step.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Input Transformation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-input-transformation)
---
name: input-transformation
description: "Input-transformation and normalization attacks — exploiting server-side decoding/normalization (Unicode NFKC/NFKD, case-folding, best-fit/WorstFit mapping, double/overlong encoding, truncation) so a sanitized value becomes dangerous after transformation. Tier 1. Payloads: payloads/waf-bypass.md. Use when filters sanitize before a later decode/normalize step."
---
# Input Transformation / Normalization Attacks
When the app validates input, then decodes or normalizes it afterward, a benign-looking value can mutate into a payload. A cross-cutting bypass primitive.
## Trigger phrases
`unicode normalization, nfkc, best fit mapping, worstfit, overlong encoding, normalization bypass, input transformation`
## Techniques
- **Unicode normalization (NFKC/NFKD):** characters that fold to dangerous ASCII after validation — `﹤`/`<`→`<`, full-width letters → ASCII (bypass keyword/char filters); feeds XSS/SQLi/path traversal.
- **Best-fit / WorstFit mapping [NEW/RARE]:** Windows ANSI/codepage best-fit conversion maps e.g. `Yen`/fullwidth chars to `\` or `/` → path traversal / argument injection after conversion.
- **Case folding:** Turkish-İ and other locale case rules change identifiers/filters.
- **Encoding layers:** double/overlong UTF-8, decode-after-validate, mixed encodings (→ `waf-bypass.md`).
- **Truncation:** length limits that cut a value into a different meaning; null-byte/whitespace trimming.
## Method
Identify a validate-then-transform pipeline; craft input that passes validation but transforms into the payload at use; confirm the transformed value reaches the sink. Then route impact to the matching class (XSS/SQLi/traversal/injection).
## Escalation
Turns a "blocked" injection into a working one; often the missing piece for WAF/filter bypass.
## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).
## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.
## Evidence
The pre-transform (validated) input, the post-transform value at the sink, and the resulting exploit.