Working with Payloads
GuideWhat Is a Payload?
A payload is any prompt sent to the target model. Wallbreaker provides three layers for constructing payloads:
- Presets — Ready-made single-shot templates (
presettool,/presetcommand) - Transforms — Chainable encoding/obfuscation passes (
parseltonguetool,/encodecommand) - Mutate — LLM-aided anti-classifier rewrites (
mutatetool)
Using Presets
Presets are prompt templates with a {request} placeholder. Fire one directly:
The preset tool fills the template and sends it to the target. Browse all presets with /preset list (bare /preset does the same).
Applying Transforms
Transforms encode a payload before firing. Chain multiple transforms together:
The target receives the encoded text. If the target responds in the same encoding, Wallbreaker can auto-decode via response_transforms.
base64, hex, rot13, url) so the judge can decode the response cleanly. Lossy transforms (leet, morse, nato, bijection) fold case and spacing.Mutate: LLM-Aided Rewrites
The mutate tool uses an LLM to rewrite a payload to evade input classifiers while preserving intent:
The mutation uses token substitution, synonym swaps, and structural rearrangement — different from a simple encoding.
Combining Techniques
The most effective attacks stack multiple layers:
preset (reframe) → mutate (anti-classifier) → transforms (encode) → query_targetUse the recommend_transforms tool to survey which single transforms get furthest past the target, then chain the top performers.
Response-Side Decoding
When you instruct the target to answer in a cipher (e.g., “answer in base64”), set response_transforms to decode the reply before judging:
Carrier Formats
Beyond text, Wallbreaker can deliver payloads via:
- Barcode/QR —
barcodetool encodes a payload as an image (for multimodal targets) - Typographic image —
build_typographic_imagerenders text as a PNG - Indirect injection —
indirect_injectembeds the payload in a document, email, or tool output
See the Multimodal Attacks guide for image-target workflows.