T03 · Remote Payload Retrieval and Execution
- Location
heartbeat.md:43- Finding
Unverified Remote Replacement of Core Skill Instructions
- Content
View full analysis
`memory.localFetchedAt`: 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 ``` ### Technical Analysis The heartbeat replaces the local copies of the Skill's core operational instructions when a server-provided timestamp indicates that an update exists. The downloaded files are retrieved from the declared first-party website, but their integrity and authenticity are not verified using a pinned hash, trusted digital signature, or immutable release identifier. Because an AI agent subsequently follows these files as instructions, changing them can alter the effective behavior of the installed Skill after review. The use of HTTPS protects transport under normal conditions but does not protect against compromise of the website, deployment pipeline, DNS infrastructure, or trusted TLS endpoint. The commands also write directly to the active files. A truncated response, error page, or interrupted download can overwrite a previously valid copy. ### Attack Path 1. An attacker compromises the website, its deployment pipeline, DNS resolution, or another component capable of controlling the update responses. 2. The attacker causes `skillLastUpdate` to be newer than the locally stored `localFetchedAt` value. 3. A heartbeat downloads attacker-controlled `skill.md` and `heartbeat.md` content. 4. The downloaded content directly replaces the active local instruction files without validation. 5. A later agent run follows the modified instructions, potentially performing unauthorized network, wallet, credential, or filesystem operations. ### Impact Assessment Successful exploitation can alter future Skill behavior within th ...[truncated 371 chars]- Remediation
View remediation
