AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Security Audit

skill-laolaoshiren-claude-code-skills-zh-security-audit · by laolaoshiren

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

No reviews yet
0 installs
27 views
0.0% view→install

Install

$ agentstack add skill-laolaoshiren-claude-code-skills-zh-security-audit

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-laolaoshiren-claude-code-skills-zh-security-audit)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Security Audit? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

代码安全审计

触发条件

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

工作流程

  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 强制

输出格式

## 🔒 安全审计报告

### 审计概览
- 审计范围:xxx
- 发现问题:🔴 高危 X 个 / 🟡 中危 X 个 / 🟢 低危 X 个

### 🔴 高危问题
#### 1. [文件路径:行号]
- **漏洞类型**:xxx
- **风险描述**:xxx
- **攻击场景**:攻击者可以通过 xxx 方式...
- **修复方案**:
  ```code
  // 修复前
  // 修复后
  ```

### 🟡 中危问题
...

### 🟢 低危问题
...

### 依赖安全
| 依赖名 | 当前版本 | 建议版本 | 风险 |
|--------|---------|---------|------|

### 修复优先级建议
1. 立即修复:...
2. 本周修复:...
3. 长期改进:...

注意事项

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

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.