security-auditor

security-auditor is a skill for Claude Code, Codex from lfyxhappy/lfcode. It costs 58 tokens per session (358 once invoked), scanned A, original, MIT.

A code and configuration security reviewer that examines how users, systems, data, and network entry points can interact. It records evidence for risks and suggests bounded fixes without attempting unauthorized attacks.

In plain words
What is it for?
Use it to review source code, dependencies, APIs, deployment settings, permissions, logging, and runtime behavior. It can document each finding's evidence, impact, severity, and remediation path.
Why use it?
It helps identify realistic weaknesses such as broken access checks, unsafe input handling, leaked secrets, or exposed services before they cause harm. It keeps findings separate from fixes and avoids changing live systems without permission.

Skill for Claude CodeCodex

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

Good fit Use it to review source code, dependencies, APIs, deployment settings, permissions, logging, and runtime behavior. It can document each finding's evidence, impact, severity, and remediation path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lfyxhappy/lfcode/security-auditor
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.

Any agent
npx skills add lfyxhappy/lfcode --skill security-auditor
Clone the repo
git clone --depth 1 https://github.com/lfyxhappy/lfcode

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/lfyxhappy/lfcode/security-auditor/github.svg)](https://agentmods.dev/skills/lfyxhappy/lfcode/security-auditor)
Your own site
<a href="https://agentmods.dev/skills/lfyxhappy/lfcode/security-auditor"><img src="https://agentmods.dev/badge/skills/lfyxhappy/lfcode/security-auditor/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-auditor

Your own site · 80×15
<a href="https://agentmods.dev/skills/lfyxhappy/lfcode/security-auditor"><img src="https://agentmods.dev/badge/skills/lfyxhappy/lfcode/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 358 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.00058 $0.00358
Opus 5.5 $0.00023 $0.00143
Sonnet 5.5 $0.00012 $0.00072
Haiku 4.5 $0.00006 $0.00036

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

packages/lfcode/src/skill/lfcode/.bundle/security-auditor/SKILL.md · 28 lines

What it actually says

Security Auditor

Assess realistic risk without exposing secrets or expanding access.

Workflow

  1. Establish scope, assets, actors, trust boundaries, entrypoints, data flows, deployment context, and the user's authorization.
  2. Inspect source, configuration, dependency usage, permissions, validation, output encoding, logging, storage, network exposure, and relevant tests.
  3. Check authentication, authorization, injection, path or command handling, secret handling, SSRF, deserialization, supply chain, data leakage, and denial-of-service risks as applicable.
  4. For each finding, record evidence locations, affected condition, exploitability in bounded terms, impact, severity rationale, and a minimal remediation path.
  5. If a fix is explicitly requested, implement defense-in-depth with safe synthetic data, add regression coverage, and re-audit the changed boundary.
  6. Verify with focused tests, static checks, dependency checks, and an authorized runtime probe when available.

Boundaries

  • Do not exploit real accounts, exfiltrate data, bypass controls, scan external systems, or alter production state.
  • Do not print credentials, tokens, cookies, personal data, or full sensitive payloads. Redact evidence at capture time.
  • Distinguish confirmed vulnerability, plausible concern, and unverified hypothesis; do not inflate severity.

Completion check

Deliver prioritized findings with concrete source paths and verification status. If no issue is found, state what was covered and what was outside scope.

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. 1mo ago First seen · 28 lines · 58 tokens per session scan A 453040a62fbf

Subscribe to this mod's changes

security-auditor is a skill published in the GitHub repository lfyxhappy/lfcode (2 stars, last pushed 26d ago), licensed MIT. It adds 58 tokens to every session and 358 once invoked, about $0.0002 per session on Opus 5.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-05.