catlog22
ad6c18f615
fix(security): prevent command injection and strengthen input validation
BREAKING: executeCodexLens now uses shell:false to prevent RCE
Security fixes:
- Remove shell:true from spawn() to prevent command injection (CRITICAL)
- Add .env value escaping to prevent injection when file is sourced
- Strengthen path validation with startsWith to block subdirectories
- Add path traversal detection (../)
- Improve JSON extraction to handle trailing CLI output
Features:
- Refactor CodexLens panel to tabbed layout (Overview/Settings/Search/Advanced)
- Add environment variables editor for ~/.codexlens/.env
- Add API concurrency settings (max_workers, batch_size)
- Add escapeHtml() helper to prevent XSS
- Implement merge mode for env saving to preserve custom variables
2026-01-03 18:33:47 +08:00
..
2025-12-13 10:43:15 +08:00
2025-12-26 11:44:29 +08:00
2025-12-18 14:12:45 +08:00
2026-01-03 11:46:51 +08:00
2025-12-25 22:22:31 +08:00
2026-01-03 18:33:47 +08:00
2025-12-23 19:54:05 +08:00
2025-12-23 19:54:05 +08:00
2025-12-13 10:43:15 +08:00
2025-12-24 16:32:27 +08:00
2025-12-13 10:43:15 +08:00
2025-12-13 10:43:15 +08:00
2025-12-21 18:14:06 +08:00
2025-12-14 17:17:09 +08:00
2025-12-13 10:43:15 +08:00
2025-12-23 19:54:05 +08:00
2025-12-23 20:36:32 +08:00
2025-12-29 15:14:03 +08:00
2025-12-15 23:11:01 +08:00
2025-12-14 11:12:48 +08:00
2025-12-23 19:54:05 +08:00
2025-12-21 21:45:04 +08:00
2025-12-13 20:29:19 +08:00
2025-12-13 20:29:19 +08:00
2026-01-03 11:36:20 +08:00
2025-12-13 17:28:39 +08:00
2026-01-03 17:37:49 +08:00
2025-12-20 21:44:15 +08:00
2025-12-15 23:11:01 +08:00
2025-12-29 16:15:12 +08:00
2025-12-08 21:10:31 +08:00
2025-12-08 21:56:41 +08:00
2025-12-21 18:14:06 +08:00