T06 · System Persistence
- Location
scripts/install-integration.sh:14- Finding
Persistent OpenClaw Lifecycle Hook Is Installed and Enabled Across Sessions
- Content
View full analysis
/dev/null 2>&1 && openclaw hooks --help >/dev/null 2>&1; then if openclaw hooks enable handover-hangover >/dev/null 2>&1; then ``` The installed hook declares persistent lifecycle triggers: ```yaml "events": ["message:received", "command:new", "command:reset", "gateway:startup"], ``` ### Technical Analysis The integration installer copies executable JavaScript and shell code into the user's persistent OpenClaw hook directory and enables the hook through the OpenClaw CLI. Once enabled, the code executes automatically when messages are received, sessions are created or reset, and the gateway starts. This behavior is documented and is related to the Skill's stated continuity function. Nevertheless, it creates a cross-session execution mechanism under the user's OpenClaw privileges. The installer does not request an explicit confirmation immediately before enabling the hook and does not provide a corresponding uninstall or disable operation. The persistence becomes especially security-sensitive because later modification or replacemen ...[truncated 1054 chars]- Remediation
View remediation
