扫描报告
48 /100
claw-shell
Run shell commands inside tmux session for AI agent interaction
Shell execution tool with declared purpose but weak safety filter that can be bypassed, allowing potentially destructive commands.
谨慎使用
Add more comprehensive command validation, use allowlist approach instead of blocklist, add timeout limits, and consider sandboxing tmux session.
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Unrestricted shell execution with weak safety controls 代码执行 | handler.js:18 |
| 中危 | Dangerous commands bypass filter 代码执行 | handler.js:18 |
| 中危 | Indirect environment variable access 敏感访问 | handler.js:14 |
| 低危 | No command timeout configured 代码执行 | handler.js:29 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 命令执行 | WRITE | WRITE | ✓ 一致 | execSync used in handler.js:1,7,10 |
| 文件系统 | WRITE | WRITE | ✓ 一致 | Shell can execute any file operation |
| 网络访问 | WRITE | WRITE | ✓ 一致 | Shell can execute curl/wget/netcat |
| 环境变量 | NONE | READ | ✓ 一致 | Shell commands can read $ENV vars |
| 剪贴板 | NONE | NONE | — | |
| 浏览器 | NONE | NONE | — | |
| 数据库 | NONE | NONE | — |
1 项发现
中危 外部 URL 外部 URL
https://x.com/... SKILL.md:39 目录结构
3 文件 · 2.4 KB · 106 行 JavaScript 1f · 57L
Markdown 1f · 44L
JSON 1f · 5L
├─
_meta.json
JSON
├─
handler.js
JavaScript
└─
SKILL.md
Markdown
安全亮点
✓ Purpose and capabilities are clearly documented in SKILL.md
✓ Uses dedicated tmux session 'claw' for isolation
✓ Basic safety filter exists for clearly dangerous commands
✓ No hidden functionality or obfuscation detected
✓ No credential harvesting or data exfiltration observed
✓ Single-purpose tool with focused functionality