prism-mcp-server 9.4.4 β 9.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -826,8 +826,9 @@ The Generator strips the `console.log`, resubmits, and the next `EVALUATE` retur
|
|
|
826
826
|
|
|
827
827
|
## π What's New
|
|
828
828
|
|
|
829
|
-
> **Current release: v9.4.
|
|
829
|
+
> **Current release: v9.4.5 β Security: Command Injection Fix & Dependency Reduction**
|
|
830
830
|
|
|
831
|
+
- π **v9.4.5 β Command Injection Fix & Dep Reduction:** `isOrphanProcess()` in `lifecycle.ts` interpolated a file-sourced PID into `execSync`. Fixed with `execFileSync` (no shell). Removed 2 unused runtime deps (25 β 23). Closes [#53](https://github.com/dcostenco/prism-mcp/issues/53).
|
|
831
832
|
- π§ **v9.4.3 β ESM Bundling Fix:** Bundled dist had inlined OpenTelemetry CJS `require("async_hooks")` into ESM chunks, causing `Dynamic require of "async_hooks" is not supported` at runtime. Rebuilt with `tsc`. Affects CLI, session save/load, and MCP server startup.
|
|
832
833
|
- π **v9.4.2 β Shell Injection Fix:** Deep code review found shell injection in `getGitDrift()` β `oldSha` was interpolated into `execSync` template string. Fixed with SHA format validation + `execFileSync` (no shell). Defense-in-depth.
|
|
833
834
|
- π **v9.4.1 β Security Hardening & Bidirectional Sync:** Two-pass adversarial audit found 18 vulnerabilities (4C/5H/9M) β 17 fixed. Critical: fail-closed rate limiter, path traversal guards, error sanitization. High: plan name alignment (revenue fix), CORS allowlist, settings injection prevention. New: bidirectional `prism sync push` CLI command pushes local SQLite β Supabase, JWT enrichment eliminates N+1 DB queries, concurrency counter guaranteed via `try/finally`, 10MB request body limits.
|
|
@@ -1241,6 +1242,7 @@ Prism has evolved from smart session logging into a **cognitive memory architect
|
|
|
1241
1242
|
| **v9.0** | Cognitive Budget β per-project token economy with passive UBI recovery (+100 tokens/hr); agents that over-save enter Cognitive Debt | Resource-bounded rationality (Simon, 1955) | β
Shipped |
|
|
1242
1243
|
| **v9.1** | Task Router v2 β 6-signal weighted heuristic engine routing tasks between cloud host and local LLM based on file-type complexity, scope, and multi-step detection | Heuristic classification, cognitive load theory | β
Shipped |
|
|
1243
1244
|
| **v9.4** | Shell Injection Fix β `execSync` β `execFileSync` + SHA format validation in git drift detection | Defense-in-depth, secure subprocess execution | β
Shipped |
|
|
1245
|
+
| **v9.4** | Command Injection Fix (lifecycle) β PID file injection via `execSync` template literal; remediated with `execFileSync` array args | Defense-in-depth, attack surface reduction | β
Shipped |
|
|
1244
1246
|
| **v9.2** | Cross-Backend Reconciliation β automatic Supabase β SQLite sync with idempotent dedup and 5s timeout | Eventual consistency, crdt-style reconciliation | β
Shipped |
|
|
1245
1247
|
| **v9.2** | Split-Brain Drift Detection β dual-backend version comparison with prominent divergence warnings at load time | Byzantine fault detection, split-brain resolution | β
Shipped |
|
|
1246
1248
|
| **v9.2** | TurboQuant QJL Validation β zero R@5 delta between P50 and P95 residual vectors (d=128, N=2K); CV=0.038 at d=768 proves no long tail | QJL estimator (ICLR 2026), Householder orthogonal rotation | β
Shipped |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prism-mcp-server",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.5",
|
|
4
4
|
"mcpName": "io.github.dcostenco/prism-mcp",
|
|
5
5
|
"description": "The Mind Palace for AI Agents β a true Cognitive Architecture with Hebbian learning (episodicβsemantic consolidation), ACT-R spreading activation (multi-hop causal reasoning), uncertainty-aware rejection gates (agents that know when they don't know), adversarial evaluation (anti-sycophancy), fail-closed Dark Factory pipelines, persistent memory (SQLite/Supabase), multi-agent Hivemind, time travel & visual dashboard. Zero-config local mode.",
|
|
6
6
|
"module": "index.ts",
|
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
"@types/jsdom": "^28.0.1",
|
|
95
95
|
"@types/mozilla-readability": "^0.2.1",
|
|
96
96
|
"@types/turndown": "^5.0.6",
|
|
97
|
+
"dotenv": "^17.4.2",
|
|
97
98
|
"tsx": "^4.19.3",
|
|
98
99
|
"vitest": "^4.1.1"
|
|
99
100
|
},
|