AI Agent Hub
Back to plugins
🧩

dsh-jwt

admin-security Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install uckkk/dsh-jwt

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install uckkk/dsh-jwt in DeepSeek Harness to install; the full source code is available at https://github.com/uckkk/dsh-jwt .

About this plugin

Debugging an API call often leaves you staring at a long, opaque JWT string with no fast way to inspect its claims or confirm whether it has already expired. dsh-jwt closes that loop: a single jwt_decode call inside a session returns the header and payload as structured data, plus a straightforward expiration check, so you do not need to open a browser extension or copy the token into an online decoder.

The implementation is pure Node with no third-party crypto dependencies. It does exactly two things: split the three base64url segments into header and payload, then compare the exp field against the current clock. It intentionally does not verify the signature, because validation belongs to the server. The scope is narrow by design, keeping the tool transparent and easy to audit.

If you are a backend engineer who inspects token structure often, a DevOps person tracing auth pipelines, or a security reviewer who just wants to read what a credential actually asserts, dsh-jwt is a lightweight, zero-dependency utility you can pull out of any session when you need a quick look under the hood.

Use Cases

  • Quickly inspect claims inside a token while debugging an API call
  • Confirm whether a token has expired while tracing an auth failure
  • Read the contents of a credential locally during a security audit

Best For

  • Backend engineers who frequently inspect token structure
  • DevOps engineers tracing authentication pipelines
  • Security auditors who need to read credential claims quickly