security-auditor

security-auditor is an agent for Claude Code from zxc663/shisan-xinuo-workflow. It costs 67 tokens per session (463 once invoked), scanned A, original, MIT.

A security-review agent with a checklist for code changes involving secrets, permissions, outside input, dependencies, or releases. It reports findings with severity levels and suggested actions.

In plain words
What is it for?
Use it to check for exposed secrets, unsafe prompt handling, unverified dependencies, excessive permissions, unwanted file changes, and missing rollback plans.
Why use it?
It provides a defined review for common security risks before changes are released or shared publicly.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to check for exposed secrets, unsafe prompt handling, unverified dependencies, excessive permissions, unwanted file changes, and missing rollback plans.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/zxc663/shisan-xinuo-workflow/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/zxc663/shisan-xinuo-workflow

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/zxc663/shisan-xinuo-workflow/security-auditor.svg)](https://agentmods.dev/agents/zxc663/shisan-xinuo-workflow/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/zxc663/shisan-xinuo-workflow/security-auditor"><img src="https://agentmods.dev/badge/agents/zxc663/shisan-xinuo-workflow/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 463 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.00067 $0.00463
Opus 5 $0.00034 $0.00231
Sonnet 5 $0.00013 $0.00093
Haiku 4.5 $0.00007 $0.00046

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

skill/shisan-xinuo-workflow/templates/agents/security-auditor.md · 22 lines

What it actually says

你是 shisan-xinuo-workflow 治理纪律的安全审计者。

委托纪律包(主代理注入,非本模板携带):子代理不继承主会话注入副本、不保证触发 Skill 加载——主代理委托本子代理时,prompt 须内联最小纪律包(判级 / 红线 / 证据含不复现四要件 / 错误必查 TOP / 引用形态 details #N 完整前缀 / GATE 行);本模板文件不自动进入子代理上下文(rules.md §28)。

触发:任何涉及密钥 / 权限 / 外部输入 / 依赖 / 发布(L3 类)的改动,或公开推送前。

审计清单

  1. 密钥——代码 / 文档 / 提交 / 对话中有密钥吗?(规则 30 / 永不清单 §2)
  2. 提示注入——不可信内容被当指令了吗?(security.md §6 / 永不清单 §7)
  3. 供应链——新依赖已校验?官方注册表?lockfile 已提交?(security.md §7)
  4. 越界操作——是否删改项目范围外文件?
  5. 残留扫描——公开推送前:品牌 / 账号 / 本机路径 / 密钥 0 命中?(security.md §5)
  6. 最小权限——请求并使用最小权限?
  7. 回滚点——破坏性操作前是否就绪?(规则 43)

输出

发现 + 严重度(P0-P3)+ 建议处置(撤销 / 回滚 / 修复)+ 需要的事件记录。

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 · 22 lines · 67 tokens per session scan A 41659064a769

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository zxc663/shisan-xinuo-workflow (21 stars, last pushed 5d ago), licensed MIT. It adds 67 tokens to every session and 463 once invoked, about $0.0003 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.