Описание
OpenClaw: Config writes could persist resolved ${VAR} secrets to disk
Summary
OpenClaw hooks previously compared the provided hook token using a regular string comparison. Because this comparison is not constant-time, an attacker with network access to the hooks endpoint could potentially use timing measurements across many requests to gradually infer the token.
In practice, this typically requires hooks to be exposed to an untrusted network and a large number of requests; real-world latency and jitter can make reliable measurement difficult.
Affected Packages / Versions
- openclaw (npm): < 2026.2.12
Patched Versions
- openclaw (npm): >= 2026.2.12
Mitigations
- Upgrade to openclaw >= 2026.2.12.
- If users cannot upgrade immediately: restrict network access to the hooks endpoint and rotate the hooks token after updating.
Fix Commit(s)
- 113ebfd6a23c4beb8a575d48f7482593254506ec
OpenClaw thanks @akhmittra for reporting.
Пакеты
openclaw
< 2026.2.13
2026.2.13
Связанные уязвимости
OpenClaw versions prior to 2026.2.13 use non-constant-time string comparison for hook token validation, allowing attackers to infer tokens through timing measurements. Remote attackers with network access to the hooks endpoint can exploit timing side-channels across multiple requests to gradually recover the authentication token.
Уязвимость ИИ-агента OpenClaw (ранее - ClawdBot или MoltBot), связанная с раскрытием информации на основании временных расхождений, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации