T06 · System Persistence
- Location
SKILL.md:25- Finding
Persistent Daily Update Task Enables Cross-Session Autonomous Execution
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill openly sets up automatic updates, but it gives a recurring agent task broad authority to change Clawdbot and every installed skill without per-update review.
Review before installing. This skill is not showing theft, hidden payloads, or destructive intent, but it will let a scheduled agent task automatically update Clawdbot and every installed skill every day. Prefer dry-run or notification-only checks, pin or approve versions, limit updates to selected trusted skills, and verify you know how to remove the cron job before enabling it.
SKILL.md:25Persistent Daily Update Task Enables Cross-Session Autonomous Execution
references/agent-guide.md:32Unpinned Unattended Updates Expose the Agent to Supply-Chain Compromise
The instruction clawdhub update --all causes the agent to self-modify by fetching and applying updates to all installed skills, which can change future agent behavior without review. In the context of a scheduled auto-updater, this is especially dangerous because it creates ongoing autonomous intake of potentially malicious or compromised skill code from external sources.
# 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 instructs users to configure unattended daily updates that will modify the Clawdbot installation and all installed skills, but it does not prominently warn that this causes automatic scheduled changes to executable software and local skill files. That omission can lead users to enable a persistent mechanism that silently introduces new code over time, increasing supply-chain and operational risk without informed consent.
The guide instructs the agent to enable unattended updates that modify the installed bot, run migrations, and update all skills on a schedule, but it does not require explicit user acknowledgement of the risks of automatic system changes. This is dangerous because it creates a persistent mechanism for remote code and configuration changes from package registries or skill sources, increasing supply-chain and stability risk without an informed consent checkpoint.
Creating a persistent helper script under ~/.clawdbot/scripts/auto-update.sh establishes durable automation that can be invoked repeatedly and may be modified or reused later. In combination with cron-based execution, this persistence increases the blast radius of any bad update logic or compromised dependency because the behavior continues automatically across sessions.
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`:
This markdown file describes configuring daily automatic updates of the core application and all installed skills, which can change system state without further user action. While it states what will be updated and when, it does not include a clear warning about the automatic modification behavior or potential impact of unattended updates.
The setup confirmation example specifies '4:00 AM (America/Los_Angeles)', which bakes in a particular locale/time zone in user-facing text. Under the language/locale policy, locale-specific defaults should be user-selected or clearly justified rather than implicitly imposed.
No suspicious patterns detected.