低风险 — 风险评分 15/100
上次扫描:1 天前 重新扫描
15 /100
skill_guard
Security scanner for AI Skills - scans code for risks before install or use
Legitimate security scanner tool that detects risk patterns in code, though with documentation-code mismatch for remote inspection feature.
技能名称skill_guard
分析耗时33.1s
引擎pi
可以安装
This skill is a genuine security scanner for AI skills. Use as intended for auditing unknown code. No malicious behavior detected.

安全发现 2 项

严重性 安全发现 位置
低危
Undocumented/Unimplemented Feature 文档欺骗
SKILL.md documents inspect_remote() function for remote skill inspection, but this function is not implemented in skill_guard.py. Only scan() and check() are available.
def check(skill: str)...
→ Remove inspect_remote from documentation or implement the function.
skill_guard.py:1
低危
Pattern Detection False Positives 文档欺骗
RISK_PATTERNS flags benign code patterns like 'input(', 'getpass', 'os.environ' as suspicious, which may produce false positives when scanning legitimate security tools.
(['input(', 'getpass', 'askpassword', '密码输入', '输入密码'], '诱导输入', '🟠 高')
→ Refine pattern matching to reduce false positives in legitimate tools.
skill_guard.py:1
资源类型声明权限推断权限状态证据
文件系统 READ READ ✓ 一致 _find_files() uses os.walk() to read file tree
网络访问 READ NONE ✓ 一致 SKILL.md mentions inspect_remote() but function not implemented
命令执行 NONE NONE No shell execution found
环境变量 NONE NONE Code does not read environment variables

目录结构

2 文件 · 9.1 KB · 245 行
Python 1f · 174L Markdown 1f · 71L
├─ 🐍 skill_guard.py Python 174L · 7.0 KB
└─ 📝 SKILL.md Markdown 71L · 2.1 KB

依赖分析 1 项

包名版本来源已知漏洞备注
Python standard library only N/A stdlib Only uses os, re, json, dataclasses, typing, enum - all built-in modules

安全亮点

✓ No actual malicious code execution detected - only pattern matching definitions
✓ No credential harvesting or data exfiltration
✓ No network-based C2 communication or data theft
✓ No reverse shell, backdoor, or persistence mechanisms
✓ Scanner reads files only for pattern matching, no destructive operations
✓ No obfuscation techniques (base64/rot13 in patterns are detection rules, not actual obfuscation)
✓ Dependencies are standard library only - no external supply chain risk