code-vuln-audit

仓库创建 2025年6月22日最近提交 1 天前SkillHot 收录 20 天前
▸ 精选理由

覆盖依赖审计与秘钥检测,适合纳入 CI/开发流程防护。

▸ 风险提示

会读取并分析代码与依赖清单,可能暴露密钥并触发外部请求。

这个 Skill 做什么

扫描代码中的依赖漏洞、秘密泄露与常见 OWASP 风险。

扫描代码库里的安全问题:自动做 npm/pip 依赖漏洞检测、用正则和熵值发现硬编码密钥,并识别常见 OWASP 反模式(如 SQL 注入、XSS、命令注入)。适合在代码审查、发布前或怀疑泄密与密钥硬编码时运行。特点是把依赖审计、秘密泄露检测和安全反模式识别结合起来,快速给出易复现的告警与修复方向。

▸ 展开 SKILL.md 英文原文

Scan code for security issues: dependency vulnerabilities (npm/pip audit), secret leaks (regex and entropy analysis), and OWASP anti-patterns like SQL injection, XSS, or command injection. Use when the user mentions security scans, vulnerability detection, secret leaks, API keys, OWASP, npm audit, pip-audit, hardcoded passwords, or code security checks.

开发编程安全审计秘钥检测依赖漏洞通用
4.4k
Stars
448
Forks
40
仓库内 Skill
+70
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/code-vuln-audit/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/code-vuln-audit/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# code-vuln-audit

A code security scanning tool with three core scanning capabilities:

1. **Dependency Vulnerability Scanning** — Automatically detects known vulnerabilities in npm / pip dependencies
2. **Secret Leak Detection** — Discovers hardcoded secrets, tokens, and passwords via regex matching + Shannon entropy analysis
3. **OWASP Pattern Detection** — Identifies common security anti-patterns such as SQL injection, XSS, command injection, and insecure deserialization

## Quick Start

```bash
# Scan the current directory (all checks)
python3 scripts/security_scan.py .

# Scan dependencies only
python3 scripts/security_scan.py --mode deps .

# Detect secret leaks only
python3 scripts/s
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有