T06 · System Persistence
- Location
SKILL.md:31- Finding
Persistent Unattended Update Task
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:31-40
Vulnerability Type: Persistent scheduled task with unattended software modification
Risk Level: HighVulnerable Code
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."The detailed implementation also recommends a persistent isolated-session cron task in
references/agent-guide.md:67-93.Technical Analysis
The Skill instructs the agent to register a daily scheduled task that survives the original Skill run, wakes an isolated agent session, and modifies globally installed core software and all installed skills. This is cross-session system persistence under the stated classification.
Although persistence is related to the advertised auto-update function, the task performs future software changes without requiring approval for each release. The scheduled message grants broad authority to execute package-manager and Skill-registry update operations. No update allowlist, version constraint, integrity check, staging process, or per-update confirmation boundary is specified.
Attack Path
- A user asks the agent to configure the advertised auto-updater.
- The agent executes the documented
clawdbot cron addcommand. - A recurring task is stored and remains active across later sessions and system operation.
- At the scheduled time, an isolated agent session wakes and receives instructions to update Clawdbot and every installed Skill.
- The task downloads and applies whatever releases are current at execution time.
- If an upstream account, registry entry, package, or Skill release has been compromised, the scheduled task installs that release without fresh user review.
- The installed payload subsequently executes with the permissions available to ...[truncated 696 chars]
- Remediation
View remediation
Remediation Suggestions
- Default the scheduled task to a check-only operation such as
clawdhub update --all --dry-run. - Require explicit user approval before applying each core or Skill update.
- Maintain an allowlist of components that may be updated automatically.
- Pin approved versions rather than accepting an unrestricted current release.
- Display the publisher, requested version, provenance, integrity status, and permission changes before installation.
- Stage updates in a restricted sandbox and run verification tests before promotion.
- Run the scheduler under a dedicated least-privilege account without unnecessary access to user data or system-wide package locations.
- Clearly disclose the persistent task during setup and verify its exact schedule and command with
clawdbot cron list. - Provide and verify an immediate removal procedure.
- Record every scheduled execution and alert the user when the task definition changes.
- Default the scheduled task to a check-only operation such as
