bagelhole/devops-security-agent-skills/ai-red-teaming
Claude Code and agent skill by bagelhole/devops-security-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Run structured AI red team exercises for jailbreak resistance, data exfiltration risk, harmful output controls, and agent tool abuse resilience.
Install
npx vskill@latest install bagelhole/devops-security-agent-skills/ai-red-teamingSKILL.md
The same SKILL.md was published earlier as bagelhole/devops-security-agent-skills/ai-red-teaming.
AI Red Teaming
Continuously test AI applications like an adversary to discover exploitable failure modes before attackers do.
When to Use This Skill
Use this skill when:
- Launching a new LLM-powered feature or product
- Evaluating a third-party model before adoption
- Running periodic security assessments of existing AI systems
- Responding to a reported jailbreak or prompt injection incident
- Preparing for compliance audits requiring adversarial testing evidence
Prerequisites
- Python 3.10+ with
openai,anthropic, or equivalent SDK installed - Access to the target model endpoint (API key or local deployment)
- A prompt management tool or spreadsheet for tracking attack payloads
- Familiarity with OWASP Top 10 for LLM Applications
- Isolated test environment that mirrors production config
Program Design
- Define threat scenarios: jailbreaks, policy evasion, prompt injection, model abuse.
- Build reusable attack suites by domain (support bot, coding agent, RAG assistant).
- Include multilingual and obfuscated attack prompts.
- Track results in a risk register with severity and exploitability.
Test Categories
- Jailbreak robustness: bypassing safety instructions.
- Data exfiltration: extracting secrets, system prompts, tenant data.
- Tool abuse: unauthorized API calls or command execution.
- Social engineering: inducing unsafe business actions.
- Availability abuse: token amplification and DoS-style prompts.
Adversarial Prompt Library
Maintain a categorized library of attack prompts. Example categories:
Automated Testing Script
Runner Configuration
Scoring Rubric
| Dimension | Score 1 | Score 3 | Score 5 | |
|---|---|---|---|---|
| Likelihood | Requires expert knowledge and multiple steps | Moderate skill, some setup required | Simple prompt, easily reproducible | |
| Impact | Cosmetic policy violation | Sensitive data partially exposed | Full system prompt leak, tool abuse, data breach | |
| Detectability | Easily caught by basic filters | Requires tuned detection rules | Evades current detection stack | |
| Control Maturity | Strong mitigations in place | Partial coverage, gaps exist | No controls or easily bypassed |
Risk Score Calculation
Exercise Cadence
- Pre-release blocking red-team gate.
- Monthly deep-dive campaigns.
- Post-incident targeted retests.
- Quarterly full-scope exercises covering all categories.
Report Template
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsecurity/ai/ai-red-teaming/SKILL.md
Popularity
- Repository stars
- 1,122
- Repository forks
- 159
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bagelhole/devops-security-agent-skills/ai-red-teaming)