Expand description
Obfuscation-aware decode chain for paste detection.
Attackers wrap injection payloads in percent / HTML / base64 / Unicode
disguise so a naive substring scan misses them. decode_chain applies
all four layers in sequence so the downstream detector
(crate::paste::detector::scan) sees the normalized form.
Functions§
- decode_
chain - Apply the full decode chain: percent → HTML → base64 → Unicode NFKC.