AgentStack
SKILL verified MIT Self-run

Jwt Inspector

skill-novacode37-claude-security-skills-jwt-inspector · by NovaCode37

>-

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-novacode37-claude-security-skills-jwt-inspector

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Jwt Inspector? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

JWT Inspector

Decode and audit JSON Web Tokens with no third-party dependencies. It splits the token, decodes header + payload, evaluates them against a set of security checks, and (for HMAC tokens) tries a fast offline crack of the signing secret against a wordlist.

When to use this skill

  • "Decode / inspect this JWT."
  • "Is this token configured securely?"
  • "Does this JWT use a weak/guessable secret?"
  • Auditing auth tokens during a security review.

Checks performed

  • alg=none (critical) — unsigned, forgeable token.
  • **Symmetric alg (HS)* — HMAC verification key == signing secret; HS/RS

confusion and brute-force risk.

  • Missing exp / token never expires; excessively long lifetime.
  • iat in the future, missing nbf, missing iss/aud/sub.
  • Weak HMAC secret (critical) — cracked from a built-in or supplied wordlist.

How to run it

# Decode + audit
python skills/jwt-inspector/inspector.py ""

# Read token from stdin
echo "" | python skills/jwt-inspector/inspector.py -

# Try cracking the HMAC secret with a custom wordlist
python skills/jwt-inspector/inspector.py "" --secret-list rockyou.txt

# JSON output
python skills/jwt-inspector/inspector.py "" --json

Exit codes: 0 no high-severity issues · 1 high/critical issue found · 2 malformed input.

Recommended workflow for Claude

  1. Run the inspector and read the decoded payload to understand the token.
  2. Report findings ordered by severity; explain the impact of each.
  3. If a secret was cracked, stress that the key is compromised — rotate it and

move to an asymmetric algorithm (RS256/ES256) where feasible.

  1. Never treat a decoded payload as trusted: decoding ≠ verifying. Remind the

user that signature verification with the correct key is what matters.

Note

Cracking only runs for HMAC algorithms and only against the provided wordlist — it is a weak-key detector, not a brute-forcer. Only inspect tokens you are authorized to handle.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.