Skip to content
Agentmart
Submit a tool

security-audit

代码安全审计 - 漏洞扫描、依赖检查、安全最佳实践

Skill by laolaoshiren

IndexedMIT★ 893
Write a review

Chalk Labs

Need help deploying security-audit?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/laolaoshiren-security-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

代码安全审计 - 漏洞扫描、依赖检查、安全最佳实践

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/security-audit

What's inside

Skill name
security-audit
Description
代码安全审计 - 漏洞扫描、依赖检查、安全最佳实践
License
MIT
Instructions
79 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 代码安全审计

## 触发条件
当用户要求安全检查、漏洞扫描、安全审计、依赖安全检查时激活此技能。

## 工作流程

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. 长期改进:...
```

## 注意事项
- 提供修复前后的代码对比
- 对于每条漏洞,说明具体的攻击向量
- 优先级基于可利用性和影响范围判断

From laolaoshiren/claude-code-skills-zh, MIT.

More from laolaoshiren/claude-code-skills-zh

Signals

Stars
893
Forks
108
Open issues
1
Last commit (this folder)
Apr 21, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from laolaoshiren

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get security-audit running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying security-audit?

CallGet help
Cite this page

security-audit skill. Agent Mart. https://agentmart.dev/skills/laolaoshiren-security-audit (last updated 2026-10-24)