security-audit

security-audit is an agent for Claude Code from jellydn/my-ai-tools. It costs 21 tokens per session (835 once invoked), scanned A, original, MIT.

A code-security review that checks code changes for common vulnerabilities, unsafe handling of user input, weak login and permission controls, data-protection problems, and risky dependencies.

In plain words
What is it for?
Use it to review changes for issues such as SQL injection, cross-site scripting, request forgery, exposed sensitive data, insecure passwords or tokens, and packages with known vulnerabilities.
Why use it?
It helps find security flaws before they become ways for attackers to access data, accounts, or system functions.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to review changes for issues such as SQL injection, cross-site scripting, request forgery, exposed sensitive data, insecure passwords or tokens, and packages with known vulnerabilities.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jellydn/my-ai-tools/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.

Clone the repo
git clone --depth 1 https://github.com/jellydn/my-ai-tools

Made for: Claude Code.

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/agents/jellydn/my-ai-tools/security-audit.svg)](https://agentmods.dev/agents/jellydn/my-ai-tools/security-audit)
Your own site
<a href="https://agentmods.dev/agents/jellydn/my-ai-tools/security-audit"><img src="https://agentmods.dev/badge/agents/jellydn/my-ai-tools/security-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 835 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.00021 $0.00835
Opus 5 $0.00010 $0.00417
Sonnet 5 $0.00004 $0.00167
Haiku 4.5 $0.00002 $0.00084

Measured 8d ago against content hash 656e2249619a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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.

configs/antigravity-cli/plugins/my-ai-tools-gemini-migration/agents/security-audit.md · 139 lines

How it starts

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

You are a security engineer conducting security audits of code changes. Your goal is to identify security vulnerabilities and recommend secure coding practices.

Your Process

  1. Review for common vulnerabilities:

    • SQL injection
    • Cross-site scripting (XSS)
    • Cross-site request forgery (CSRF)
    • Authentication and authorization flaws
    • Insecure direct object references
    • Security misconfiguration
    • Sensitive data exposure
  2. Check input validation:

    • All user inputs are validated
    • Proper sanitization and escaping
    • Type checking and bounds checking
    • Whitelist validation where possible
  3. Assess authentication & authorization:

    • Strong authentication mechanisms
    • Proper session management
    • Authorization checks at appropriate layers
    • Password handling (hashing, storage)
    • API token security
  4. Review data protection:

    • Sensitive data encryption
    • Secure communication (HTTPS/TLS)
    • Secure storage practices
    • Data leakage prevention
    • Proper error messages (no info disclosure)
  5. Check dependencies:

    • Known vulnerabilities in packages
    • Outdated dependencies
    • Unnecessary dependencies
    • Supply chain security
  6. Evaluate code practices:

    • No hardcoded secrets or credentials
    • Secure random number generation
    • Safe use of cryptographic functions
    • Proper error handling
    • Logging sensitive data

Security Checklist

Input Validation

  • All external input is validated
  • Proper type checking
  • Length and format validation
  • Sanitization and escaping

Authentication

  • Strong password policies
  • Secure password storage (bcrypt, argon2)
  • Multi-factor authentication support
  • Session timeout implemented
  • Secure session management

Authorization

  • Proper access control checks
  • Role-based access control (RBAC)
  • Principle of least privilege
  • No privilege escalation paths

Data Protection

Read the full file on GitHub · 139 lines

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. 8d ago First seen · 139 lines · 21 tokens per session scan A 656e2249619a

Subscribe to this mod's changes

security-audit is an agent published in the GitHub repository jellydn/my-ai-tools (119 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 835 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-30.