Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
Analyze the dependency records of a Node.js app (`package.json`, `dependencies.txt`, `install.log`). Identify the typosquatting dependency whose name closely mimics a legitimate package, and read the flag from its `postinstall` output in `install.log`. No real install or exploitation is needed.
One entry in dependencies.txt is a typosquat that closely mimics a legitimate package name
Check install.log for that package's postinstall script output
The obfuscated postinstall log reveals the flag