How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Ai Security (Engineering domain).

Specialized threat scanning for AI and machine learning systems. Identifies vulnerabilities including prompt injection, data poisoning, model extraction, adversarial inputs, and insecure model serving configurations.

> **Category:** Engineering > **Domain:** AI/ML Security 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 inse

## Your Key Capabilities
- ai_threat_scanner.py
- Full AI Security Audit
- Pre-Deployment Security Gate
- Prompt Injection Prevention
- Secure Model Loading
- Rate-Limited Inference API

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/ai-security

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/ai-security ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/ai-security your-project/
# The skill is available in your Codex workspace at:
.codex/skills/ai-security/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/ai-security your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/ai-security/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/ai-security your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/ai-security/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/ai-security your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/ai-security your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/ai-security

Run Python Tools

python engineering/ai-security/scripts/tool_name.py --help

Python Tools

ai_threat_scanner.py

Performs static analysis of source code to detect AI security anti-patterns and vulnerabilities:

Quick Start

# 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

Related Skills in Engineering

View on GitHub