T06 · System Persistence
- Location
SKILL.md:27- Finding
Persistent Unattended Auto-Update Task
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill openly sets up daily automatic updates, but it can keep changing Clawdbot and every installed skill without approval for each update.
Install only if you are comfortable with unattended daily changes to Clawdbot and every installed skill. Prefer a notify-only or dry-run setup, pinned or allowlisted updates, and a clear rollback/removal plan before enabling it.
SKILL.md:27Persistent Unattended Auto-Update Task
SKILL.md:50Automatic Retrieval and Installation of Mutable Remote Software
clawdhub update --all performs self-modification by replacing installed skills from an external source, which can change future agent behavior without review. In this skill's context, that is especially dangerous because the updater itself is designed to run automatically, compounding supply-chain and persistence risk if a malicious or compromised skill update is published.
# 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 Clawdbot to automatically update itself and all installed skills on a daily schedule, then apply those changes without a review or approval step. This creates a supply-chain and integrity risk: upstream compromise, a bad release, or an incompatible update could be pulled and executed automatically, causing unexpected code changes or service disruption.
The guide explicitly sets up unattended updates for the core bot and installed skills without warning about the security and operational risks of automatic changes. This is dangerous because it normalizes recurring execution of remote package and skill updates, which can introduce malicious or broken code without human review.
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 cron configuration creates a recurring unattended job that performs software updates, migrations, and skill updates in an isolated session, but the guide does not disclose that this causes automatic system modification on a schedule. The risk is increased because the task includes both updating executable code and running follow-up migration/doctor steps without user review.