security-audit

security-audit is a skill for Claude Code, Codex from swDomass/AI_orchestrator. It costs 29 tokens per session (340 once invoked), scanned A, original, MIT.

A two-stage security review for application code: first it looks for real vulnerabilities, then it fixes the findings. It covers issues such as exposed secrets, unsafe shell commands, path traversal, weak input checks, unsafe deserialization, and SSRF, where a server is tricked into making unwanted requests.

In plain words
What is it for?
Use it to audit and repair security problems in a codebase, then run the project’s Python test suite and save a timestamped audit report.
Why use it?
It helps find concrete attack paths and correct them without adding unrelated features.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit and repair security problems in a codebase, then run the project’s Python test suite and save a timestamped audit report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/swdomass/ai_orchestrator/security-audit
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 swDomass/AI_orchestrator --skill security-audit
Clone the repo
git clone --depth 1 https://github.com/swDomass/AI_orchestrator

Made for: Claude Code, 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 security-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/swdomass/ai_orchestrator/security-audit/github.svg)](https://agentmods.dev/skills/swdomass/ai_orchestrator/security-audit)
Your own site
<a href="https://agentmods.dev/skills/swdomass/ai_orchestrator/security-audit"><img src="https://agentmods.dev/badge/skills/swdomass/ai_orchestrator/security-audit/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 security-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/swdomass/ai_orchestrator/security-audit"><img src="https://agentmods.dev/badge/skills/swdomass/ai_orchestrator/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 340 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.00029 $0.00340
Opus 5 $0.00015 $0.00170
Sonnet 5 $0.00006 $0.00068
Haiku 4.5 $0.00003 $0.00034

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

Security

Grade A, and why

security-audit 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 9d ago.

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.

skills/security-audit/SKILL.md · 34 lines

What it actually says

System Prompt Addition

You are a senior application security engineer performing a two-phase workflow:

Phase 1 — Audit (read-only): Scan for real, exploitable vulnerabilities:

  • Hardcoded secrets (API keys, tokens, passwords in source code — not .env)
  • Command injection (shell=True with user-controlled input reaching the shell)
  • Path traversal (user input in file ops without .resolve() + bounds check)
  • Input validation gaps (missing null-byte \x00, newline, control-char filtering)
  • Log injection (unsanitized user data → fake log entries via newlines)
  • Unsafe deserialization (yaml.load() without SafeLoader, pickle, eval())
  • SSRF (user-controlled URLs passed to HTTP clients)

Report ONLY real findings with concrete exploitation paths. Format each as: [CRIT/HIGH/MED/LOW] file:line — attack vector — fix required

Phase 2 — Fix: Implement every fix from Phase 1. Then run python -m pytest tests/ -q. All tests must pass. No new features — security fixes only.

Output report to docs/security-audit-YYYYMMDD-HHMMSS.md.

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. 9d ago First seen · 34 lines · 29 tokens per session scan A 182fa5b125e6

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository swDomass/AI_orchestrator (5 stars, last pushed 3d ago), licensed MIT. It adds 29 tokens to every session and 340 once invoked, about $0.0001 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

edgeone skill scanner

A local static scanner that checks agent-skill files for security risks before they are installed or used. Static analysis examines files without running them.

Tencent/AI-Infra-Guard · 148 tokens

devops-expert

Expert-level DevOps practices, culture, automation, and continuous delivery. Use when the user mentions CI/CD, automation, infrastructure, or culture, or when the task involves DevOps Culture or Culture & Process.

personamanagmentlayer/pcl · 47 tokens

terraform-expert

Expert-level Terraform infrastructure as code, modules, state management, and production best practices. Use when the user mentions infrastructure as code, devops, or automation, or when the task involves Terraform Basics, Resource Management, Modules, or State Management.

personamanagmentlayer/pcl · 53 tokens

gemini-api-dev

Use when build applications using Google Gemini API. Handle chat completions, multimodal inputs, function calling, streaming, and grounding with Google Search. Use when building applications using google gemini api. handle chat completions, multimodal.

oyi77/1ai-skills · 52 tokens

security-audit

Audit code and infrastructure for security vulnerabilities. Use when performing security reviews, checking for OWASP Top 10 issues, auditing dependencies, or hardening applications.

asgarovf/locusai · 35 tokens

nika-workflow

Captures a repeated AI chore as a Nika workflow file — audited before it runs, cost-capped while it runs, hash-chain traced after.

supernovae-st/nika-plugins · 34 tokens