T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:159- Finding
Unattended Scheduled Updates Enable Persistent Execution of Mutable Remote Code
- Content
View full analysis
int: started = dt.datetime.now().astimezone() update_status = "skipped" update_output = "" if args.update and is_installed_skill(): code, output = run_command( ["clawhub", "--workdir", str(openclaw_workdir()), "update", "commons-memory-for-agents", "--no-input"], openclaw_workdir(), ) update_status = "ok" if code == 0 else f"failed:{code}" update_output = output elif args.update: update_status = "skipped:not-installed-skill" update_output = "This source checkout is not installed under an OpenClaw workspace skills directory. Skipping clawhub update." ``` ### Technical Analysis The documented workflow asks every OpenClaw installation to create a recurring cron task. The task survives the current Skill invocation and executes the local Python entry point every day. When invoked with `--update`, the entry point executes: ```te ...[truncated 2663 chars]- Remediation
View remediation
