扫描报告
22 /100
docker-claude-code-setup
Guide for setting up Claude Code in Docker containers with ttyd web terminal, tmux session persistence, acpx multi-agent tool, and API configuration
A legitimate Docker Claude Code deployment guide with documented shell execution and standard infrastructure tooling, but lacking explicit capability declarations and containing a few broad permission examples.
可以安装
Add explicit permission declarations in SKILL.md (shell:WRITE, filesystem:WRITE, network:READ). Remove the wildcard Bash(**) permission pattern from example configs in documentation. Consider pinning npm package versions to specific versions rather than latest.
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Shell execution capabilities not declared in SKILL.md 文档欺骗 | SKILL.md:21 |
| 中危 | curl|bash remote script execution pattern 代码执行 | SKILL.md:21 |
| 低危 | Wildcard Bash(**) permission pattern shown in example 文档欺骗 | references/claude-code-installation.md:52 |
| 低危 | Filesystem WRITE to user home directory not declared 权限提升 | scripts/install-acpx.sh:28 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 命令执行 | NONE | WRITE | ✓ 一致 | SKILL.md:21, SKILL.md:25, SKILL.md:32 — curl|bash, apt-get, npm install, pkill, … |
| 文件系统 | NONE | WRITE | ✓ 一致 | install-acpx.sh:28, start-ttyd.sh:15 — writes ~/.tmux.conf, ~/.acpx/config.json … |
| 网络访问 | NONE | READ | ✓ 一致 | SKILL.md:21, SKILL.md:25, start-ttyd.sh:43 — fetches from deb.nodesource.com, np… |
| 环境变量 | NONE | READ | ✓ 一致 | SKILL.md:68 — skill instructs users to export ANTHROPIC_API_KEY, exposing enviro… |
1 严重 10 项发现
严重 危险命令 危险 Shell 命令
curl -fsSL https://deb.nodesource.com/setup_20.x | bash SKILL.md:21 中危 外部 URL 外部 URL
https://deb.nodesource.com/setup_20.x SKILL.md:21 中危 外部 URL 外部 URL
https://api.example.com/v1 SKILL.md:69 中危 外部 URL 外部 URL
http://HOST:6080 SKILL.md:103 中危 外部 URL 外部 URL
https://api.lkeap.cloud.tencent.com/coding/anthropic references/api-configuration.md:10 中危 外部 URL 外部 URL
https://api.deepseek.com references/api-configuration.md:11 中危 外部 URL 外部 URL
https://aip.baidubce.com/rpc/2.0/ai_custom/v1 references/api-configuration.md:12 中危 外部 URL 外部 URL
https://dashscope.aliyuncs.com/compatible-mode/v1 references/api-configuration.md:13 中危 外部 URL 外部 URL
https://api.example.com/anthropic references/api-configuration.md:85 中危 外部 URL 外部 URL
http://YOUR_IP:6080 references/ttyd-tmux-setup.md:99 目录结构
7 文件 · 16.3 KB · 650 行 Markdown 5f · 563L
Shell 2f · 87L
├─
▾
references
│ ├─
acpx-setup.md
Markdown
│ ├─
api-configuration.md
Markdown
│ ├─
claude-code-installation.md
Markdown
│ └─
ttyd-tmux-setup.md
Markdown
├─
▾
scripts
│ ├─
install-acpx.sh
Shell
│ └─
start-ttyd.sh
Shell
└─
SKILL.md
Markdown
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
@anthropic-ai/claude-code | latest | npm | 否 | Version not pinned in SKILL.md |
@anthropic-ai/acpx | latest | npm | 否 | Version not pinned in SKILL.md |
安全亮点
✓ All npm packages are from official @anthropic-ai and npmjs.com registries with no typosquatting detected
✓ No base64 encoding, obfuscation, or anti-analysis techniques found
✓ No credential harvesting, key exfiltration, or unauthorized data access observed
✓ Documentation explicitly includes security advice about not hardcoding API keys and using .env files
✓ API configuration examples reference legitimate providers (Anthropic, Tencent, DeepSeek, Baidu, Alibaba)
✓ No supply chain malicious dependency indicators found — no external scripts fetched at runtime