Subscribe to the Non-Human & AI Identity Journal

Notifications
Clear all

OpenClaw device pairing flaw: what revocation gaps teams are missing


(@lalit)
Member Admin
Joined: 1 year ago
Posts: 118
Topic starter  

TL;DR: OpenClaw’s device pairing flaw let legacy devices keep persistent roles after token revocation, because the fallback path ignored tokenless records and returned stored permissions instead, according to Unosecur. The case shows how revocation controls can appear effective while leaving untracked device identities active.

NHIMG editorial — based on content published by Unosecur: OpenClaw Device Pairing Flaw Let Legacy Devices Bypass Token Revocation

Questions worth separating out

Q: What breaks when revocation only applies to token state and not to legacy device records?

A: Revocation becomes incomplete, because the platform can report success while persistent roles still grant access from a fallback record.

Q: Why do legacy device identities increase the risk of access persistence in NHI environments?

A: Legacy device identities often predate current lifecycle controls, so their permissions may be stored in formats that modern revocation logic no longer governs.

Q: How do security teams know whether device revocation is actually working?

A: They should test the full authorisation path, not just the revoke request.

Practitioner guidance

  • Find every legacy device record with mixed state Search for paired device entries that have stored roles but no active token state, and treat them as untrusted until revalidated or re-paired.
  • Eliminate privilege fallback logic Review pairing and authorisation code paths for any branch that reconstructs access from historical metadata when the authoritative token state is missing.
  • Re-pair devices under a single authority source Move every legacy paired device through the current pairing flow so the platform has one current source of truth for effective roles.

What's in the full article

Unosecur's full blog covers the operational detail this post intentionally leaves for the source:

  • The exact code path in listEffectivePairedDeviceRoles() and how the fallback branch exposed legacy records
  • The patch behaviour after 24-hour disclosure, including how tokenless devices now fail closed
  • The specific record query administrators can use to find devices with stored roles and missing token state
  • The disclosure timeline and confirmatory response from the OpenClaw team

👉 Read Unosecur's analysis of the OpenClaw device pairing revocation flaw →

OpenClaw device pairing flaw: what revocation gaps teams are missing?

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →



   
Quote
Share: