T06 · System Persistence
- Location
references/checklist.md:155- Finding
Recurring Mission Control Execution Through User Crontab
- Content
View full analysis
,,... * * * * MC_AGENT= ~/.openclaw/skills/mission-control/mc checkin >> ~/.openclaw/logs/mc-checkin.log 2>&1") | crontab - ``` ``` The persistence mechanism is also required by `SKILL.md:35-37`: ```markdown 7. Add staggered cron job for `mc checkin` (check existing slots first) ``` ### Technical Analysis The Skill instructs the operator to modify the user's crontab so that the Mission Control executable runs repeatedly after setup has finished. This is cross-session persistence under the privileges of the account that installs the cron entry. Periodic check-ins may support agent coordination, but an operating-system-level scheduled task is not minimally necessary merely to create and connect an OpenClaw agent. The procedure provides no explicit informed-consent gate, integrity verification for the `mc` executable, idempotent installation, lifecycle limit, or uninstall process. The cron entry invokes `~/.openclaw/skills/mission-control/mc` by a mutable filesystem path. Anyone able to replace or modify that executable after installation obtains repeated execution through a trusted-looking scheduled task. Re-running the setup can also append duplicate entries because the command preserves the existing crontab and unconditionally adds another line. ### Attack Path 1. The operator follows the checklist and installs the cron entry. 2. The entry persists after the setup session and invokes `mc checkin` repeatedly. 3. An attacker or compromised component with write access to the Mission Control executable modifies `~/.openclaw/skills/mission-control/mc`. 4. At the next scheduled interval, ...[truncated 515 chars]- Remediation
View remediation
