Tries --:--:-- left
Next hack in --:--:--
Warm-up

Your first hack, in 60 seconds

Every Daily Hack works the same way: read the briefing, look at the evidence, type the answer. Try it here first - no XP, no pressure.

Mission briefing

Developers sometimes leave notes in a page's source code that visitors never see. This login page ships one. Read the source below and find the staff password.

Investigate
<form action="/login" method="post">
  <input name="user" placeholder="Username">
  <input name="pass" type="password" placeholder="Password">
  <!-- TODO: remove before launch - staff password is "sunrise" -->
  <button>Sign in</button>
</form>
Your answer
Daily Hack #95 First blood M2F14M3 Solved by Pechak windside Hodanalo Aquatox Gabe ishacker

Who signs your token

Cryptography Difficulty Easy ~3 min +10 XP
Mission briefing

Caldera's shipment API accepts signed tokens from partner carriers. A token arrives, the API needs the public key that will verify it, and the library it uses is helpful: rather than making the team maintain a list of partner keys, it reads where to fetch the key from the token itself. That is a real header field, it is in the specification, and libraries really do honour it. Three different hostnames appear in this token and they are all plausible. Only one of them decides whether the signature is trusted, and it is the one an attacker gets to choose. Decode the token and submit the host the verifier would go to for the key.

Investigate
Your answer

Play freely - sign up to submit your answer and earn XP.

Solved! +10 XP
First blood! You were first to crack today's hack.
How it works

Up next Pro
Play next hack

Nice one!

Sign up free to claim your +10 XP and start your streak.

Claim +10 XP - sign up free
27,000+ Hackers 100+ Labs & Courses Free
Start Hacking Free