Credential Access
High
- Category
- Privilege Escalation
- Content
Recovery: - back up the env file: `cp <env> <env>.bak-token-fix-<date>` - rewrite the affected lines using the value from `secrets.json` (which is the canonical clean value), shell-single-quoted with no inner JSON wrapping; only safe if the secret itself contains no single quotes (almost always the case for API tokens) - restart the gateway through the host service manager - re-run `openclaw channels status --deep` and confirm the channel reconnects
- Confidence
- 86% confidence
- Finding
- secrets.json
