Red-team strategy
GCG Adversarial Suffix
gcgAppends adversarial suffix tokens (Greedy Coordinate Gradient style) to confuse model tokenizers. The static transform emits format-accurate suffixes; runAdaptive iteratively searches suffixes against a live target.
YAML config
evalguard.config.yaml
redteam:
strategies:
- gcgCLI
bash
# "gcg" is layered onto attacks during red-team scans.
# List every available encoding/obfuscation strategy:
evalguard list strategiesThreat-model fit
The GCG Adversarial Suffix strategy effectively probes models that rely heavily on tokenization and sequence understanding. It is particularly useful against systems that may misinterpret or mishandle unexpected token patterns, leading to potential information leakage or misclassification.
LLM-generated (llm-gpt-4o) · 2026-05-23