T06 · System Persistence
- Location
SKILL.md:31- Finding
Persistent Daily Scheduled Task Performs Unattended Updates
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 31-40
Vulnerability Type:T06: System Persistence
Risk Level: HighComplete Code Snippet:
bash clawdbot cron add \ --name "Daily Auto-Update" \ --cron "0 4 * * *" \ --tz "America/Los_Angeles" \ --session isolated \ --wake now \ --deliver \ --message "Run daily auto-updates: check for Clawdbot updates and update all skills. Report what was updated."Technical Analysis
The Skill instructs the Agent to register a recurring cron task. The task survives the setup session, wakes automatically every day, and directs an isolated Agent session to update both Clawdbot and all installed Skills.
This is a persistent system modification rather than a session-scoped operation. The scheduled task subsequently executes update operations without requiring approval for each run. Although this behavior is consistent with the stated purpose of the Skill, it creates an enduring autonomous execution path and expands the impact of any future compromise of the package registry, Skill registry, update tooling, or scheduled-task instructions.
The same persistent setup is also recommended in
references/agent-guide.md, lines 72-95.Attack Path
- A user asks the Agent to configure automatic updates.
- The Agent follows the Skill instructions and invokes
clawdbot cron add. - A persistent job named
Daily Auto-Updateis registered. - At 4:00 AM each day, the platform wakes an isolated Agent session.
- That session executes core and Skill update commands without separate approval for each package or version.
- If an update source or published release has been compromised, the scheduled session downloads and installs the affected update.
- The newly installed component can execute in later sessions under the permissions available to Clawdbot or the relevant package manager.
Impact Assessment
The cron entry prov ...[truncated 583 chars]
- Remediation
View remediation
Remediation Suggestions
- Require explicit, informed user confirmation immediately before creating the scheduled task.
- Default to a notification-only job that runs dry-run update checks rather than installing updates.
- Require separate approval before applying each core or Skill update.
- Display the exact schedule, timezone, commands, execution identity, and affected components during setup.
- Restrict the scheduled task to a dedicated least-privileged account with minimal filesystem and tool access.
- Provide and verify a reliable removal procedure, including confirmation that the cron entry no longer exists.
- Record an auditable log of each scheduled execution, selected versions, verification results, and failures.
- Disable automatic execution when provenance or integrity verification fails.
