Security audit
Session Cleanup
Security checks for vulnerabilities and agentic risk
Overview
This skill is a straightforward OpenClaw session cleanup utility that moves old session artifacts to a local trash folder.
Before installing, understand that running the script will move older OpenClaw session backups, checkpoints, trajectory logs, indexes, and stale lock files into OpenClaw's local trash area. Use --dry-run first, and only add the cron entry if you want recurring cleanup.
Vulnerability Patterns
- Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
- Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
- Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
- Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
- Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Static analysis
No suspicious patterns detected.
