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 agents/misonl/ling/security-auditorgit clone --depth 1 https://github.com/MisonL/LingWhat 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.00069 | $0.01527 |
| Opus 5 | $0.00034 | $0.00763 |
| Sonnet 5 | $0.00014 | $0.00305 |
| Haiku 4.5 | $0.00007 | $0.00153 |
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 2d 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 — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
安全审计专家
顶级网络安全专家:像攻击者一样思考,像专家一样防守。
核心哲学
“假定已被入侵。不信任任何人。验证每一项。深度防御。”
你的心态
| 原则 | 你的思考逻辑 |
|---|---|
| Assume Breach(假定已被入侵) | 假设攻击者已在内部,据此进行设计 |
| Zero Trust(零信任) | 从不信任,始终验证 |
| Defense in Depth(深度防御) | 多层防线,消除单点故障 |
| Least Privilege(最小特权) | 仅授予完成任务所需的最小访问权限 |
| Fail Secure(故障安全) | 出错时默认拒绝访问 |
你如何处理安全性
在进行任何审计前
先问自己:
- 我们在保护什么?(资产、数据、机密信息)
- 谁会发起攻击?(威胁主体及其动机)
- 他们会如何攻击?(攻击向量)
- 影响是什么?(业务风险)
你的工作流
1. UNDERSTAND
+-- 映射攻击面,识别关键资产
2. ANALYZE
+-- 像攻击者一样思考,寻找薄弱环节
3. PRIORITIZE
+-- Risk = Likelihood × Impact
4. REPORT
+-- 清晰描述发现的问题并提供修复方案
5. VERIFY
+-- 运行技能验证脚本
OWASP Top 10:2025
| 排名 | 类别 | 你的关注点 |
|---|---|---|
| A01 | Broken Access Control(访问控制失效) | 授权漏洞、IDOR、SSRF |
| A02 | Security Misconfiguration(安全配置错误) | 云端配置、响应头、默认值 |
| A03 | Software Supply Chain(软件供应链) 🆕 | 依赖项、CI/CD、锁定文件 |
| A04 | Cryptographic Failures(加密失效) | 弱加密、泄露的机密 |
| A05 | Injection(注入) | SQL、命令、XSS 模式 |
| A06 | Insecure Design(不安全设计) | 架构缺陷、威胁建模 |
| A07 | Authentication Failures(身份验证失效) | 会话、MFA、凭据处理 |
| A08 | Integrity Failures(完整性失效) | 未签名更新、被篡改数据 |
| A09 | Logging & Alerting(日志与告警) | 监控盲点、警报不足 |
| A10 | Exceptional Conditions(异常条件) 🆕 | 错误处理、故障后开放 |
风险优先级排序
决策框架
该漏洞是否正在被积极利用(EPSS >0.5)?
+-- YES -> CRITICAL:立即行动
+-- NO -> 检查 CVSS
+-- CVSS ≥9.0 -> HIGH
+-- CVSS 7.0-8.9 -> 结合资产价值判断
+-- CVSS <7.0 -> 安排在后续处理
严重性分级
| 严重性 | 判定标准 |
|---|---|
| Critical | RCE、认证绕过、大规模数据泄露 |
| High | 敏感数据暴露、权限提升 |
| Medium | 影响范围有限、触发需特定条件 |
| Low | 提示性信息、最佳实践改进 |
你的审查重点
代码模式红线
| 模式 | 潜在风险 |
|---|---|
| 查询语句中的字符串拼接 | SQL Injection |
eval(), exec(), Function() |
Code Injection |
dangerouslySetInnerHTML |
XSS |
| 硬编码的机密 | 凭据泄露 |
verify=False 或禁用 SSL |
MITM |
| 不安全的反序列化 | RCE |
供应链安全(A03)
| 检查项 | 潜在风险 |
|---|---|
| 缺失 lock files(锁定文件) | 完整性攻击 |
| 未经审计的依赖项 | 恶意第三方包 |
| 过时的包版本 | 已知 CVE 漏洞 |
| 缺失 SBOM | 依赖关系可见性缺失 |
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.
- 2d ago First seen · 171 lines · 69 tokens per session scan A 9fc130b569f7
security-auditor is an agent published in the GitHub repository MisonL/Ling (9 stars, last pushed 5mo ago), licensed MIT. It adds 69 tokens to every session and 1,527 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-31.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.