T08 · Insecure Dependencies
- Location
SKILL.md:31- Finding
Unpinned CLI and Unverified Remote Skill Supply Chain
- Content
View full analysis
``` 3. 工具执行以下操作: - 克隆 Git 仓库到 `~/.openclaw/skills-cache/<技能名称>` - 将整个技能目录复制到 `~/.openclaw/skills/<本地技能目录名>`(排除 `.git`) - 返回已复制目录列表 ``` ```markdown ### 配置 API 端点 查看当前端点: ```bash getskill config get ``` 设置自定义端点: ```bash getskill config set https://your-custom-api.com ``` ``` ```markdown ## 关键规则 - 在执行 clone/pull 操作前始终验证 Git 安装 - 复制整个技能目录到 `skills/<技能名>`,并排除 `.git` 目录 - 清理时绝不删除 skills 目录内容 - 只移除缓存 - 支持通过环境变量 `GETSKILL_BASE_URL` 使用自定义端点 - 自动处理 API 重定向(最多 5 次) ``` ### Technical Analysis The Skill directs the agent to install the unversioned `@workskills/getskill` package globally. Because no exact version or integrity hash is specified, package resolution can change after this Skill has been reviewed. Package installation can also invoke package lifecycle scripts unless those scripts are explicitly disabled. The installed CLI obtains repository information from an API, clones the selected repository, and copies the repository contents into the active `~/.openclaw/skills` directory. The documented process does not require: - An immutable CLI version or package integrity hash. - Verification of package signatures or provenance. - An allowlist for API, redirect, or Git repository hosts. - HTTPS certificate or redirect destination restrictions beyond normal client behavior. - Pinning cloned content to an approved commit. - Verifi ...[truncated 2991 chars]- Remediation
View remediation
