security-audit

security-audit is a skill for Claude Code, Codex from andreaswasita/copilot-agents-dojo. It costs 13 tokens per session (1,436 once invoked), scanned A, original, MIT.

A lightweight code scan that looks for high-confidence security warning signs such as committed secrets, disabled TLS checks, unsafe deserialization, and shell-injection points. It is a triage aid, not a full security test.

In plain words
What is it for?
Use it before pull requests or commits involving authentication, secrets, external calls, or deserialization, and when reviewing unfamiliar code.
Why use it?
It provides a quick first check for common security mistakes, while making clear that it cannot follow every path through the code or prove the system is safe.

Skill for Claude CodeCodex

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

Good fit Use it before pull requests or commits involving authentication, secrets, external calls, or deserialization, and when reviewing unfamiliar code.

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

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/andreaswasita/copilot-agents-dojo/security-audit/github.svg)](https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/security-audit)
Your own site
<a href="https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/security-audit"><img src="https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/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/andreaswasita/copilot-agents-dojo/security-audit"><img src="https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Tool Misuse · line 53
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
How audits are shown
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.00013 $0.01436
Opus 5 $0.00006 $0.00718
Sonnet 5 $0.00003 $0.00287
Haiku 4.5 $0.00001 $0.00144

Measured 9d ago against content hash f9207feecf34, 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 1 finding 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.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/security_audit.py, scripts/security-audit.ps1, scripts/security-audit.sh), 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| SA-011 | shell sink (`shell=True`, `os.system`) | high |
skills/security-audit/SKILL.md · 108 lines

How it starts

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

Security Audit Skill

Runs a deterministic heuristic scan over a codebase to flag high-confidence security risks — committed secrets, disabled TLS verification, insecure deserialization, and shell-injection sinks — then optionally layers LLM reasoning (OWASP/STRIDE) on top of the machine findings. This is a lightweight heuristic audit assistant, not a pentest, a SAST replacement, or a proof of security: it is a regex line-scanner that cannot follow data flow and will miss anything outside its rules. Treat its output as triage leads for human review, never as assurance.

When to Use

  • Before opening a PR that touches auth, secrets handling, deserialization, or external calls.
  • As a fast pre-commit sweep for accidentally committed credentials.
  • When reviewing an unfamiliar contribution and you want a cheap first pass.
  • To produce a persisted, idempotent report that diffs cleanly across runs.
  • Paired with derive-security-from-risk (which works forward, producing requirements) — this skill is the reverse, scanning existing code.
  • NOT as the only security gate, and NOT as evidence that code is secure (see Pitfalls).

Prerequisites

  • The powershell Copilot tool to invoke the scanner.
  • Python 3 on PATH (the scan logic is one stdlib core; the .sh/.ps1 are thin wrappers).
  • Read access to the target tree.

How to Run

Use the powershell tool to scan a directory and review the findings:

# High-confidence sweep of the repo (exit 1 = findings at/above --fail-on)
bash skills/security-audit/scripts/security-audit.sh . --suggest

# Broader (noisier) profile, fail only on medium-or-higher
bash skills/security-audit/scripts/security-audit.sh src --profile broad --fail-on medium

# Persist a deterministic JSON report for diffing
bash skills/security-audit/scripts/security-audit.sh . --format json --output audit.json

On Windows, call the parity wrapper security-audit.ps1 with the same arguments. Exit codes: 0 clean (below --fail-on), 1 findings at/above it, 2 usage error.

Read the full file on GitHub · 108 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. 9d ago First seen · 108 lines · 13 tokens per session scan A f9207feecf34

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository andreaswasita/copilot-agents-dojo (52 stars, last pushed 2d ago), licensed MIT. It adds 13 tokens to every session and 1,436 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

review

Use when a green diff needs adversarial judgment in the rsc SDD chain, between verify and ship — give a review keyed to the spec/plan/constitution in 02-DOCS/wiki/sdd/, or receive one and verify each comment before agreeing. NOT running lint/type/tests (that is verify), NOT the spec-less standalone pass (that is…

ericrisco/rsc-harness · 89 tokens

代码审查员

A code-review agent that examines changes for correctness, security, maintainability, performance, and test coverage.

KongFangXun/sofagent · 40 tokens

fable-operator

Use when a substantive request needs verified, calibrated reasoning — analysis, diagnosis, review, advice, or a draft the user will act on — even when rigor is not asked for, and most of all when being wrong is expensive or irreversible. NOT casual chat (rigor theater), NOT the SDD gates verify, debug, review; this is…

ericrisco/rsc-harness · 82 tokens

canary

Scans your OpenClaw environment for leaked secrets — API keys, tokens, credentials in .env files, installed skills, and shell history. Runs silently on startup, deep scans on demand. Fixes issues with your permission.

InternLM/WildClawBench · 50 tokens

decision-ledger

A session record for tracking unresolved decisions and drafting them into `.governance/claims/` when they are settled. It preserves both the decision and the reason behind it.

johnrucnapier-sketch/ACGM-for-Claude-Code · 99 tokens

governance-bootstrap

A guided checklist for creating a project's governance system from scratch when no governance exists.

johnrucnapier-sketch/ACGM-for-Claude-Code · 107 tokens