T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:484- Finding
Mutable and Unverified Remote Binary Is Downloaded and Executed
- Content
View full analysis
mcp.log 2>&1 & ``` ### Technical Analysis The installation instructions retrieve an executable archive from the mutable `latest` release of a third-party GitHub repository. The archive is extracted, its files are made executable using a wildcard, and the resulting binary is launched. No immutable release version, hard-coded cryptographic checksum, release signature, or trusted-key verification is used. Consequently, the executable installed by the Skill can change after the Skill itself has been reviewed. Compromise of the repository, release account, build pipeline, or release artifact would translate directly into arbitrary local code execution. The wildcard command `chmod +x xiaohongshu-*` also grants executable permissions to every matching extracted file rather than only to explicitly expected binaries. ### Attack Path 1. An attacker compromises the upstream repository owner, release workflow, or GitHub credentials. 2. The attacker replaces the artifact associated with the mutable `latest` release. 3. A user follows the Skill's installation instructions. 4. `wget` retrieves the attacker-controlled archive without integrity verification. 5. The archive is extracted and matching files are marked executable. 6. The malicious binary is started through `nohup` or systemd. 7. The payload e ...[truncated 561 chars]- Remediation
View remediation
