T06 · System Persistence
- Location
SKILL.md:24- Finding
Persistent Unattended Update Task
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill transparently sets up automatic updates, but it needs Review because it creates a persistent daily job that changes Clawdbot and every installed skill without per-update approval.
Install only if you are comfortable with Clawdbot and every installed skill changing automatically each day. Prefer running a dry run first, limiting updates to trusted skills where possible, reviewing changelogs, and knowing how to remove the `Daily Auto-Update` cron job before enabling it.
SKILL.md:24Persistent Unattended Update Task
references/agent-guide.md:38Unpinned Global and Skill-Wide Supply-Chain Updates
clawdhub update --all causes the agent environment to self-modify by replacing installed skills from an external source, potentially changing future agent behavior without review. In an unattended daily cron flow, this is especially dangerous because a compromised upstream package, malicious skill update, or breaking change can be deployed automatically and persist.
# 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 sets up unattended daily updates that modify Clawdbot and all installed skills, but the user-facing description does not prominently warn that software and skill files will be changed automatically on a schedule. This can lead users to enable recurring privileged modifications without fully understanding the operational and supply-chain risk, especially because clawdhub update --all updates every installed skill, including potentially sensitive or third-party ones.
The guide instructs the agent to perform unattended package, application, and skill updates plus migrations on a schedule, but it does not require explicit user confirmation, pinning, rollback, or meaningful warnings about system changes. This creates a real security and reliability risk because remote updates change executable code automatically and could introduce malicious, incompatible, or disruptive changes without oversight.
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`: