OpenClaw Backup & Restore — Encrypted OpenClaw Snapshots
Analysis
This appears to be a real backup/restore skill, but it can upload and overwrite your full OpenClaw agent state and handles powerful credentials, so it should be reviewed carefully before use.
Findings (5)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
# Restore the latest version (non-interactive, best for AI agents) python3 <skill-path>/scripts/restore.py --latest
The skill explicitly recommends non-interactive restore for agents. Restoring a full OpenClaw snapshot is a high-impact action because it changes persistent agent state, but the documented workflow does not require an explicit final confirmation or pre-restore safety backup.
["sudo", "apt-get", "install", "-y", "-qq", "gnupg", "gpg-agent"]
Setup may install system packages with sudo when GPG is missing. This is disclosed and related to the backup purpose, but it is still a privileged local system change.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
"gpg", "--batch", "--yes", "--passphrase", password, "--symmetric", "--cipher-algo", "AES256"
The backup password is supplied to gpg as a command-line argument. That password protects every encrypted snapshot and may be exposed to local process inspection while the command runs.
# GitHub Personal Access Token with 'repo' scope GITHUB_PAT=
The skill asks for a GitHub PAT with repo scope so it can push encrypted backups. This is purpose-aligned, but repo-scoped GitHub tokens can carry broad access to private repositories.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
Encrypted backup and restore for the `~/.openclaw` agent folder.
The backup scope is the whole OpenClaw agent folder, which may include persistent agent context, configuration, skills, and other state that will be reused after restore.
