# Vaultline — Weak JWT Secret (lab)

> Vaultline is a banking admin console. Its login hands you a signed JSON Web Token, and the admin area only accepts a properly-signed one — no obvious flaw.

Canonical: https://codelivly.com/labs/weak-jwt-secret

| | |
|---|---|
| Type | Web |
| Difficulty | Advanced |
| Points | 450 |
| Session length | 30 min |
| Completions | 8 |

Vaultline is a banking admin console. Its login hands you a signed JSON Web Token, and the admin area only accepts a properly-signed one — no obvious flaw. But the signing secret is a short, common word. Recover it, forge an administrator token, and read the master vault key.

## Objective

Learn to attack a JWT with a weak signing secret: when an HS256 token is signed with a guessable password, an offline crack recovers the secret and lets you forge any token — including admin.

## Tasks

1. Get your guest token
2. Confirm the algorithm
3. Crack the secret
4. Forge an admin token
5. Enter the admin console

## Related

- [All labs](https://codelivly.com/practice?type=lab)
