amap-cli-skill
纯文档型技能,仅含 SKILL.md 和 skill-card.md,无脚本代码。所有操作(读取凭证、shell 执行、API 调用)均在文档中完整声明,无阴影功能。存在凭证处理宽泛和 npm 安装无版本锁定的已知风险点,但属合法地图工具的必要设计。
Why this conclusion was reached
0/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
6 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
Dependencies are present but no obvious high-risk issue stands out.
What drove the risk score up
从 ~/.openclaw/openclaw.json 读取 AMAP_KEY 并 export 到全局 shell 环境,skill-card.md 已声明为已知风险
npm install -g @amap-lbs/amap-gui@latest 使用 latest 标签,存在供应链风险
文档要求执行 amap-gui start/status/stop 等 shell 命令,属于中等权限操作
Most important evidence
凭证读取并全局导出
技能要求从 ~/.openclaw/openclaw.json 读取 AMAP_KEY 和 AMAP_SECURITY_KEY,然后 export 到全局 shell 环境。这使得同一执行上下文中的后续命令均可访问这些凭证,增加了凭证泄露的暴露面。skill-card.md 已将此列为已知风险。
SKILL.md:55 npm 包安装无版本锁定
npm install -g @amap-lbs/amap-gui@latest 使用 latest 动态标签安装包,未锁定具体版本,存在 typosquatting 和供应链攻击风险。
SKILL.md:78 访问 OpenClaw 内部配置文件
技能访问 ~/.openclaw/openclaw.json 配置文件,该文件属于 OpenClaw 平台内部数据,包含技能配置信息。
SKILL.md:56 Declared capability vs actual capability
SKILL.md:55-71 读取 ~/.openclaw/openclaw.json SKILL.md:78 npm install; SKILL.md:139 amap-gui start/status/stop SKILL.md:所有地图操作均调用高德地图服务 API SKILL.md:67 export AMAP_KEY Suspicious artifacts and egress
https://lbs.amap.com),配置完成后重试 SKILL.md:66
https://www.npmjs.com/package/@amap-lbs/amap-gui SKILL.md:81
https://lbs.amap.com) SKILL.md:112
https://lbs.amap.com SKILL.md:126
https://clawhub.ai/user/lbs-amap skill-card.md:7
https://clawhub.ai/lbs-amap/amap-cli-skill skill-card.md:27
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| @amap-lbs/amap-gui | latest (未锁定) | npm | No | 使用 @latest 动态标签,存在供应链风险 |
File composition
SKILL.md skill-card.md