External Script Fetching
- Category
- Supply Chain
- Confidence
- 95% confidence
- Finding
The update workflow normalizes fetching executable content from the network and running it locally, which is dangerous in an agent setting where skills are treated as untrusted instructions. The stated self-verification by the script is insufficient because the verification mechanism is controlled by the same remote source, so a malicious or compromised origin could deliver both payload and matching check logic.
- Content
md > `zerotech.*` 与 API Key 前缀 `zerotech_live_` 为**历史兼容名**(改名会破坏已装客户端),保持稳定不变,不是另一家公司。 > 🔧 **版本与更新(按需,非强制)**:本 Skill 是平台服务端统一下发的说明文档,会随服务演进更新。**日常使用不需要每次更新**——需要时按下述做: > 1. **先比版本**(只读、秒级):`curl -fsSL https://pay.starrynan.art/nanyu/skill/meta.json` 返回的 `version`,与本地 SKILL.md 顶部 frontmatter 的 `version` 对比; > 2. **不一致再更新**(两步执行;请勿用 `curl | bash` 管道形式——部分环境会对管道直跑脚本拦截/告警):先 `curl -fsSL -o /tmp/zt-skill-install.sh https://pay.starrynan.art/nanyu/skill/install.sh`,再 `bash /tmp/zt-skill-install.sh`(脚本幂等:已是最新会自动跳过;更新后会按服务端 sha256 校验内容完整性); > 3. **什么时候做**:首次使用前做一次;此后仅在 ① 发现本说明与实际接口行为不一致(字段/报错/流程对不上),或 ② 距上次更新超过 30 天 时再做。 >
