Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/gmh5225/awesome-ai-security --skill llm-attacks-security- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads llm-attacks-security automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
LLM Security Attacks
Scope
Use this skill when working on:
- Prompt injection attacks and defenses
- LLM jailbreaking techniques
- Training data extraction
- Model output manipulation
- AI safety bypasses
Common LLM Vulnerabilities (Cheat Sheet)
Prompt Injection
- Direct injection (user prompt manipulation)
- Indirect injection (via external data sources)
- System prompt extraction
- Role-play attacks
- Encoding/obfuscation bypasses
Jailbreaking
- DAN (Do Anything Now) prompts
- Character roleplay escapes
- Multi-turn manipulation
- Token smuggling
- Crescendo attacks
Data Extraction
- Training data memorization extraction
- PII leakage from context
- System prompt disclosure
- API key/secret extraction
- Model architecture probing
Model Manipulation
- Output steering
- Hallucination exploitation
- Bias amplification
- Harmful content generation
OWASP LLM Top 10 Reference
- LLM01 - Prompt Injection
- LLM02 - Insecure Output Handling
- LLM03 - Training Data Poisoning
- LLM04 - Model Denial of Service
- LLM05 - Supply Chain Vulnerabilities
- LLM06 - Sensitive Information Disclosure
- LLM07 - Insecure Plugin Design
- LLM08 - Excessive Agency
- LLM09 - Overreliance
- LLM10 - Model Theft
Where to Add Links in README
- Prompt injection tools/research:
AI Security & Attacks → Prompt Injection - Jailbreak techniques:
AI Security & Attacks → Model Security - Data extraction research:
AI Security & Attacks → Privacy & Extraction - Defense tools:
AI Security & Attacks → Model Security - CTFs/challenges:
AI Security Starter Pack → CTFs / Practice
Notes
Keep additions:
- AI/LLM security focused
- Non-duplicated URLs
- Minimal structural changes
Data Source
For detailed and up-to-date resources, fetch the complete list from:
https://raw.githubusercontent.com/gmh5225/awesome-ai-security/refs/heads/main/README.md
Use this URL to get the latest curated links when you need specific tools, papers, or resources not covered in this skill.
FAQ
What does the llm-attacks-security skill do?
Guide for LLM security attacks: prompt injection, jailbreaking, data extraction, and where to place resources in README.md.
How do I install llm-attacks-security?
Run npx skills add https://github.com/gmh5225/awesome-ai-security --skill llm-attacks-security in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/llm-attacks-security/ (personal) or .claude/skills/llm-attacks-security/ (project).
Which AI agents can use llm-attacks-security?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is llm-attacks-security safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains llm-attacks-security?
It is published by gmh5225 in gmh5225/awesome-ai-security. It has 60 recorded installs.
More from gmh5225/awesome-ai-security
ai-powered-pentesting
gmh5225/awesome-ai-security
Open the skill to read its SKILL.md instructions.
adversarial-machine-learning
gmh5225/awesome-ai-security
Open the skill to read its SKILL.md instructions.
ai-security-tooling
gmh5225/awesome-ai-security
Guide for AI security tooling (detectors, analyzers, guardrails, benchmarks) and consistent placement in README.md.
awesome-ai-security-overview
gmh5225/awesome-ai-security
Guide for understanding and contributing to the awesome-ai-security curated resource list. Use this skill when adding resources, organizing categories, or maintaining README.md consistency (no duplicates).
Popular security skills
azure-compliance
microsoft/azure-skills
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
minimal-run-and-audit
lllllllama/rigorpilot-skills
Rigor Run skill for README-first deep learning repo reproduction. Use when the task is specifically to capture or normalize evidence from the selected smoke test or documented inference or evaluation command and write standardized reprooutputs/ files, including patch notes when repository files changed. Do not use for training execution, initial repo intake, generic environment setup, paper lookup, target selection, hidden scientific-meaning changes, or end-to-end orchestration by itself.
seo-audit
coreyhaines31/marketingskills
When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "stuck on page 2," "striking distance keywords," "title tag rewrite," "low CTR," "local SEO," "Google Business Profile," or "map pack." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema. For AI search optimization, see ai-seo.
firebase-security-rules-auditor
firebase/agent-skills
Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.
audit
pbakaus/impeccable
Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.
competitors
coreyhaines31/marketingskills
When the user wants to create competitor comparison or alternative pages for SEO and buyer-facing use. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'competitor teardown,' 'audit our competitor pages,' 'are our comparison pages out of date,' or 'competitive asset audit.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For auditing existing claims (not researching competitors from scratch, which is competitor-profiling; not technical SEO on these pages, which is seo-audit), use the asset audit here. For internal battle cards and sales-specific competitor docs, see sales-enablement.
