testing-jwt-token-security

Test JWT tokens for cryptographic weaknesses, algorithm confusion, and authorization bypass.

2|Updated Jun 5, 2026
One-click install
npx skills add https://github.com/balsm-health/Balsm-AI --skill testing-jwt-token-security-balsm-health
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-jwt-token-security
Source: https://github.com/balsm-health/Balsm-AI/tree/main/plugin/skills/testing-jwt-token-security
Command: npx skills add https://github.com/balsm-health/Balsm-AI --skill testing-jwt-token-security-balsm-health

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jwt_tool, Burp Suite, python3-pyjwt, python3-hashesig, python3-hmac, python3-base64, python3-requests, python3-urllib3, python3-jose, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify and mitigate vulnerabilities in JSON Web Tokens (JWTs) used for authentication and authorization, ensuring the security of your web applications.

Core Features & Use Cases

  • Algorithm None Attack Testing: Detects and prevents the use of 'none' algorithm in JWTs, which can lead to token forgery.
  • Algorithm Confusion Testing: Checks for vulnerabilities when servers accept multiple algorithms, like RS256 and HS256.
  • HMAC Secret Brute Force: Attempts to crack weak HMAC secrets used in HS256 tokens.
  • Claim Tampering and Injection: Identifies vulnerabilities in JWT claims that can be tampered with or injected.
  • Token Revocation Testing: Validates the implementation of token revocation mechanisms.

Quick Start

Run the skill with the target JWT token to start the security assessment.

Frequently Asked Questions about testing-jwt-token-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test JWT tokens for algorithm confusion vulnerabilities?

To test for algorithm confusion vulnerabilities in JWT tokens, this Skill verifies whether servers incorrectly accept multiple algorithms like RS256 and HS256 simultaneously. It leverages jwt_tool and Python libraries to automate the detection of cryptographic weaknesses during penetration testing.

Can I brute force weak HMAC secrets in HS256 JWT tokens?

Yes, you can brute force weak HMAC secrets in HS256 JWT tokens. This Skill performs HMAC secret brute force attacks to crack weak secrets used in HS256 tokens, identifying cryptographic weaknesses during web application security assessments.

How do I check if my web application is vulnerable to JWT none algorithm attacks?

To check for JWT none algorithm attack vulnerabilities, this Skill detects whether servers accept unsigned tokens using the 'none' algorithm, which can lead to token forgery. It validates token revocation mechanisms to ensure web application security during penetration testing.

Does this Skill work with Burp Suite for penetration testing JWT tokens?

Yes, this Skill works with Burp Suite for penetration testing JWT tokens. It requires Burp Suite, jwt_tool, and Python libraries like python3-pyjwt and python3-jose to analyze cryptographic weaknesses, algorithm confusion, and authorization bypass in web application security assessments.

What is the best way to identify JWT claim tampering and injection vulnerabilities?

The best way to identify JWT claim tampering and injection vulnerabilities is using this Skill to analyze token claims for unauthorized modifications. It identifies vulnerabilities in JWT claims that can be tampered with or injected during web application penetration testing and security assessments.

Do I need Python libraries installed to test token revocation mechanisms?

Yes, you need Python libraries installed to test token revocation mechanisms. This Skill requires dependencies like python3-pyjwt, python3-jose, and python3-hmac to validate the implementation of token revocation mechanisms in web application authentication and authorization.

Related Skills