T06 · System Persistence
- Location
SKILL.md:179- Finding
Persistent Background Session-Capture Service
- Content
View full analysis
/tmp/memex.log 2>&1 &` — works but won't auto-restart on reboot. | If `loginctl enable-linger` needs sudo, the install output prints the exact command. **Tell the user that line verbatim** — don't try to sudo yourself. ``` ### Technical Analysis The Skill instructs the agent to register `memex-sync` as a macOS LaunchAgent or an enabled systemd user service. On Linux, it also attempts to enable user lingering so the service continues running after SSH logout. These actions establish deliberate cross-session persistence. A continuously running watcher is related to the advertised automatic session-capture functionality. However, service registration, automatic startup, and login lingering exceed the privileges and lifetime needed for one-time installation, session backfill, or on-demand search. The instructions do not require separate, explicit consent immediately before persistence is enabled. The daemon continuously reads OpenClaw session files and writes them into `~/.memex/data/memex.db`. Consequently, any compromise of the installed package would inherit recurring access to future OpenClaw conversations. ### Attack Path 1. A user invokes the Skill to configure memex for OpenClaw. 2. The Skill installs or locates t ...[truncated 1175 chars]- Remediation
View remediation
