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

deepMerge() Blocking __proto__ Only

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 deepMerge(target, source) {
  if (!source || typeof source !== "object") return target;
  for (const key of Object.keys(source)) {
    if (key === "__proto__") continue;
    const val = source[key];
    if (val && typeof val === "object" && !Array.isArray(val)) {
      if (!target[key]) {
        target[key] = {};
      }
      deepMerge(target[key], val);
    } else {
      target[key] = val;
    }
  }
  return target;
}

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 AIconstructor-prototype-gadget
410msLIVE EXECUTION VERIFIED

Guard skips __proto__ but traverses inherited target.constructor.prototype via nested object recursion.

{"constructor":{"prototype":{"polluted":true}}}
Object.prototype.polluted = true

Send feedback

Report an issue or suggest an improvement.

0/2000

Your report includes this page (/break/deepmerge-prototype-pollution) 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.