T03 · Remote Payload Retrieval and Execution
- Location
scripts/sync-github.sh:160- Finding
Arbitrary Remote Script Execution During Repository Restore
- Content
View full analysis
--pull ``` 4. The script clones the repository. 5. It changes into the downloaded `agent-backup` directory. 6. It executes the attacker-controlled `restore.sh` without verification. 7. The payload runs with all privileges available to the user executing the Skill. ### Impact Assessment The attacker obtains arbitrary command execution under the Skill process account. The payload can read or modify all files accessible to that account, steal OpenClaw credentials and Agent state, alter the workspace, install persistence where permissions permit, or invoke network-accessible resources. If the script is run as root, including in t ...[truncated 217 chars]- Remediation
View remediation
