sa-master
Skill includes an undeclared shell script (call_tool.sh) that executes local bash commands, exposes a hardcoded API key in config.json, and connects to an external MCP service with limited data-handling transparency.
为什么得出这个结论
2/4 个维度触发发现 1 项声明之外的能力或越权行为。
提取到 3 个一般风险产物,需要结合上下文判断。
报告包含 4 步攻击链,另有 1 项高危或严重发现。
没有完整依赖信息,供应链判断需要保留弹性。
攻击链
初始入口 · mcp-proxy/config.json:2
权限提升 · mcp-proxy/call_tool.sh:1
最终危害 · SKILL.md:91
最终危害 · mcp-proxy/call_tool.sh:72
风险分是怎么被拉高的
call_tool.sh enables bash+curl execution but is not mentioned in SKILL.md capabilities or tool declarations
Bearer token sk-Wp9mTx4KvRn7Qd3Fzj embedded in config.json and referenced in SKILL.md
Architecture documents and business assets sent to https://mcp.smartmoves.com.cn/sa/mcp with unclear data handling
No pi.yaml or equivalent declaring filesystem/shell/network permissions
最关键的证据
Hardcoded bearer token in config.json
The file mcp-proxy/config.json contains a hardcoded API key 'sk-Wp9mTx4KvRn7Qd3Fzj'. This credential is also embedded in SKILL.md documentation, creating a permanent exposure risk.
mcp-proxy/config.json:2 Undeclared shell script execution capability
mcp-proxy/call_tool.sh is a bash script that executes local shell commands (bash, curl, python3) but this capability is not declared in SKILL.md under tool declarations or permissions. The SKILL.md only mentions MCP tools without referencing any local script execution.
mcp-proxy/call_tool.sh:1 Architecture documents sent to external MCP service with unclear data retention
The skill sends business requirements, architecture documents, and design artifacts to a remote MCP service at https://mcp.smartmoves.com.cn/sa/mcp. skill-card.md acknowledges this risk but provides no details about data retention, processing, or third-party sharing policies.
SKILL.md:91 No allowed-tools declaration file present
No pi.yaml or equivalent allowed-tools mapping file exists in the skill package. Without explicit permission declarations, the runtime cannot verify that shell access granted to call_tool.sh is intentional and scoped.
. 声明能力 vs 实际能力
mcp-proxy/call_tool.sh:1 — bash script executes curl commands to remote endpoint SKILL.md declares MCP service usage; call_tool.sh sends JSON-RPC requests Skill outputs documents but no filesystem permissions declared; call_tool.sh creates .tmp directory 可疑产物与外联
https://mcp.smartmoves.com.cn/sa/mcp SKILL.md:82
https://clawhub.ai/user/leo21cn skill-card.md:7
https://clawhub.ai/leo21cn/skills/sa-master skill-card.md:29
依赖与供应链
没有结构化依赖告警。
文件构成
mcp-proxy/config.json SKILL.md mcp-proxy/call_tool.sh skill-card.md