Session Persistence
- Category
- Rogue Agent
- Confidence
- 60% 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 ## Why you need it Claude Code, Codex, OpenCode, Trae, DSH and other agent tools help you write code and run tasks — while your OpenClaw / XiaoyaoClaw hosts a fleet of agents (tiantong, xiaoguang, xiaozhi...) and multiple channels (Feishu, Telegram...). **When you want an external agent to command OpenClaw directly**, you run into: - ❌ **Command not found** — openclaw is not on PATH (desktop app embeds it), plain `openclaw` errors out - ❌ **Real agents invisible** — env vars missing, `agents list` shows only `main`
