(J) Prototype pollution guard (CodeRabbit major).
`--set __proto__.x=1` previously mutated Object.prototype because
`overrides.__proto__` returned Object.prototype on a plain object,
and assigning `[key]=value` polluted every plain object in the process.
Verified the attack reproduces on
|
||
|---|---|---|
| .. | ||
| channel-plan.js | ||
| channel-resolver.js | ||
| community-manager.js | ||
| custom-module-manager.js | ||
| external-manager.js | ||
| official-modules.js | ||
| plugin-resolver.js | ||
| registry-client.js | ||
| registry-fallback.yaml | ||
| version-resolver.js | ||