ai-security

ai-security is a skill for Codex from bestagentkits/agency-skills. It costs 48 tokens per session (3,760 once invoked), scanned A, original, MIT.

A security assessment guide for AI and machine-learning systems, including chatbots, models, and software agents. It focuses on attacks such as prompt injection, jailbreaks, data poisoning, and misuse of tools.

In plain words
What is it for?
Use it to scan for injection patterns, assess jailbreak and model-inversion risks, examine agent tool abuse, map findings to MITRE ATLAS, and recommend safeguards.
Why use it?
It helps identify AI-specific risks that ordinary application-security checks may miss.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to scan for injection patterns, assess jailbreak and model-inversion risks, examine agent tool abuse, map findings to MITRE ATLAS, and recommend safeguards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bestagentkits/agency-skills/ai-security
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bestagentkits/agency-skills --skill ai-security
Clone the repo
git clone --depth 1 https://github.com/bestagentkits/agency-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/bestagentkits/agency-skills/ai-security/github.svg)](https://agentmods.dev/skills/bestagentkits/agency-skills/ai-security)
Your own site
<a href="https://agentmods.dev/skills/bestagentkits/agency-skills/ai-security"><img src="https://agentmods.dev/badge/skills/bestagentkits/agency-skills/ai-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/bestagentkits/agency-skills/ai-security"><img src="https://agentmods.dev/badge/skills/bestagentkits/agency-skills/ai-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,760 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.03760
Opus 5 $0.00024 $0.01880
Sonnet 5 $0.00010 $0.00752
Haiku 4.5 $0.00005 $0.00376

Measured 11d ago against content hash 28207535ec95, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ai-security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/ai_threat_scanner.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/claude-skills/ai-security/SKILL.md · 365 lines

How it starts

The opening of the file, as written. The whole thing — 365 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI Security

AI and LLM security assessment skill for detecting prompt injection, jailbreak vulnerabilities, model inversion risk, data poisoning exposure, and agent tool abuse. This is NOT general application security (see security-pen-testing) or behavioral anomaly detection in infrastructure (see threat-detection) — this is about security assessment of AI/ML systems and LLM-based agents specifically.


Table of Contents


Overview

What This Skill Does

This skill provides the methodology and tooling for AI/ML security assessment — scanning for prompt injection signatures, scoring model inversion and data poisoning risk, mapping findings to MITRE ATLAS techniques, and recommending guardrail controls. It supports LLMs, classifiers, and embedding models.

Distinction from Other Security Skills

Skill Focus Approach
ai-security (this) AI/ML system security Specialized — LLM injection, model inversion, ATLAS mapping
security-pen-testing Application vulnerabilities General — OWASP Top 10, API security, dependency scanning
red-team Adversary simulation Offensive — kill-chain planning against infrastructure
threat-detection Behavioral anomalies Proactive — hunting in telemetry, not model inputs

Prerequisites

Access to test prompts or a prompt test file (JSON array). For gray-box and white-box access levels, written authorization is required before testing. The tool uses static signature matching and does not require live model access — it assesses inputs before they reach the model.

Read the full file on GitHub · 365 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 365 lines · 48 tokens per session scan A 28207535ec95

Subscribe to this mod's changes

ai-security is a skill published in the GitHub repository bestagentkits/agency-skills (11 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 3,760 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

exposure-risk-quantification

FAIR-aligned exposure quantification: turns a pile of recon findings into a defensible 0-100 + A-F org risk score (Likelihood x Impact, three ownership-aware factors: exposure/threat/impact), an ownership + proof demotion cap so unproven or weakly-owned findings can't inflate the number, a $-denominated FAIR…

elementalsouls/Claude-OSINT · 235 tokens

osint-methodology

Comprehensive OSINT methodology for external red-team operations and authorized attack-surface assessments. Covers the 6-stage recon pipeline (seed → asset expansion → enrichment → exposure analysis → convergence → operator-armed active validation) with connector-resilience and stage-vs-gating discipline, asset-graph…

elementalsouls/Claude-OSINT · 150 tokens

bencium-impact-designer

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics. Based on Anthropic's Frontend Designer Skill.

bencium/bencium-marketplace · 56 tokens

file-processing

Process and analyze CSV, JSON, and text files with data transformation, cleaning, analysis, and visualization capabilities.

aws-samples/sample-strands-agents-agentskills · 24 tokens

design-audit

Premium UI/UX design audit and refinement skill. Conducts systematic visual audits of existing apps and produces phased, implementation-ready design plans. Use this skill whenever the user asks to audit a UI, improve an app's visual design, make an interface feel more polished or premium, review design consistency…

bencium/bencium-marketplace · 140 tokens

bencium-code-conventions

Bence's code style, tech stack, and workflow conventions.

bencium/bencium-marketplace · 19 tokens