security-audit SKILL.md skillA
security-audit from laolaoshiren/claude-code-skills-zh is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add laolaoshiren/claude-code-skills-zh/security-audit@git:20260421.27394bePins git:20260421.27394be in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- laolaoshiren/claude-code-skills-zh
- Path
skills/security-audit/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260421.27394be, committed Apr 21, 2026
- First version recorded
- Apr 14, 2026
- Size
- 2,054 bytes
- Repository stars
- 869
- License
- MIT
代码安全审计 - 漏洞扫描、依赖检查、安全最佳实践.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 代码安全审计 ## 触发条件 当用户要求安全检查、漏洞扫描、安全审计、依赖安全检查时激活此技能。 ## 工作流程 1. **确定审计范围** — 根据用户指定的目录/文件/代码段进行分析 2. **静态安全扫描** — 按检查清单逐项排查 3. **依赖安全检查** — 检查 package.json / requirements.txt / go.mod 等依赖文件 4. **生成审计报告** — 按严重程度分类输出 ## 检查清单 ### 🔴 高危 - [ ] 硬编码密钥/密码/API Key - [ ] SQL 注入风险(字符串拼接 SQL) - [ ] 命令注入(未过滤的 shell 命令) - [ ] 路径遍历(未校验的文件路径) - [ ] 反序列化漏洞 - [ ] 未校验的 JWT/Token 验证 ### 🟡 中危 - [ ] XSS 风险(未转义的用户输入) - [ ] CSRF 保护缺失 - [ ] 不安全的随机数生成 - [ ] 敏感信息日志泄露 - [ ] 过宽的权限设置 - [ ] 缺少 Rate Limiting ### 🟢 低危 - [ ] 缺少输入验证 - [ ] 依赖版本过旧 - [ ] 缺少安全头部(CSP, HSTS, X-Frame-Options) - [ ] 错误信息泄露内部细节 - [ ] 缺少 HTTPS 强制 ## 输出格式 ```markdown ## 🔒 安全审计报告 ### 审计概览 - 审计范围:xxx - 发现问题:🔴 高危 X 个 / 🟡 中危 X 个 / 🟢 低危 X 个 ### 🔴 高危问题 #### 1. [文件路径:行号] - **漏洞类型**:xxx - **风险描述**:xxx - **攻击场景**:攻击者可以通过 xxx 方式... - **修复方案**: ```code // 修复前 // 修复后 ``` ### 🟡 中危问题 ... ### 🟢 低危问题 ... ### 依赖安全 | 依赖名 | 当前版本 | 建议版本 | 风险 | |--------|---------|---------|------| ### 修复优先级建议 1. 立即修复:... 2. 本周修复:... 3. 长期改进:... ``` ## 注意事项 - 提供修复前后的代码对比 - 对于每条漏洞,说明具体的攻击向量 - 优先级基于可利用性和影响范围判断
Read the whole file at its exact version.
How to install
mdr add laolaoshiren/claude-code-skills-zh/security-audit@sha256:c6a811d71b218478The line at the top of this page pins the label git:20260421.27394be, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hgs7ezgtvrgyph52)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Apr 14, 2026 and Apr 21, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260421.27394be latest | 2026-04-21 | 27394be | 2,054 B | A | view · diff |
| git:20260414.3583839 | 2026-04-14 | 3583839 | 969 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2054 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
laolaoshiren/claude-code-skills-zh · 869 stars · license MIT · pushed 2026-09-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hgs7ezgtvrgyph52 GET https://markdownregistry.com/api/v1/resolve?ref=laolaoshiren/claude-code-skills-zh/security-audit GET https://markdownregistry.com/api/v1/blob/c6a811d71b218478b51fb15b916e13112755b654310b35ffd79879b1410f785a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from laolaoshiren/claude-code-skills-zh
Every file in laolaoshiren/claude-code-skills-zh