T06 · System Persistence
- Location
SKILL.md:20- Finding
Persistent Unattended Update Jobs
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill does what it says, but its default setup creates recurring unattended jobs that can update OpenClaw and all installed skills without review.
Install only if you intentionally want recurring unattended OpenClaw maintenance. Prefer the dry-run or core-only examples first, choose your own timezone, avoid broad `--all` updates where possible, and review how to list, edit, or remove the scheduled cron job before enabling it.
SKILL.md:20Persistent Unattended Update Jobs
references/agent-guide.md:35Unpinned Global and Bulk Dependency Updates
references/agent-guide.md:19Suppressed Update and Migration Failures Can Leave an Inconsistent Installation
The instruction clawdhub update --all enables autonomous self-modification of the agent's skill set, causing the environment to change over time without review. In a skill package, this is especially dangerous because it can pull in newly published or compromised skills, changing future agent behavior and potentially introducing malicious capabilities via the update channel.
# Capture new version
OPENCLAW_VERSION_AFTER=$(openclaw --version 2>/dev/null || echo "unknown")
# Update skills
log "Updating skills via ClawHub..."
SKILL_OUTPUT=$(clawdhub update --all 2>&1) || true
The skill explicitly automates openclaw update --yes and clawdhub update --all on a schedule, which will modify installed software without operator review at execution time. In context this is intended functionality, but it still creates real supply-chain and operational risk because updates may introduce breaking changes, restart services, or pull compromised packages unattended.
Creating a persistent script at ~/.openclaw/scripts/auto-update.sh introduces durable agent-controlled behavior that can later be invoked by scheduler mechanisms, increasing persistence on the host. While this is framed as operational convenience, persistent automation in an agent context is security-sensitive because it survives beyond the initial interaction and may continue making changes without fresh user intent.
bun pm ls -g 2>/dev/null | grep openclaw && echo "bun-global"
## Step 2: Create the Update Script (Optional)
For complex setups, create a helper script at `~/.openclaw/scripts/auto-update.sh`:
The guide directs the agent to create a persistent helper script and schedule recurring update actions that modify the local OpenClaw installation, installed skills, and log files, but it does not present explicit safety boundaries, confirmation requirements, or warnings about the ongoing filesystem and software changes. In an agent skill context, unattended recurring modification is security-relevant because it expands the window for accidental breakage or supply-chain compromise through automatic package and skill updates.
The example states that daily updates will run at 4:00 AM in Europe/Berlin, which implies a fixed locale-specific configuration. Under the policy, forcing a specific language or locale without offering user choice or documenting a justified regional constraint is a natural-language policy violation.