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 Morningstar202604/awesome-skillkit --skill security-scangit clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitWrote 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/morningstar202604/awesome-skillkit/security-scan)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/security-scan"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/security-scan/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/morningstar202604/awesome-skillkit/security-scan"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/security-scan.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.00087 | $0.00982 |
| Opus 5.5 | $0.00035 | $0.00393 |
| Sonnet 5.5 | $0.00017 | $0.00196 |
| Haiku 4.5 | $0.00009 | $0.00098 |
Grade A, and why
security-scan 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 2mo 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-scan)
本 skill 适配全栈、软件开发团队的快速门禁。它是「快扫」:一遍过依赖、配置、源码里的常见高危模式,输出分级清单。需要深度链路追踪、数据流污点分析时,改用 deep-security-scan。
这是什么
一轮结构化的快速安全过检。用工具(依赖扫描、密钥扫描、静态规则)+ 人工 spot check 结合,在一次 passes 内把最可能出事的点捞出来,不追求穷尽。
何时使用
- PR 合入前的快速安全门禁。
- 接手陌生仓库的第一遍安全摸底。
- 发版前的冒烟式安全检查。
核心步骤
- 依赖体检:列出所有直接依赖,查已知 CVE / 弃用包 / 过期版本,区分可利用性。
- 密钥与凭据扫描:全局扫硬编码的 API Key、密码、token、私钥、Webhook 地址。
- 注入与危险函数:找 SQL 拼接、命令拼接、模板注入、反序列化、动态 eval。
- 鉴权与会话:检查路由是否漏鉴权、越权(IDOR)、JWT 校验缺失、CORS 过宽。
- 配置与传输:检查是否 debug 暴露、错误堆栈外泄、HTTPS 强制、安全响应头。
- 分级输出:按 critical / high / medium / low 出清单,每条给位置 + 风险 + 修复方向。
快速检查清单
- 依赖扫描无未修复 critical/high CVE,或有明确豁免理由。
- 仓库里无硬编码密钥(含历史提交、
.env.example外的真实值)。 - 数据库查询用参数化/ORM,无字符串拼接 SQL。
- 无
exec/system拼接用户输入;文件路径做了白名单校验。 - 所有敏感路由有鉴权中间件;对象级权限在服务端校验,不只靠前端隐藏。
- 生产关闭 debug / 详细错误页;错误不返回堆栈/SQL。
- 上传文件校验类型/大小/扩展名,存储不可直接执行。
- 会话/令牌有过期、httponly、secure 标志。
风险分级约定
- Critical:可被远程直接利用拿数据/RCE(未授权注入、硬编码生产密钥)。
- High:鉴权缺失、越权访问他人数据、高危依赖漏洞。
- Medium:信息泄露、CORS 配置过宽、缺少安全头。
- Low:最佳实践类(日志脱敏不全、依赖补丁滞后)。
易错点
- 只跑工具不人工看:工具报一堆误报,不做甄别就全列上去,淹没真问题。
- 只扫工作区不扫历史:密钥曾提交过,即便现在删了也已泄露,必须轮换。
- 把「理论风险」当 critical:脱离实际可利用性分级,导致门禁噪音过大。
- 越权只看登录态不看对象级:检查了「要登录」却没查「能不能看别人的订单」(IDOR)。
- 依赖漏洞不看版本范围:报了 CVE 但当前版本不在受影响范围,误报为高危。
- 快扫当深扫用:单遍扫不出复杂数据流污点问题;发现疑点要升级到 deep-security-scan。
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.
- 2mo ago First seen · 51 lines · 87 tokens per session scan A 647638fa0527
security-scan is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 982 once invoked, about $0.0003 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-09-27.
security-scan compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-scanMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 87 | Claude Code, Codex |
| safe-refactorJuliusBrussee/caveman | Skill | 124k | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| auditing-subgroup-fairnessmaziyarpanahi/openmed | Skill | 5.9k | yesterday | Apache-2.0 | A | 148 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| infographic-template-updaterantvis/Infographic | Skill | 7.2k | 1mo ago | MIT | A | 43 | Claude Code |
| pulse-configureSnowflake-Labs/cocoplus | Skill | 729 | 23d ago | MIT | A | 12 | Claude Code, Codex |