security-audit

security-audit is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 39 tokens per session (437 once invoked), scanned A, original, MIT.

A security-checking toolkit for scanning dependencies, network ports, file permissions, and website security headers.

In plain words
What is it for?
Use it to audit a project or deployment, check installed packages for known vulnerabilities, inspect open TCP ports, review permissions, and check HTTP security headers.
Why use it?
It helps uncover common weaknesses before they become security incidents, such as vulnerable libraries, exposed ports, or unsafe file settings.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/dep-checker.sh [directory].

Good fit Use it to audit a project or deployment, check installed packages for known vulnerabilities, inspect open TCP ports, review permissions, and check HTTP security headers.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex
agentmods
npx agentmods add skills/jansenanalytics/claudex/security-audit

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/jansenanalytics/claudex/security-audit/github.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/security-audit)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/security-audit"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/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/jansenanalytics/claudex/security-audit"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 437 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.00039 $0.00437
Opus 5 $0.00019 $0.00218
Sonnet 5 $0.00008 $0.00087
Haiku 4.5 $0.00004 $0.00044

Measured 5d ago against content hash c8cebbf7f94f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 5d 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 · 62 lines

What it actually says

security-audit

Security auditing: vulnerability scanning, dependency checking, port scanning, permission review. Use when: auditing project security, scanning for CVEs in dependencies, checking open ports, reviewing file permissions, or hardening a deployment.

Workflows

Scan dependencies for vulnerabilities

bash scripts/dep-checker.sh [directory]

Auto-detects project type (npm/pip/cargo) and runs the appropriate audit tool.

Scan open ports

bash scripts/port-scanner.sh [host] [port-range]

Scans a host for open TCP ports. Default: localhost, ports 1-1024.

Audit file permissions

bash scripts/permission-auditor.sh [directory]

Finds world-writable files, SUID/SGID binaries, files owned by root in user dirs, and insecure config files.

Check HTTP security headers

bash scripts/header-checker.sh <url>

Checks for missing security headers (CSP, HSTS, X-Frame-Options, etc.).

Scripts

Script Purpose
scripts/dep-checker.sh Dependency vulnerability scanner
scripts/port-scanner.sh TCP port scanner
scripts/permission-auditor.sh File permission auditor
scripts/header-checker.sh HTTP security header checker

References

File Contents
references/owasp-top10.md OWASP Top 10 summary
references/hardening-checklist.md Server/app hardening checklist
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. 5d ago First seen · 62 lines · 39 tokens per session scan A c8cebbf7f94f

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 437 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-09-03.