Agent skill · Security

ai-security

This skill should be used when the user asks to "scan AI systems for security threats", "check for prompt injection vulnerabilities", "assess model security posture", "detect data poisoning risks", or "audit AI/ML pipeline security".

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ai-security --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Version: 1.0.0
Declared author: borghei
Path: skills/ai-ml/ai-security/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# AI Security > **Category:** Engineering > **Domain:** AI/ML Security ## Overview The **AI Security** skill provides specialized threat scanning for AI and machine learning systems. It identifies vulnerabilities unique to AI workloads including prompt injection, data poisoning, model extraction, adversarial inputs, and insecure model serving configurations. ## Clarify First Before running the scan, confirm these inputs. If any is unknown or vague, ASK — do not assume: - [ ] **Scan target & path** — which codebase or directory to analyze (sets `--path` and what gets scanned) - [ ] **Threat categories** — all, or specific (prompt-injection, data-poisoning, model-extraction, adversarial-input, insecure-serving) (sets `--category`) - [ ] **Severity threshold & context** — full audit vs pre-deployment gate (sets `--min-severity` and whether zero high/critical findings is a hard gate) Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact. ## Quick Start ```bash # Scan a codebase for AI-specific security threats python scripts/ai_threat_scanner.py --path ./my-ai-project # Scan with JSON outp

What's inside
Steps it walks through
  1. Overview
  2. Clarify First
  3. Quick Start
  4. Tools Overview
  5. aithreatscanner.py
  6. Workflows
  7. Full AI Security Audit
  8. Pre-Deployment Security Gate
  9. Reference Documentation
  10. Common Patterns
  11. Prompt Injection Prevention
  12. Secure Model Loading
  13. Rate-Limited Inference API
Ships with 1 file
  • metadata.json
Commands it runs
Scan a codebase for AI-specific security threats
python scripts/ai_threat_scanner.py --path ./my-ai-project
Scan with JSON output
python scripts/ai_threat_scanner.py --path ./my-ai-project --format json
Scan only for prompt injection vulnerabilities
python scripts/ai_threat_scanner.py --path ./src --category prompt-injection
Scan with severity threshold
python scripts/ai_threat_scanner.py --path ./src --min-severity high
More from claude-skill-registry
All skills →
About this skill
What does the ai-security skill do?

This skill should be used when the user asks to "scan AI systems for security threats", "check for prompt injection vulnerabilities", "assess model security posture", "detect data poisoning risks", or "audit AI/ML pipeline security".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill ai-security --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going