T03 · Remote Payload Retrieval and Execution
- Location
heartbeat.md:43- Finding
Unverified Remote Replacement of Active Skill Instructions
- Content
View full analysis
`memory.localFetchedAt`: ```bash curl -s https://www.moltyroyale.com/skill.md > ~/.molty-royale/skills/skill.md curl -s https://www.moltyroyale.com/heartbeat.md > ~/.molty-royale/skills/heartbeat.md ``` Then update `memory.localFetchedAt` to the current time. ``` ### Technical Analysis The heartbeat replaces locally reviewed Skill instructions with content retrieved from mutable external URLs. The update is triggered by a timestamp supplied through the service API, but the downloaded files are not protected by: - A cryptographic signature - A pinned content hash - A fixed release identifier - Content validation - Atomic staging and rollback - Explicit owner review or confirmation Because `skill.md` and `heartbeat.md` determine subsequent agent behavior, activating downloaded Markdown is functionally equivalent to executing a remote payload. The remote content may instruct the agent to use its filesystem, network, wallet, signing, or credential capabilities in ways that were not present during the original audit. ### Attack Path 1. An attacker compromises or gains control of the Molty Royale API, web origin, CDN, DNS, or deployment pipeline. 2. The API reports a `skillLastUpdate` newer than the locally recorded timestamp. 3. The heartbeat downloads attacker-controlled `skill.md` and `heartbeat.md`. 4. The files overwrite the active local Skill instructions. 5. A later heartbeat loads and follows the replacement instructions. 6. The attacker can direct the agent to disclose credentials, sign transactions, alter persistent state, or perform other available tool operations. ### Impact Assessment Successful exploitation gives the remote content effective control over the agent within al ...[truncated 506 chars]- Remediation
View remediation
