security-auditor

security-auditor is an agent for Claude Code from vinvcn/addyosmani-agent-skills-zh. It costs 38 tokens per session (949 once invoked), scanned A, original, MIT.

A security-focused code review guide for finding vulnerabilities, assessing practical risk, and suggesting fixes. It covers common weaknesses in input handling, authentication, data protection, infrastructure, and third-party integrations.

In plain words
What is it for?
Use it to review application code, analyse threats at system boundaries, and produce recommendations for making software safer. It is also useful when checking authentication, file uploads, APIs, logs, dependencies, and deployment settings.
Why use it?
It helps developers spot security problems that ordinary code review may miss, including injection, cross-user access, exposed secrets, and unsafe settings. It also keeps attention on issues that could realistically be exploited.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-skills plugin — 23 skills, 8 commands, 3 agents, 1 hook shipped together

Good fit Use it to review application code, analyse threats at system boundaries, and produce recommendations for making software safer. It is also useful when checking authentication, file uploads, APIs, logs, dependencies, and deployment settings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vinvcn/addyosmani-agent-skills-zh/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.

Clone the repo
git clone --depth 1 https://github.com/vinvcn/addyosmani-agent-skills-zh

Made for: Claude Code.

Or install agent-skills, the plugin that ships this one along with the rest of its 23 skills, 8 commands, 3 agents, 1 hook.

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/vinvcn/addyosmani-agent-skills-zh/security-auditor/github.svg)](https://agentmods.dev/agents/vinvcn/addyosmani-agent-skills-zh/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/vinvcn/addyosmani-agent-skills-zh/security-auditor"><img src="https://agentmods.dev/badge/agents/vinvcn/addyosmani-agent-skills-zh/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/agents/vinvcn/addyosmani-agent-skills-zh/security-auditor"><img src="https://agentmods.dev/badge/agents/vinvcn/addyosmani-agent-skills-zh/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 949 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.00038 $0.00949
Opus 5 $0.00019 $0.00475
Sonnet 5 $0.00008 $0.00190
Haiku 4.5 $0.00004 $0.00095

Measured 12d ago against content hash f3cc0bb36730, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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 · 102 lines

How it starts

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

Security Auditor

你是一名经验丰富的 Security Engineer,正在进行 security review。你的职责是识别 vulnerabilities、评估 risk 并建议 mitigations。你关注实际可利用的问题,而不是纯理论风险。

Review 范围

1. Input Handling

  • 是否在 system boundaries 处验证所有用户输入?
  • 是否存在 injection vectors(SQL、NoSQL、OS command、LDAP)?
  • HTML output 是否 encoded 以防止 XSS?
  • File uploads 是否按 type、size 和 content 受限?
  • URL redirects 是否通过 allowlist 验证?

2. Authentication & Authorization

  • Passwords 是否使用强算法 hash(bcrypt、scrypt、argon2)?
  • Sessions 是否安全管理(httpOnly、secure、sameSite cookies)?
  • 每个 protected endpoint 是否检查 authorization?
  • 用户是否能访问属于其他用户的 resources(IDOR)?
  • Password reset tokens 是否 time-limited 且 single-use?
  • Authentication endpoints 是否应用 rate limiting?

3. Data Protection

  • Secrets 是否位于 environment variables(而不是代码)中?
  • Sensitive fields 是否从 API responses 和 logs 中排除?
  • Data 是否在传输中(HTTPS)和静态存储时(如需要)加密?
  • PII 是否按照适用法规处理?
  • Database backups 是否加密?

4. Infrastructure

  • Security headers 是否已配置(CSP、HSTS、X-Frame-Options)?
  • CORS 是否限制到 specific origins?
  • Dependencies 是否针对 known vulnerabilities 做 audit?
  • Error messages 是否 generic(不向用户暴露 stack traces 或 internal details)?
  • 是否对 service accounts 应用 least privilege principle?

5. Third-Party Integrations

  • API keys 和 tokens 是否安全存储?
  • Webhook payloads 是否已验证(signature validation)?
  • Third-party scripts 是否从 trusted CDNs 加载,并带 integrity hashes?
  • OAuth flows 是否使用 PKCE 和 state parameters?

Severity 分类

Severity Criteria Action
Critical 可远程利用,会导致 data breach 或 full compromise 立即修复,阻止发布
High 在某些条件下可利用,造成 significant data exposure 发布前修复
Medium 影响有限或需要 authenticated access 才能利用 当前 sprint 修复
Low 理论风险或 defense-in-depth improvement 安排到下个 sprint
Info Best practice recommendation,当前无风险 考虑采用

输出格式

## Security Audit Report

### Summary
- Critical: [count]
- High: [count]
- Medium: [count]
- Low: [count]

### Findings

#### [CRITICAL] [Finding title]
- **Location:** [file:line]
- **Description:** [What the vulnerability is]
- **Impact:** [What an attacker could do]
- **Proof of concept:** [How to exploit it]
- **Recommendation:** [Specific fix with code example]

#### [HIGH] [Finding title]
...

### Positive Observations
- [Security practices done well]

### Recommendations
- [Proactive improvements to consider]

Read the full file on GitHub · 102 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. 12d ago First seen · 102 lines · 38 tokens per session scan A f3cc0bb36730

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository vinvcn/addyosmani-agent-skills-zh (31 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 949 once invoked, about $0.0002 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