// MISSION ARCHIVE //

CHALLENGE HALL

Select an anomaly, inspect the buggy logic, and submit your verified fix.

🎯 BUG OF THE DAY
HARD
+500 XP

Async ForEach Sequence Breakdown

A batch processor attempts to execute an async transform using array.forEach. But Array.prototype.forEach does not await promises! Refactor the method to use for...of or Promise.all.

⏱ 15m limit ⚡ 0 Solves JAVASCRIPT
HUNT BUG →
HARD
+500 XP

Debounce Trailing Execution Loss

A debounce function is losing its target execution arguments and context when the timer expires. Refactor debounce to preserve 'this' and the latest arguments passed to the debounced function.

⏱ 15m limit ⚡ 0 Solves JAVASCRIPT
HUNT BUG →
HARD
+500 XP

Object Key Memoizer Collision

A memoization wrapper casts arguments to string by key = args[0], which turns all objects into '[object Object]', causing different object inputs to return cached collision values! Fix key generation using JSON.stringify.

⏱ 15m limit ⚡ 0 Solves JAVASCRIPT
HUNT BUG →
HARD
+500 XP

Generator Infinite Loop Halt

A fibonacci sequence generator produces numbers, but lacks a maximum threshold or termination condition, causing callers attempting to consume it to enter an endless loop. Add a limit parameter.

⏱ 15m limit ⚡ 0 Solves JAVASCRIPT
HUNT BUG →
HARD
+500 XP

Prototype Pollution in Deep Merge

A recursive deepMerge utility merges user configs without checking key names, allowing attackers to pollute Object.prototype via '__proto__' or 'constructor'. Add validation to reject prototype pollution keys.

⏱ 15m limit ⚡ 0 Solves JAVASCRIPT
HUNT BUG →