
bincxzandClaude Opus 4.6
808d021ebe
fix: address security, correctness, and performance issues from code review
- Use crypto.randomBytes for PTY markers instead of Math.random
- Replace execSync with execFileSync to prevent command injection
- Fix sftp_write_file missing safety check (pass path to guardWriteOperation)
- Add IPC input validation for handleExec, handleSftpRead, handleMultiExec
- Add maxBytes bounds validation in executor, tools, and MCP server
- Fix approval race condition (clear ref after destructuring, strict messageId match)
- Shorten API key plaintext lifetime in memory
- Fix stream cancellation race with AbortController registered before request
- Delay revokeObjectURL for download timing
- Extract shared limitConcurrency to infrastructure/ai/concurrency.ts
- Add execStream null check in execViaChannel
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 23:46:13 +08:00
..
2026-03-15 23:28:50 +08:00
2026-03-15 17:05:41 +08:00
2025-12-17 14:25:05 +08:00
2026-03-08 10:55:17 +08:00
2026-02-02 20:10:04 +08:00
2026-03-15 23:28:50 +08:00
2026-03-14 01:47:46 +08:00
2026-03-13 23:39:56 +08:00
2026-03-14 01:47:46 +08:00
2026-03-14 14:22:28 +08:00
2026-01-29 00:07:14 +08:00
2026-03-15 23:46:13 +08:00
2025-12-09 11:45:16 +08:00
2026-03-14 00:32:54 +08:00
2026-01-21 12:23:21 +08:00
2026-02-01 14:31:12 +08:00
2026-03-13 14:54:00 +08:00
2026-01-08 00:13:37 +08:00
2026-03-08 10:55:17 +08:00
2026-02-12 21:31:01 +08:00
2026-01-20 17:59:42 +08:00
2026-03-08 10:55:17 +08:00
2025-12-11 16:01:03 +08:00
2025-12-19 16:23:52 +08:00
2026-03-03 19:27:37 +08:00
2026-01-27 16:35:03 +08:00
2026-03-13 16:43:22 +08:00
2025-12-17 12:06:28 +08:00
2026-03-08 10:55:17 +08:00
2026-02-05 00:52:49 +08:00
2026-03-14 00:21:34 +08:00
2026-03-08 10:55:17 +08:00
2026-01-13 06:10:53 +00:00
2026-01-13 14:42:45 +08:00
2026-03-11 18:25:32 +08:00
2026-03-15 17:10:26 +08:00
2026-03-13 23:39:56 +08:00
2026-03-13 23:39:56 +08:00
2026-03-12 16:19:22 +08:00
2026-02-02 21:12:00 +08:00
2026-03-12 16:19:22 +08:00
2026-03-14 01:36:12 +08:00
2026-03-15 23:28:50 +08:00
2026-02-07 13:44:19 +08:00
2026-03-08 10:55:17 +08:00
2026-03-15 02:03:11 +08:00
2025-12-09 11:45:12 +08:00
2026-03-13 16:43:22 +08:00
2026-03-13 14:59:06 +08:00