Security & Backup
Your AI can access your file system, browse the web, and run commands. This is powerful β and it comes with responsibility.
The healthcheck skill audits your systemβs security posture. It checks for common vulnerabilities, open ports, outdated software, and misconfigured permissions. Think of it as a security consultant that works for free.
Why security matters now:
- Your AI has access to your files and can execute commands
- If your machine is compromised, your AIβs capabilities become an attackerβs tools
- API keys stored in config files are valuable targets
- Memory files may contain sensitive information
Backup strategy:
Your workspace is plain text files. Backing up is simple:
cp -r ~/.openclaw/workspace ~/openclaw-backup-$(date +%Y%m%d)Or use git β your workspace is already a perfect candidate for version control.
Security best practices:
- Run healthcheck weekly
- Never store raw API keys in MEMORY.md or daily notes
- Use strong passwords on your machine
- Keep OpenClaw updated: openclaw update
Key Principle
With great power comes great responsibility. Your AI has access to your system. Regular security audits and backups are not optional β they are the price of having a capable AI assistant.
Step-by-Step Instructions
Step 1: Run a security audit
Ask your AI: "Run a healthcheck on my system and tell me what needs attention."
Step 2: Review the results
Your AI will report findings: open ports, SSH configuration, firewall status, etc.
Step 3: Fix at least one issue
Pick the most critical finding and fix it. Your AI can help β ask it how.
Step 4: Back up your workspace
cd ~/.openclaw && tar czf ~/openclaw-backup-$(date +%Y%m%d).tar.gz workspace/