sast-jwt

Map JWT issuance and verification patterns to identify insecure implementations.

1.3k|61|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/utkusen/sast-skills --skill sast-jwt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sast-jwt
Source: https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-jwt
Command: npx skills add https://github.com/utkusen/sast-skills --skill sast-jwt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps security engineers and developers identify insecure JWT implementations in a codebase by mapping JWT issuance and verification points and auditing common weaknesses.

Core Features & Use Cases

  • Two-phase approach: recon to map token issuance and verification sites, then analysis to identify exploitable weaknesses.
  • Outputs: writes recon results to sast/jwt-recon.md and final findings to sast/jwt-results.md. Use cases include detecting alg:none, weak secrets, header manipulations, and missing claim validation.

Quick Start

Run the JWT recon phase to map issuance and verification sites, then run Phase 2 analysis to determine exploitable weaknesses.

Frequently Asked Questions about sast-jwt

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

FAQPage Schema
How do I detect insecure JWT implementations in my codebase?

To detect insecure JWT implementations, this Skill maps token issuance and verification patterns across multiple languages, identifying weaknesses like alg:none, weak secrets, and missing claim validation. Findings are output to markdown files for review.

What common JWT security vulnerabilities should I look for during codebase analysis?

During JWT security analysis, this tool checks for algorithm restriction flaws, missing signature verification, weak secrets, header manipulations, and missing claim validation by analyzing token flows and configuration patterns.

Can I scan JWT authorization flows across multiple programming languages and frameworks?

Yes, you can scan JWT authorization flows across multiple languages and frameworks. The Skill analyzes libraries, token flows, and claims to locate where tokens are read, verified, and validated throughout the codebase.

How do I start a JWT security assessment to map token issuance and verification sites?

To start a JWT security assessment, run the two-phase approach: execute the recon phase to map token issuance and verification sites, then run analysis to determine exploitable weaknesses and generate the findings report.

What is the best way to audit missing claim validation and algorithm restrictions in JWT tokens?

The best way to audit missing claim validation and algorithm restrictions is using a two-phase JWT security assessment that maps configuration patterns and enforces checks for signature verification and claim validation across the codebase.