Back to skills
SKILL.md
Security Vuln Scanner
ASecurity扫描代码中的安全漏洞,提供修复建议。
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added November 11, 2026
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add johnalbertini14-glitch/openclaw-skills --skill security-vuln-scanner --agent claude-codeAre you the author of Security Vuln Scanner?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-security-vuln-scanner)# Security Vulnerability Scanner
扫描代码中的安全漏洞,提供修复建议。
## 功能
- SQL 注入检测
- XSS 跨站脚本检测
- 硬编码密码/密钥检测
- 不安全随机数检测
- 命令注入检测
- 敏感信息泄露检测
- 安全评分
## 触发词
- "安全扫描"
- "漏洞检测"
- "security scan"
- "vulnerability"
## 检测模式
```javascript
const patterns = {
sqlInjection: /query\s*\(\s*['"`].*\$\{/,
xss: /innerHTML\s*=|document\.write/,
hardcodedSecret: /password\s*=\s*['"][^'"]+['"]/,
insecureRandom: /Math\.random\(\)/,
commandInjection: /exec\s*\(\s*\$\{/
};
```
## 输出示例
```json
{
"vulnerabilities": [
{
"type": "sql_injection",
"line": 42,
"severity": "high",
"message": "检测到SQL注入风险"
}
],
"score": 65
}
```
Files in this skill
- SKILL.md
- _meta.json
- skill.yaml
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.