mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-16 23:02:51 -07:00
ded474c2d0
Resolves security review findings: - Reordered resolveToRealPath before mkdirSync to fully eliminate TOCTOU risks with symlink injection. - Fail closed by re-throwing 'Security violation' errors instead of swallowing them. - Replaced lint-disabler with process.stderr.write for legitimate fallback warnings. - Used direct context string as LRUCache key to avoid collision with an extension potentially named 'default'.