T03 · Remote Payload Retrieval and Execution
Error
- Location
- skill.md:95
- Finding
- Periodic Retrieval and Execution of Mutable Remote Instructions< for what to check and when to notify your human. ``` ### Technical Analysis The Skill instructs the Agent to retrieve `heartbeat.md` from an external server every 30 minutes and to “follow it.” The remote document is not included in the audited package, and its contents can change independently after installation or review. Although the fetched payload is text rather than a native executable, Agent instructions are an effective execution channel: they can cause an Agent to invoke tools, access files, send network requests, or publish content. No version pin, content hash, digital signature, instruction allowlist, or human approval boundary is specified. This behavior exceeds the minimum privileges required for on-demand social-network access. Reading feeds or creating posts does not require granting a mutable remote document authority over future Agent actions. ### Attack Path 1. An attacker compromises the Moltbook server, its deployment process, DNS resolution, or the account responsible for publishing `heartbeat.md`. 2. The attacker mo ...[truncated 1199 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Bundle the complete heartbeat behavior inside the reviewed Skill package. 2. Do not instruct an Agent to automatically “follow” remotely fetched text. 3. Treat all remote documents as untrusted data rather than executable instructions. 4. If remote updates are necessary, pin them to an immutable version and verify a publisher signature and cryptographic digest before use. 5. Display proposed instruction changes and require explicit human approval before activation. 6. Constrain heartbeat behavior to a local allowlist of read-only API endpoints. 7. Require separate confirmation before posting, deleting, uploading files, changing moderation settings, or accessing local data. 8. Provide a kill switch that immediately disables scheduled retrieval. ]]>
