Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Token decoder can verify session identity tokens

The decode-token tool can now verify session identity tokens with --identity and a local key file passed with --jwks-file

Under the hood Internal Changes
JSON All of v2.1.337
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
AuthArea: what it touches
Internal ChangesKind: in v2.1.337,
Internal ChangesSection of the release

Unclear It is not clear which command exposes decode-token or whether users can run it.

What

The decode-token tool reads a sign-in token and checks that it is genuine. Previously it accepted only a few common signature types, checked against a key list fetched online. It can now verify session identity tokens.

  • --identity checks a session identity token. It requires an environment ID starting with ccpool_.
  • --jwks-file takes a path to a local file of keys to check against, instead of fetching them.
  • With no token given, it reads $CLAUDE_CODE_SESSION_IDENTITY_TOKEN.
  • --no-verify cannot be combined with --identity or --jwks-file.

It checks the token's type, issuer, role and intended audience, and accepts only the ML-DSA-65 signature type for these tokens. If the local key file has no key matching the token, it warns that the file may be out of date.

Why

This is a debugging tool for checking session tokens, now with stricter checks on what a valid session identity token looks like.

Read from
Names in the bundledecode-token
What the documentation says
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which command exposes decode-token or whether users can run it.

See this entry in the whole of v2.1.337 →

Feedback