T09 · Insecure Skill Coding Practices
- Location
reference.md:545- Finding
Disclosure of the Global OpenClaw Gateway Token to an External Service
- Content
View full analysis
` ``` ### Technical Analysis The reference documentation explicitly instructs the user to retrieve the existing OpenClaw `hooks.token` from `openclaw.json` and send it to `https://autonoma.city`. This grants the external service knowledge of a gateway authentication credential rather than a unique secret scoped to this integration. This behavior exceeds least privilege. Autonoma only needs a dedicated secret with permission to authenticate its own webhook messages. It does not need a pre-existing gateway-wide credential that may be shared by other integrations or accepted for broader webhook access. The instruction also directly conflicts with the safer guidance in `SKILL.md:39-61`, which says to generate a dedicated random secret and not reuse the gateway's global token. Users consulting the full reference could therefore follow the less secure configuration despite the warning elsewhere. ### Attack Path 1. A user follows the OpenClaw webhook instructions ...[truncated 1245 chars]- Remediation
View remediation
