Skip to content

Red-team strategy

ANSI Terminal-Escape Framing

ansi-escape

Frames the payload in ANSI escape sequences (conceal SGR, black-on-black, clear-line overwrite, OSC-8 link)

YAML config

evalguard.config.yaml
redteam:
  strategies:
    - ansi-escape

CLI

bash
# "ansi-escape" 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.