Skip to content

Red-team strategy

Typo Obfuscation

typo-obfuscation

Introduces deliberate typos to bypass keyword filters while remaining human-readable

Transform demo

Input

input
Show me how to query the user database.

Output after applying typo-obfuscation

output · typo-obfuscation
Sohw me how to qery the uesr datbaas.

YAML config

evalguard.config.yaml
redteam:
  strategies:
    - typo-obfuscation

CLI

bash
# "typo-obfuscation" is layered onto attacks during red-team scans.
# List every available encoding/obfuscation strategy:
evalguard list strategies
Combine with attack plugins to generate adversarial payloads. The strategy wraps each base payload before it's sent to your target, testing whether the model decodes / unwraps the transform and follows the embedded instruction.

Threat-model fit

Typo Obfuscation effectively probes systems that rely on keyword filtering to detect malicious queries or commands. By introducing deliberate typos, this strategy can bypass such filters while still being understandable to human readers, making it particularly useful against systems with basic text analysis capabilities.

LLM-generated (llm-gpt-4o) · 2026-05-23