From 978a5ff3ece401082315a4d2b792942e5f3ec481 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 14 Jan 2026 03:42:31 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-14T03:42:31Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/implementation/adrs/ADR-STATUS-SUMMARY.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/v3/implementation/adrs/ADR-STATUS-SUMMARY.md b/v3/implementation/adrs/ADR-STATUS-SUMMARY.md index 824e771b22..dbb5e7c9d2 100644 --- a/v3/implementation/adrs/ADR-STATUS-SUMMARY.md +++ b/v3/implementation/adrs/ADR-STATUS-SUMMARY.md @@ -283,8 +283,23 @@ Stats handler (`hooks/intelligence/stats`) pulls from actual implementations: | CVE-3 | Critical | ✅ Fixed | Secure credential generation | | HIGH-1 | High | ✅ Fixed | Shell injection prevention | | HIGH-2 | High | ✅ Fixed | Path traversal validation | +| Command Injection | Critical | ✅ Fixed (alpha.104) | auto-install.ts: regex validation + spawnSync | +| Weak Session IDs | High | ✅ Fixed (alpha.104) | Replaced Math.random() with crypto.randomUUID() | +| hono JWT CVE | High | ✅ Fixed (alpha.104) | npm override to hono>=4.11.4 | +| Unpinned deps | Medium | ✅ Fixed (alpha.104) | Pinned agentdb to exact version | -**Security Score:** 10/10 (previously 7.5/10) +**Security Score:** 10/10 + +### Alpha.104 Security Fixes (2026-01-14) + +| File | Issue | Fix | +|------|-------|-----| +| `src/mcp-tools/auto-install.ts` | Command injection via package name | Regex validation + spawnSync with shell:false | +| `bin/cli.js` | Weak Math.random() session IDs | crypto.randomUUID().slice(0, 8) | +| `bin/mcp-server.js` | Weak Math.random() session IDs | crypto.randomUUID().slice(0, 8) | +| `src/mcp-server.ts` | Weak Math.random() session IDs | crypto.randomUUID().slice(0, 8) | +| `package.json` (umbrella) | hono@4.11.3 vulnerable | npm override to >=4.11.4 | +| `package.json` (umbrella) | Unpinned agentdb | Pinned to 2.0.0-alpha.3.4 | ---