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.
npx agentmods add commands/xu-xiang/everything-claude-code-zh/securitygit clone --depth 1 https://github.com/xu-xiang/everything-claude-code-zhWrote 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.
[](https://agentmods.dev/commands/xu-xiang/everything-claude-code-zh/security)<a href="https://agentmods.dev/commands/xu-xiang/everything-claude-code-zh/security"><img src="https://agentmods.dev/badge/commands/xu-xiang/everything-claude-code-zh/security.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00010 | $0.00700 |
| Opus 5 | $0.00005 | $0.00350 |
| Sonnet 5 | $0.00002 | $0.00140 |
| Haiku 4.5 | $0.00001 | $0.00070 |
Grade A, and why
security 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 4d 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.
What it actually says
安全审查命令 (Security Review Command)
执行全面的安全审查:$ARGUMENTS
你的任务 (Your Task)
根据 OWASP 指南和安全最佳实践,分析指定代码中的安全漏洞。
安全检查清单 (Security Checklist)
OWASP Top 10
-
注入 (Injection) (SQL, NoSQL, OS 命令, LDAP)
- 检查参数化查询 (Parameterized Queries)
- 验证输入清理 (Input Sanitization)
- 审查动态查询构建
-
身份验证损坏 (Broken Authentication)
- 密码存储 (bcrypt, argon2)
- 会话管理 (Session Management)
- 多因素身份验证 (MFA)
- 密码重置流程
-
敏感数据泄露 (Sensitive Data Exposure)
- 静态与传输中的加密 (Encryption at rest and in transit)
- 妥善的密钥管理 (Key Management)
- PII (个人可识别信息) 处理
-
XML 外部实体 (XXE)
- 禁用 DTD 处理
- 对 XML 进行输入验证
-
失效的访问控制 (Broken Access Control)
- 在每个端点进行授权检查
- 基于角色的访问控制 (RBAC)
- 资源所有权验证
-
安全配置错误 (Security Misconfiguration)
- 移除默认凭据 (Default Credentials)
- 错误处理不泄露信息
- 配置安全标头 (Security Headers)
-
跨站脚本 (XSS)
- 输出编码 (Output Encoding)
- 内容安全策略 (CSP)
- 输入清理 (Input Sanitization)
-
不安全的反序列化 (Insecure Deserialization)
- 验证序列化数据
- 实施完整性检查
-
使用具有已知漏洞的组件 (Using Components with Known Vulnerabilities)
- 运行
npm audit - 检查过时的依赖项
- 运行
-
日志记录和监控不足 (Insufficient Logging & Monitoring)
- 记录安全事件
- 日志中不含敏感数据
- 配置告警 (Alerting)
其他检查项 (Additional Checks)
- 代码中的密钥/凭据 (API 密钥, 密码)
- 环境变量处理
- CORS 配置
- 速率限制 (Rate Limiting)
- CSRF 防护
- 安全 Cookie 标志 (Secure Cookie Flags)
报告格式 (Report Format)
严重问题 (Critical Issues)
[必须立即修复的问题]
高优先级 (High Priority)
[应在发布前修复的问题]
建议 (Recommendations)
[建议考虑的安全改进]
重要提示:安全问题属于阻塞性问题 (Blockers)。在严重问题解决之前,请勿继续。
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.
- 4d ago First seen · 90 lines · 10 tokens per session scan A cb4a07b70a27
security is a command published in the GitHub repository xu-xiang/everything-claude-code-zh (1,927 stars, last pushed 6mo ago), licensed MIT. It adds 10 tokens to every session and 700 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.
Other commands, from other repositories
awesome-chatgpt
Search awesome-ChatGPT-repositories for open-source GitHub repositories related to ChatGPT and LLMs.
init
Scaffold a new MindBase project (v2 layout). Usage: /mb:init [template] [-- mission ...].
commit
智能生成 Git 提交信息并提交.
doctor.es
Diagnostica problemas de inferencia LLM en Mac: asiai doctor verifica el estado de los motores, conflictos de puertos, carga de modelos y estado de la GPU.
requirement-review
需求文档多角色评审(requirement-review):需求文档 → 7-Agent 并行评审 → 重构高质量需求文档(Runtime 受控流程,0-7 阶段状态机).
claude-request
Send a prompt to Claude Code via the LLM gateway with session tracking.