T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:34- Finding
Unpinned Remote Code Is Retrieved and Executed
- Content
View full analysis
" --template-id ``` ### Technical Analysis The Skill instructs the Agent to clone or update a remote Git repository and then execute a Python script obtained from that repository. The dependency is not pinned to a reviewed commit hash or immutable release, and the instructions do not require checksum or cryptographic-signature verification. The `git pull --ff-only` option prevents non-fast-forward merges but does not establish trust in the downloaded content. It still accepts new commits from the configured remote. The GitHub-to-Gitee fallback also creates a second mutable source whose contents and update state may differ from the primary repository. As a result, the effective executable payload can change after this Skill has been reviewed. This behavior most directly constitutes remote payload retrieval and execution rather than merely a conventional package dependency weakness. The documentation states that the external runner automatically reads the Cue API key from `~/.cue/config.json`. There is no evidence in the audited project that the runner exfiltrates that credential; however, a future or compromised remote payload would execute with the Agent user's permissions and could attempt to access the API key and other user-readable resources. ### Attack Path 1. An attacker compromises the upstream repository, its maintainer account, the fallback mirr ...[truncated 1657 chars]- Remediation
View remediation
