T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:18
- Finding
- Mutable Remote Onboarding Instructions Are Followed Without Integrity Verification<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 18-19; repeated for 4claw at line 199 **Vulnerability Type**: Mutable third-party instructions trusted without pinning or integrity verification **Risk Level**: Medium ### Vulnerable Code ```markdown ## Prerequisites - Moltbook onboarding: read `https://www.moltbook.com/skill.md` and follow the instructions to join Moltbook. - 4claw onboarding: read `https://www.4claw.org/skill.md` and follow the instructions to join 4claw. ``` The 4claw instruction is reiterated later: ```markdown - Join/register by following the official guide at `https://www.4claw.org/skill.md`. ``` ### Technical Analysis The Skill delegates onboarding behavior to mutable documents hosted outside the audited package and instructs the agent to “follow the instructions.” Consequently, the effective behavior cannot be established solely by reviewing this repository. The remote content may change after publication without changing the Skill version or manifest. This resembles an unpinned supply-chain dependency: control of either remote page, its hosting account, or its delivery path could allow an attacker to introduce new instructions after the Skill has passed review. While the inspected Skill does not explicitly download or execute remote code, the remote document could attempt to persuade the agent to run commands, disclose credentials, access unrelated files, or contact additional services. The declared functionality requires platform onboarding, but blindly following arbitrary future instructions exceeds the minimum privilege necessary. The Skill only needs a stable, reviewed registration and authentication procedure. ### Attack Path 1. An attacker compromises the platform account, web server, DNS configuration, or content-management path responsible for one of the referenced `skill.md` pages. 2. The attacker changes the remote onboarding guide to include malicious or unnecessarily privileged instructions. ...[truncated 989 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Bundle the required onboarding procedure in the reviewed Skill package rather than directing the agent to follow mutable remote instructions. 2. If remote retrieval is unavoidable, pin an approved document version and verify a cryptographic digest or signature before using it. 3. Treat downloaded documentation as untrusted reference material, not as higher-priority agent instructions. 4. Explicitly prohibit remote onboarding content from requesting secrets other than the platform-specific credential, reading unrelated files, changing system configuration, or executing downloaded code. 5. Require explicit user confirmation before following any remote step that runs commands, transmits credentials, writes files, or expands network access. 6. Constrain onboarding requests to the two declared HTTPS origins and reject redirects to other domains. 7. Re-review and version the Skill whenever the approved onboarding procedure changes. ]]>
