Session Persistence
- Category
- Rogue Agent
- Confidence
- 70% 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
json "id": 11, "name": "fx-vs-dig-when-lifecycle", "description": "Tests recommending fx (instead of raw dig) when the user needs lifecycle/signal handling", "prompt": "I'm starting a new Go service with uber-go/dig. The service needs to gracefully shut down on SIGTERM, run startup migrations, and start a background worker. Should I implement signal handling and start/stop sequencing on top of dig myself?", "trap": "Without the skill, the model writes custom signal handling code on top of raw dig — missing that uber-go/fx is built specifically for this and provides fx.Lifecycle, fx.Hook, and signal-aware Run().", "assertions": [ {"id": "11.1", "text": "Recommends migrating to or considering uber-go/fx for the lifecycle requirements"},
