T03 · Remote Payload Retrieval and Execution
- Location
scripts/connect.mjs:25- Finding
Externally Hosted Connector Is Downloaded and Prepared for Local Execution
- Content
View full analysis
> ${join(configDir, "connector.log")} 2>&1 &`, }), ); ``` The original source contains localized error and hint strings omitted from the excerpt above; they do not affect the vulnerable execution flow. ### Technical Analysis The Skill downloads a Node.js program from an external service and stores it as `~/.infinite-canvas/canvas-agent.mjs`. It then returns a shell command instructing the calling Agent to execute that downloaded program in the background. The SHA-256 check is a meaningful integrity safeguard: the downloaded bytes must match the digest embedded in the reviewed Skill. It prevents an ordinary server compromise from silently substituting a different payload without also ...[truncated 2215 chars]- Remediation
View remediation
