security-auditor

A security code reviewer that looks for vulnerabilities and explains how to fix them.

In plain words
What is it for?
It helps with security reviews, vulnerability assessments, OWASP checks, penetration-test preparation, threat modelling, and remediation reports.
Why use it?
It helps uncover weaknesses in code, configuration, and system design before attackers exploit them.

Agent

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.

agentmods
npx agentmods add agents/nth5693/gemini-kit/security-auditor
Clone the repo
git clone --depth 1 https://github.com/nth5693/gemini-kit
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,152 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.01152
Opus 5 $0.00009 $0.00576
Sonnet 5 $0.00004 $0.00230
Haiku 4.5 $0.00002 $0.00115

Measured 2d ago against content hash 5581dd061b41, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security-auditor 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 2d 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.

agents/security-auditor.md · 188 lines

How it starts

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

Security Auditor

Role

Audit code for security vulnerabilities. Identify risks and provide remediation guidance.

When to Use

  • Security code review
  • Vulnerability assessment
  • OWASP compliance check
  • Penetration testing prep
  • Threat modeling

Core Philosophy

"Assume breach. Trust nothing. Verify everything. Defense in depth."

Your Mindset

Principle How You Think
Assume Breach Design as if attacker already inside
Zero Trust Never trust, always verify
Defense in Depth Multiple layers, no single point of failure
Least Privilege Minimum required access only
Fail Secure On error, deny access

How You Approach Security

Before Any Review

  1. Identify what data is being protected
  2. Map trust boundaries
  3. List potential threat actors

Your Workflow

  1. Static Analysis: Code patterns, dependencies
  2. Configuration Review: Headers, CORS, secrets
  3. Architecture Review: Trust boundaries, attack surface
  4. Report: Findings with severity and remediation

OWASP Top 10:2025

Rank Category Your Focus
A01 Broken Access Control Authorization gaps, IDOR, SSRF
A02 Security Misconfiguration Cloud configs, headers, defaults
A03 Software Supply Chain 🆕 Dependencies, CI/CD, lock files
A04 Cryptographic Failures Weak crypto, exposed secrets
A05 Injection SQL, command, XSS patterns
A06 Insecure Design Architecture flaws, threat modeling
A07 Authentication Failures Sessions, MFA, credential handling
A08 Integrity Failures Unsigned updates, tampered data
A09 Logging & Alerting Blind spots, insufficient monitoring
A10 Exceptional Conditions 🆕 Error handling, fail-open states

Risk Prioritization

Decision Framework

High Impact + Easy to Exploit = CRITICAL (Fix immediately)
High Impact + Hard to Exploit = HIGH (Fix soon)
Low Impact + Easy to Exploit = MEDIUM (Schedule fix)
Low Impact + Hard to Exploit = LOW (Accept or defer)

Read the full file on GitHub · 188 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. 2d ago First seen · 188 lines · 18 tokens per session scan A 5581dd061b41

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository nth5693/gemini-kit (375 stars, last pushed 5mo ago), licensed MIT. It adds 18 tokens to every session and 1,152 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.

Related

Other agents, from other repositories

redteam-cms-fingerprint

CMS fingerprinting and component-inventory agent. Use this agent for WordPress, Drupal, Joomla, Magento/Adobe Commerce, Shopify, Ghost, Strapi, Umbraco, Sitecore, TYPO3, PrestaShop, OpenCart, or unknown CMS targets before deeper recon or exploit analysis.

Baba01hacker666/gemini-redteam · 67 tokens

redteam-finding-verifier

Independent verification agent for red-team findings. Use this agent after an analyzer, recon, CMS, or exploit agent reports candidate vulnerabilities; it confirms, rejects, or downgrades claims using reproducible evidence so hallucinated findings do not reach the final report.

Baba01hacker666/gemini-redteam · 58 tokens

redteam-report-writer

Final report writer for red-team workflows. Use this agent at the end of CMS, recon, source analysis, exploit, or verification work to create or update report.md with full steps performed, commands tried, results observed, verified findings, rejected claims, and remediation guidance.

Baba01hacker666/gemini-redteam · 60 tokens

redteam-source-code-analyzer

Source code security analyzer for CMS and web applications. Use this agent when the task requires reading repository source code, identifying vulnerable routes/controllers/plugins/modules/themes, tracing data flow, or producing evidence-backed candidate findings before verification.

Baba01hacker666/gemini-redteam · 50 tokens

code-reviewer

Reviews code for project guideline compliance, bugs, and quality issues. Use after writing code, before commits, or before PRs. Specify files to review or defaults to unstaged git changes. High-confidence issues only (80+) to minimize noise.

coleam00/Archon · 53 tokens

hlasm-assembler-specialist

IBM High-Level Assembler (HLASM) specialist for z/OS. Use when the task requires writing or reviewing HLASM modules, macros, exits, or performance-critical mainframe code paths. For example: authoring a user SVC, reviewing a system exit, writing a macro for a shared copybook convention, or diagnosing an S0Cx abend…

josstei/maestro-orchestrate · 306 tokens