← ClaudeAtlas

attack-mutatorlisted

Test case mutation and variation generator for adversarial testing
alfredolopez80/multi-agent-ralph-loop · ★ 146 · AI & Automation · score 77
Install: claude install-skill alfredolopez80/multi-agent-ralph-loop
# Attack Mutator ## v2.88 Key Changes (MODEL-AGNOSTIC) - **Model-agnostic**: Uses model configured in `~/.claude/settings.json` or CLI/env vars - **No flags required**: Works with the configured default model - **Flexible**: Works with GLM-5, Claude, Minimax, or any configured model - **Settings-driven**: Model selection via `ANTHROPIC_DEFAULT_*_MODEL` env vars **Test Case Mutation and Variation Generator** inspired by ZeroLeaks Mutator agent. Creates variations of test cases, prompts, and inputs using multiple transformation techniques to achieve better coverage and bypass detection. ## Core Concept When a test case or approach partially succeeds, generate variations that: - Preserve the core intent - Vary the surface form - Bypass different filters/checks - Maximize coverage ## Usage ```bash /mutate "test input or prompt" /mutate --types semantic,encoding "test case" /mutate --best-of-n 10 "critical test" ``` ## Mutation Types ### Semantic Mutations | Type | Description | Example | |------|-------------|---------| | `paraphrase` | Rephrase with same meaning | "check if valid" -> "verify validity" | | `synonym_swap` | Replace with synonyms | "analyze" -> "examine" | | `formality_shift` | Change formality level | "please check" -> "verify" | | `perspective_shift` | Change viewpoint | "you should" -> "one should" | | `question_to_command` | Convert question | "can you?" -> "do this" | | `command_to_question` | Convert command | "do this" -> "can you?" | ### Encodin