security-audit

security-audit is a skill for Claude Code from akhilyad/deployy. It costs 81 tokens per session (738 once invoked), scanned A, a copy of security-audit, MIT.

A security checking skill for finding common weaknesses in application code. It covers issues such as unsafe input, path traversal, SQL injection, exposed data, and known software vulnerabilities.

In plain words
What is it for?
Use it to scan a codebase or a selected path, check specific security risks, and enforce safer coding patterns.
Why use it?
It helps identify security problems before code is deployed, especially in features that handle users, files, payments, databases, or external services.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is npx @hyrex/cli security scan --check input-validation --path ./src/api.

Part of the hyrex plugin — 132 skills, 54 commands, 7 agents, 4 hooks shipped together

Good fit Use it to scan a codebase or a selected path, check specific security risks, and enforce safer coding patterns.

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/akhilyad/deployy
agentmods
npx agentmods add skills/akhilyad/deployy/security-audit

Made for: Claude Code.

Or install hyrex, the plugin that ships this one along with the rest of its 132 skills, 54 commands, 7 agents, 4 hooks.

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/akhilyad/deployy/security-audit/github.svg)](https://agentmods.dev/skills/akhilyad/deployy/security-audit)
Your own site
<a href="https://agentmods.dev/skills/akhilyad/deployy/security-audit"><img src="https://agentmods.dev/badge/skills/akhilyad/deployy/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/akhilyad/deployy/security-audit"><img src="https://agentmods.dev/badge/skills/akhilyad/deployy/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 738 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 100% copy Near-identical to another mod 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.00081 $0.00738
Opus 5.5 $0.00032 $0.00295
Sonnet 5.5 $0.00016 $0.00148
Haiku 4.5 $0.00008 $0.00074

Measured 2mo ago against content hash 7ce348f13b38, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/cve-remediate.sh, scripts/security-scan.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.

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

This is a copy

100% identical to security-audit — 26 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/security-audit/SKILL.md · 136 lines

How it starts

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

Security Audit Skill

Purpose

Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement.

When to Trigger

  • authentication implementation
  • authorization logic
  • payment processing
  • user data handling
  • API endpoint creation
  • file upload handling
  • database queries
  • external API integration

When to Skip

  • read-only operations on public data
  • internal development tooling
  • static documentation
  • styling changes

Commands

Full Security Scan

Run comprehensive security analysis on the codebase

npx @hyrex/cli security scan --depth full

Example:

npx @hyrex/cli security scan --depth full --output security-report.json

Input Validation Check

Check for input validation issues

npx @hyrex/cli security scan --check input-validation

Example:

npx @hyrex/cli security scan --check input-validation --path ./src/api

Path Traversal Check

Check for path traversal vulnerabilities

npx @hyrex/cli security scan --check path-traversal

SQL Injection Check

Check for SQL injection vulnerabilities

npx @hyrex/cli security scan --check sql-injection

XSS Check

Check for cross-site scripting vulnerabilities

npx @hyrex/cli security scan --check xss

CVE Scan

Scan dependencies for known CVEs

npx @hyrex/cli security cve --scan

Example:

npx @hyrex/cli security cve --scan --severity high

Security Audit Report

Generate full security audit report

npx @hyrex/cli security audit --report

Example:

npx @hyrex/cli security audit --report --format markdown --output SECURITY.md

Threat Modeling

Run threat modeling analysis

npx @hyrex/cli security threats --analyze

Validate Secrets

Check for hardcoded secrets

npx @hyrex/cli security validate --check secrets

Scripts

Read the full file on GitHub · 136 lines

Files

What ships with it

2 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. 2mo ago First seen · 136 lines · 81 tokens per session scan A 7ce348f13b38

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository akhilyad/deployy (0 stars, last pushed 6mo ago), licensed MIT. It adds 81 tokens to every session and 738 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to security-audit, differing in 26 lines, and is treated as a copy.

Related

security-audit compared with skills from other repositories

security-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditakhilyad/deployySkill06mo agoMITA81Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code