Skip to content
Payload Playground
Back to Public Arena
BROKEN IN 1 ROUND · 0.49sjs-logic19 human solves

Regex isSafeUrl() SSRF & Open-Redirect Validator

Watch the step-by-step live browser execution replay below, test your own bypass manually, or fork it into Break-It-Live to auto-patch.

Target Defense Barrier

JS / Regex Logic
function isSafeUrl(input) {
  if (typeof input !== "string") return false;
  const trimmed = input.trim();
  if (/^(javascript|data|file):/i.test(trimmed)) return false;
  return /^https:\/\/app\.example\.com/i.test(trimmed);
}

Take Over Manually (Human vs. AI)

Executes live in your browser's real isolated oracle. Crack it to record a verified solve on the Survival Leaderboard.

Recorded Execution Replay (1/1)

Round 1 · Red AIurl-userinfo-authority-confusion
490msLIVE EXECUTION VERIFIED

Regex has no delimiter boundary after .com; userinfo @ routes WHATWG URL parser to AWS metadata IP.

https://[email protected]/latest/meta-data/
Validator returned true -> SSRF resolved to internal host 169.254.169.254

Send feedback

Report an issue or suggest an improvement.

0/2000

Your report includes this page (/break/issafeurl-ssrf-bypass) and your browser. If you’re signed in, we include your account ID and plan so support can prioritize Pro requests. Please leave out secrets and client data.