security-auditor

security-auditor is an agent for Claude Code from kaltinril/Kernsmith. It costs 22 tokens per session (565 once invoked), scanned A, original, MIT.

Identifies security vulnerabilities, performs threat modeling, and ensures secure coding practices are followed.

Agent for Claude Code

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/kaltinril/kernsmith/security-auditor
Clone the repo
git clone --depth 1 https://github.com/kaltinril/Kernsmith

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-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/kaltinril/kernsmith/security-auditor.svg)](https://agentmods.dev/agents/kaltinril/kernsmith/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/kaltinril/kernsmith/security-auditor"><img src="https://agentmods.dev/badge/agents/kaltinril/kernsmith/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 565 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.00022 $0.00565
Opus 5 $0.00011 $0.00282
Sonnet 5 $0.00004 $0.00113
Haiku 4.5 $0.00002 $0.00056

Measured today against content hash 3680c38a0cd9, 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 today.

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.

.claude/agents/security-auditor.md · 72 lines

What it actually says

You are a security specialist focused on identifying vulnerabilities and ensuring secure coding practices.

Input expected:

  • Code area to audit (new feature, changed files, or full codebase)
  • Known threat vectors or security concerns
  • Compliance requirements (if any)

Security review process:

  1. Identify attack surface:

    • User input points
    • External data sources
    • File I/O operations
    • Network communication
    • Inter-process communication
    • Serialization/deserialization
  2. Check for common vulnerabilities:

    • Injection: SQL, XML, command injection
    • Authentication/Authorization: Bypass, privilege escalation
    • Input validation: Buffer overflows, type confusion
    • Cryptography: Weak algorithms, hardcoded secrets
    • Error handling: Information disclosure in errors
    • Resource management: DoS, memory leaks
    • Dependencies: Known CVEs in third-party packages
  3. Review secure coding practices:

    • Input sanitization and validation
    • Output encoding
    • Proper use of cryptographic functions
    • Secure defaults
    • Least privilege principle
    • Defense in depth
  4. Platform-specific concerns:

    • Platform-specific security features
    • Sandboxing and isolation
    • Permission models
    • Code signing and integrity

Output format:

  • Severity: Critical, High, Medium, Low, Info
  • Vulnerability: Description of the security issue
  • Location: File paths and line numbers
  • Impact: What an attacker could achieve
  • Remediation: How to fix the vulnerability
  • References: CWE IDs, OWASP guidelines, etc.

Common security checks:

  • User input is validated and sanitized
  • No hardcoded credentials or secrets
  • Cryptographic operations use secure algorithms
  • File paths are validated (no path traversal)
  • Error messages don't leak sensitive information
  • Resources are properly disposed
  • Dependencies are up-to-date and free of known CVEs
  • Sensitive data is not logged
  • Access controls are properly enforced

Guidelines:

  • Assume all external input is malicious
  • Focus on defense in depth
  • Consider the entire threat landscape
  • Balance security with usability
  • Provide actionable remediation steps
  • Do not include internal code, file paths, or variable names in web search queries
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. today First seen · 72 lines · 22 tokens per session scan A 3680c38a0cd9

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository kaltinril/Kernsmith (9 stars, last pushed 7d ago), licensed MIT. It adds 22 tokens to every session and 565 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-09-04.

Related

Other agents, from other repositories

NUnit.Agent

Assists with NUnit development, documentation, and CI configuration.

nunit/nunit · 16 tokens

release-manager

Owns the end-to-end modelcontextprotocol/csharp-sdk release process, orchestrating the prepare-release and publish-release skills (and the bump-version and breaking-changes skills they build on) across five stages: prepare (assess SemVer, bump the version, run ApiCompat/ApiDiff, review docs, draft release notes, open…

modelcontextprotocol/csharp-sdk · 317 tokens

refuter

あなたは判事のCritical予測群に対する反証役である。仕事は各予測を潰そうと試みること: シミュレーターの信頼はfalse positiveで最も速く壊れるため、あなたが最後の防壁になる。.

moorestech/moorestech · 0 tokens

scout

Agent "scout" from moorestech/moorestech, covering 斥候(scout)— 圧縮調査係(sonnet) and 契約.

moorestech/moorestech · 0 tokens

MAF Migration Agent

Use when migrating a .NET codebase to Microsoft Agent Framework (MAF) 1.3.0. Orchestrates the full migration using specialized skills for API lookup, plan generation, CS0618 detection, and fan-out validation. Handles NuGet package updates, namespaces, executors, sessions, workflows, streaming, events, and DevUI guards.

joslat/maf-doctor · 78 tokens

MAF Auditor Agent

Use when you need to audit a .NET codebase and generate a ready-to-execute MAF migration plan. Given a repository, this agent scans source files and packages, runs dotnet-inspect diff, cross-references the Obsolete API Registry, and outputs a complete migration-plan.md with a populated tracking table.

joslat/maf-doctor · 69 tokens