T06 · System Persistence
- Location
SKILL.md:31- Finding
Persistent Daily Scheduled Task Performs Unattended Software Updates
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill does what it says, but it sets up persistent unattended updates that can modify Clawdbot and every installed skill without per-update approval.
Review this carefully before installing. Use it only if you are comfortable letting a scheduled agent update Clawdbot and every installed skill automatically. Prefer dry-run or notification-only updates, pin or approve versions where possible, and know how to remove the cron job before enabling it.
SKILL.md:31Persistent Daily Scheduled Task Performs Unattended Software Updates
SKILL.md:55Unpinned and Unverified Automatic Supply-Chain Updates
The command clawdhub update --all performs self-modification by updating all installed skills in bulk, including code the agent may later execute or rely on. Combined with unattended scheduling, this creates a direct supply-chain attack path where a malicious or compromised skill update could persist and alter future agent behavior without human review.
# Capture new version
CLAWDBOT_VERSION_AFTER=$(clawdbot --version 2>/dev/null || echo "unknown")
# Update skills
log "Updating skills via ClawdHub..."
SKILL_OUTPUT=$(clawdhub update --all 2>&1) || true
echo "$SKILL_OUTPUT" >> "$LOG_FILE"
The skill explicitly instructs the user to create a recurring cron job that performs software updates and writes changes to the local system, but it does not clearly warn that this will automatically modify Clawdbot and all installed skills on a daily schedule. That is risky because users may enable persistent unattended updates without understanding the scope of system changes or the trust they are placing in upstream packages and skill registries.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
bun pm ls -g 2>/dev/null | grep clawdbot && echo "bun-global"
## Step 2: Create the Update Script (Optional)
For complex setups, create a helper script at `~/.clawdbot/scripts/auto-update.sh`:
The guide instructs configuring a daily unattended cron task that updates the core agent and all installed skills, which can change executable behavior without an explicit warning, approval gate, or trust verification. In a security-sensitive agent ecosystem, this increases supply-chain risk because compromised upstream packages or skills would be automatically pulled and applied on a schedule.
The setup confirmation message schedules unattended software updates but does not clearly warn the user that Clawdbot core and all installed skills will be modified automatically on a recurring basis. In an auto-updater context, missing explicit consent/impact language can lead users to enable persistent software changes without understanding the security, stability, or supply-chain implications.
The overview says the skill will check for updates, apply them, and send summaries, but it omits a clear notice that this behavior requires outbound network access and local write access to modify Clawdbot and installed skills. While not overtly malicious, this weakens informed consent and may surprise users in restricted, privacy-sensitive, or production environments.