T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:35- Finding
Unverified Remote WASM Payload Retrieval and Execution
- Content
View full analysis
/files/boxed_curl_component.wasm", resume: false, timeout: 60000 }) ``` The downloaded component is subsequently executed: ```javascript wasm-sandbox-run({ wasmFile: "/files/boxed_curl_component.wasm", allowedOutboundHosts: ["https://"], args: ["", ""] }) ``` ### Technical Analysis The Skill instructs the agent to download an executable WASM component from the mutable `main` branch of a third-party GitHub repository and execute it. It does not pin the artifact to an immutable commit or release and does not require verification through a cryptographic checksum or digital signature. Consequently, the effective executable payload can change after the Skill has been reviewed. Compromise of the repository, its maintainer account, the artifact publication process, or another relevant supply-chain component could result in a substituted WASM payload being downloaded and executed. Although the component is intended to run inside a WASM sandbox, the security guarantees of that sandbox and the component itself cannot be verified from this project. The component is explicitly granted outbound network access to the selected target host. Downloading executable content is not inherently required for every invocation of a curl-like Skill; a reviewed and integrity-pinned component could instead be distributed with the package. ### Attack Path 1. An attacker compromises the upstream repository, maintainer credentials, or artifact publication workflow. 2. The attacker replaces `boxed_curl_component.wasm` on ...[truncated 1113 chars]- Remediation
View remediation
