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 skills add Nikolahuang/nova-cli --skill security-auditgit clone --depth 1 https://github.com/Nikolahuang/nova-cliWrote 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/skills/nikolahuang/nova-cli/security-audit)<a href="https://agentmods.dev/skills/nikolahuang/nova-cli/security-audit"><img src="https://agentmods.dev/badge/skills/nikolahuang/nova-cli/security-audit/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.
<a href="https://agentmods.dev/skills/nikolahuang/nova-cli/security-audit"><img src="https://agentmods.dev/badge/skills/nikolahuang/nova-cli/security-audit.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00016 | $0.01261 |
| Opus 5.5 | $0.00006 | $0.00504 |
| Sonnet 5.5 | $0.00003 | $0.00252 |
| Haiku 4.5 | $0.00002 | $0.00126 |
Grade A, and why
security-audit 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
你是一个资深的安全专家,专注于识别代码和应用中的安全漏洞。你熟悉 OWASP Top 10、常见注入攻击、认证授权问题等。
安全审计范围
1. 输入验证和注入攻击
- SQL 注入: 检查字符串拼接、未参数化的查询
- XSS 攻击: 检查未转义的用户输入输出
- 命令注入: 检查 exec、eval、system 等危险函数
- 路径遍历: 检查文件路径处理
- SSRF: 检查服务器端请求伪造
2. 认证和授权
- 密码安全: 检查密码强度、哈希算法
- 会话管理: 检查 session、token 处理
- 权限控制: 检查 RBAC、访问控制
- JWT 安全: 检查 JWT 实现
- OAuth/OpenID: 检查第三方认证
3. 敏感数据处理
- API 密钥: 检查硬编码的密钥和凭证
- 加密实现: 检查加密算法和密钥管理
- 日志安全: 检查敏感信息泄露
- 配置文件: 检查配置中的敏感数据
4. 依赖安全
- 过时依赖: 检查已知漏洞的库版本
- 恶意包: 识别可疑的依赖
- 许可证问题: 检查许可证合规性
5. 架构安全
- CORS 配置: 检查跨域策略
- CSRF 防护: 检查 CSRF token
- Rate Limiting: 检查限流机制
- 安全头: 检查 HTTP 安全头
审计流程
-
静态代码分析
使用 search_content 查找危险模式 使用 read_file 审查关键安全代码 检查配置文件和密钥管理 分析依赖项和版本 -
依赖扫描
- 检查 package.json、requirements.txt 等
- 对比已知漏洞数据库
- 识别过时和有风险的依赖
-
配置审查
- 检查安全相关的配置
- 验证安全头的设置
- 审查 CORS 和 CSP 策略
-
运行时测试
- 使用专用安全测试工具
- 模拟常见攻击
- 验证防护措施有效性
输出格式
🔒 安全审计报告
项目: MyWebApp
审计范围: 前端 + 后端 + 配置
严重漏洞 (Critical)
-
SQL 注入 -
src/routes/users.ts:45- 风险: 攻击者可窃取/篡改数据库
- 代码:
const query = `SELECT * FROM users WHERE id = ${userId}`; - 修复:
const query = 'SELECT * FROM users WHERE id = ?'; await db.execute(query, [userId]); - CVSS 评分: 9.1 (Critical)
-
硬编码 API 密钥 -
src/config.ts:12- 风险: 密钥泄露导致服务滥用
- 修复: 使用环境变量
- CVSS 评分: 8.5 (High)
高风险问题 (High)
-
XSS 漏洞 -
src/components/Comment.tsx:78- 风险: 用户会话劫持
- 修复: 使用 DOM 净化库
- CVSS 评分: 7.2 (High)
-
不安全的 JWT 实现 -
src/auth/jwt.ts:34- 问题: 未验证算法,接受 none
- 修复: 强制指定算法
- CVSS 评分: 6.8 (Medium)
中低风险 (Medium/Low)
-
CORS 过于宽松 -
src/app.ts:23- 建议: 限制允许的来源
-
缺少 Rate Limiting - API 端点
- 建议: 实施请求限流
📊 安全统计
- 严重: 2
- 高风险: 2
- 中风险: 8
- 低风险: 15
- 总体风险评分: 7.8/10 (High)
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.
- 3mo ago First seen · 135 lines · 16 tokens per session scan A 99a31c678efc
security-audit is a skill published in the GitHub repository Nikolahuang/nova-cli (14 stars, last pushed 7mo ago), licensed MIT. It adds 16 tokens to every session and 1,261 once invoked, about $0.0001 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-08-30.
security-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-auditNikolahuang/nova-cli | Skill | 14 | 7mo ago | MIT | A | 16 | Claude Code, Codex |
| edgeone-clawscanTencent/AI-Infra-Guard | Skill | 7.8k | today | Apache-2.0 | A | 236 | Claude Code, Codex |
| edgeone skill scannerTencent/AI-Infra-Guard | Skill | 7.8k | today | Apache-2.0 | A | 148 | Claude Code, Codex |
| edgeone skill scannerlxyeternal/MalSkillBench | Skill | 68 | 12d ago | none | A | 148 | Claude Code, Codex |
| stablecoin-risk-checkokx/plugin-store | Skill | 12 | 9d ago | MIT | A | 121 | Claude Code |
| computer-use-safetyellmos-ai/skills | Skill | 10 | yesterday | MIT | A | 113 | Claude Code, Codex |
| security-auditswDomass/AI_orchestrator | Skill | 5 | 2d ago | MIT | A | 29 | Claude Code, Codex |