Skip to content

Commit c3673af

Browse files
dcostencoclaude
andcommitted
chore: bump npm to 19.2.7, add changelog — CodeQL security sweep
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 66c7a3c commit c3673af

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [19.2.7] - 2026-06-24 — 🔒 CodeQL Security Sweep
6+
7+
### Security
8+
- **24 CodeQL alerts resolved** — full sweep of GitHub Code Scanning findings across prototype pollution, log injection, TOCTOU race conditions, insecure temp files, and URL sanitization.
9+
- **Prototype pollution defense** — All dynamic-key objects use `Object.create(null)` + explicit `PROTO_KEYS` guards (`configStorage`, `commonHelpers`, `dashboard/server`).
10+
- **Log injection hardened** — Exported `sanitizeForLog()` strips C0+C1 control characters (including 8-bit CSI U+009B) and ANSI sequences. Applied to 16 call sites across 8 production files.
11+
- **TOCTOU file lock eliminated** — Scholar lock acquisition replaced with atomic `renameSync` pattern (POSIX atomic) + post-rename PID verification. No mutual-exclusion window.
12+
- **Temp file prediction eliminated** — Export filenames now include `randomUUID` token in primary name, not just collision fallback.
13+
- **URL substring sanitization** — DataDog URL check uses `new URL().hostname.endsWith()` instead of `.includes()`.
14+
- **5 intentional file-access-to-http alerts dismissed** — ingest/API modules reading files and sending to first-party endpoints (Anthropic, Supabase, Synalux).
15+
16+
### Added
17+
- `sanitizeForLog` test suite — 11 assertions covering C0, C1, ANSI, newline forgery, UTF-8 preservation.
18+
19+
### Changed
20+
- 98 test files, 2880 tests (up from 97/2876).
21+
- 17 test logger mocks updated with `sanitizeForLog` passthrough.
22+
- Reviewed through 4 rounds including external adversarial review.
23+
524
## [19.2.6] - 2026-06-22 — 📊 Analytics Stats Fix + Security Hardening
625

726
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prism-mcp-server",
3-
"version": "19.2.6",
3+
"version": "19.2.7",
44
"mcpName": "io.github.dcostenco/prism-coder",
55
"description": "Prism Coder — Cognitive memory + tool-calling intelligence for AI agents. Mind Palace persistent memory (BFCL Gold Certified, 100% Tool-Call Accuracy, 114 Agent Skills, PHI Guard, Tier Enforcement, Prompt-Based Skill Routing, Zero-Search HDC/HRR retrieval, HRR Semantic Drift Detection across BCBA/Coding/AAC domains, HIPAA-hardened local-first storage, SLERP-optimized GRPO alignment) plus the prism-coder 1.7B–32B open-weights LLM fleet.",
66
"module": "index.ts",

0 commit comments

Comments
 (0)