Skill Trust Decision

amap-cli-skill

纯文档型技能,仅含 SKILL.md 和 skill-card.md,无脚本代码。所有操作(读取凭证、shell 执行、API 调用)均在文档中完整声明,无阴影功能。存在凭证处理宽泛和 npm 安装无版本锁定的已知风险点,但属合法地图工具的必要设计。

Install decision first Source: ClawHub Scanned: Jul 17, 2026
Files 2
Artifacts 6
Violations 0
Findings 3

Why this conclusion was reached

0/4 dimensions flagged
Pass
Declared vs actual capability

Declared resources and inferred behavior are broadly aligned.

Review
Hidden execution and egress

6 lower-risk artifacts were extracted and still need context.

Pass
Attack chain and severe findings

There is no explicit malicious chain in the report.

Pass
Dependencies and supply chain hygiene

Dependencies are present but no obvious high-risk issue stands out.

What drove the risk score up

凭证处理宽泛 +10

从 ~/.openclaw/openclaw.json 读取 AMAP_KEY 并 export 到全局 shell 环境,skill-card.md 已声明为已知风险

npm 安装无版本锁定 +5

npm install -g @amap-lbs/amap-gui@latest 使用 latest 标签,存在供应链风险

shell:WRITE 声明 +5

文档要求执行 amap-gui start/status/stop 等 shell 命令,属于中等权限操作

Most important evidence

Medium Credential Theft

凭证读取并全局导出

技能要求从 ~/.openclaw/openclaw.json 读取 AMAP_KEY 和 AMAP_SECURITY_KEY,然后 export 到全局 shell 环境。这使得同一执行上下文中的后续命令均可访问这些凭证,增加了凭证泄露的暴露面。skill-card.md 已将此列为已知风险。

SKILL.md:55
建议使用平台作用域的环境变量注入替代手动读取配置文件;或在 export 前增加作用域限制(如仅当前命令有效而非全局)
Medium Supply Chain

npm 包安装无版本锁定

npm install -g @amap-lbs/amap-gui@latest 使用 latest 动态标签安装包,未锁定具体版本,存在 typosquatting 和供应链攻击风险。

SKILL.md:78
建议指定固定版本号(如 @amap-lbs/[email protected]),或要求包已通过完整性校验
Low Sensitive Access

访问 OpenClaw 内部配置文件

技能访问 ~/.openclaw/openclaw.json 配置文件,该文件属于 OpenClaw 平台内部数据,包含技能配置信息。

SKILL.md:56
确认该文件不包含其他敏感信息;建议平台提供安全的凭证注入机制替代直接文件读取

Declared capability vs actual capability

Filesystem Pass
Declared READ
→
Inferred READ
SKILL.md:55-71 读取 ~/.openclaw/openclaw.json
Shell Pass
Declared WRITE
→
Inferred WRITE
SKILL.md:78 npm install; SKILL.md:139 amap-gui start/status/stop
Network Pass
Declared READ
→
Inferred READ
SKILL.md:所有地图操作均调用高德地图服务 API
Environment Pass
Declared WRITE
→
Inferred WRITE
SKILL.md:67 export AMAP_KEY

Suspicious artifacts and egress

Medium External URL
https://lbs.amap.com),配置完成后重试

SKILL.md:66

Medium External URL
https://www.npmjs.com/package/@amap-lbs/amap-gui

SKILL.md:81

Medium External URL
https://lbs.amap.com)

SKILL.md:112

Medium External URL
https://lbs.amap.com

SKILL.md:126

Medium External URL
https://clawhub.ai/user/lbs-amap

skill-card.md:7

Medium External URL
https://clawhub.ai/lbs-amap/amap-cli-skill

skill-card.md:27

Dependencies and supply chain

PackageVersionSourceKnown vulnNotes
@amap-lbs/amap-gui latest (未锁定) npm No 使用 @latest 动态标签,存在供应链风险

File composition

2 files · 779 lines
Markdown 2 files · 779 lines
Files of concern · 2
SKILL.md Markdown · 737 lines
凭证读取并全局导出 · npm 包安装无版本锁定 · 访问 OpenClaw 内部配置文件 · https://lbs.amap.com),配置完成后重试 · https://www.npmjs.com/package/@amap-lbs/amap-gui · https://lbs.amap.com) · https://lbs.amap.com
skill-card.md Markdown · 42 lines
https://clawhub.ai/user/lbs-amap · https://clawhub.ai/lbs-amap/amap-cli-skill

Security positives

纯文档型技能,无可执行代码,无法直接植入恶意逻辑
所有敏感操作(凭证读取、shell 执行)在 SKILL.md 和 skill-card.md 中完整声明,无阴影功能
skill-card.md 主动列出已知风险并提供缓解建议,信息透明度高
凭证为用户主动配置的 AMap API Key,非系统凭证或 SSH/云密钥
地图数据发送目标为高德地图官方服务,属于正常的地图工具行为
无 Base64 编码、eval 动态执行、IP 直连等高危模式
无凭证收割+远程执行共现,无 C2 通信特征