Session Persistence
- Category
- Rogue Agent
- Confidence
- 65% 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 7. **Detach the loop.** Start cleanup/setup with `setsid`. A `pkill -f <script>` in the same shell can kill the parent and the freshly started loop with it (observed: the loop died and left a 0-byte log). Relaunch with `nohup setsid ./loop.sh &` and confirm the pid is alive. 8. **Tolerate a bad parse.** A shell loop wrapping the indexer must not abort on one malformed JSON line. Treat a non-numeric `added` as a stop only when it is
