Skillquality 0.56
analyzing-security
Scans code for security vulnerabilities, detects dangerous patterns, and ensures security decisions are documented. Use when running security scans, auditing code, or checking for OWASP issues, injection risks, or sensitive data leaks. Automatically triggered on new modules, secu
What it does
安全校验关卡
命令
node scripts/security_scanner.js <路径>
node scripts/security_scanner.js <路径> -v # 详细
node scripts/security_scanner.js <路径> --json # JSON
node scripts/security_scanner.js <路径> --exclude vendor
检测矩阵
| 类别 | 检测项 | 严重度 |
|---|---|---|
| 注入 | SQL/命令/代码注入 | Critical |
| 敏感信息 | 硬编码密钥、AWS Key、私钥 | Critical |
| XSS | innerHTML、dangerouslySetInnerHTML | High |
| 反序列化 | pickle.loads、yaml.load | High |
| 路径遍历 | 未验证文件路径操作 | High |
| SSRF | 未验证 URL 请求 | High |
| 弱加密 | MD5/SHA1 用于安全场景 | Medium |
| 不安全随机 | random 用于安全场景 | Medium |
| 调试残留 | debugger、pdb.set_trace、breakpoint | Low |
危险模式速查
# 危险: eval(), exec(), os.system(), subprocess(shell=True), pickle.loads(), yaml.load(), f"SELECT...{id}"
# 安全: ast.literal_eval(), subprocess([...], shell=False), yaml.safe_load(), cursor.execute("...%s", (id,))
// 危险: eval(), innerHTML, document.write(), new Function(userInput)
// 安全: JSON.parse(), textContent, 模板引擎自动转义
// 危险: exec.Command("sh", "-c", userInput), template.HTML(userInput)
// 安全: exec.Command("cmd", args...), html/template 自动转义
触发条件
新建模块 | 安全相关变更 | 攻防任务 | 重构完成 | 提交前
输出规则
Critical/High 必修后方可交付。安全决策须于 DESIGN.md 记录:威胁模型、信任边界、已知风险。
Capabilities
skillsource-telagodskill-analyzing-securitytopic-agent-skillstopic-ai-agenttopic-ai-assistanttopic-ai-personalitytopic-blue-teamtopic-character-cardtopic-claude-codetopic-clitopic-codextopic-codex-clitopic-configurationtopic-developer-tools
Install
Installnpx skills add telagod/code-abyss
Transportskills-sh
Protocolskill
Quality
0.56/ 1.00
deterministic score 0.56 from registry signals: · indexed on github topic:agent-skills · 211 github stars · SKILL.md body (1,248 chars)
Provenance
Indexed fromgithub
Enriched2026-05-18 18:55:04Z · deterministic:skill-github:v1 · v1
First seen2026-05-16
Last seen2026-05-18