Session Persistence
- Category
- Rogue Agent
- Confidence
- 80% confidence
- Finding
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
- Content
md - Per-agent data plane: `~/.openclaw/agents/<agentId>/agent/openclaw-agent.sqlite`. Canonical schema: `src/state/openclaw-agent-schema.sql`. - Hosted/systemd installs keep state under the service user's home (e.g. `/home/openclaw/.openclaw/...`), not root's — root may carry a separate stray install with different agents. If the expected agent dir is missing, locate the real DB: `find / -maxdepth 6 -name openclaw-agent.sqlite`.
