Files
gemini-cli/packages
Mahima Shanware ded474c2d0 fix(core): fail-closed security for plan directory TOCTOU
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'.
2026-04-07 16:35:24 +00:00
..