This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
Affected surfaces
Summary
AI summaryFixed corrupting of string literals containing process.env in sanitizeBundleForEdge().
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Dependency | Low |
All @mcpfusion/* packages bumped to version 4.0.3. All @mcpfusion/* packages bumped to version 4.0.3. Source: llm_adapter@2026-05-26 Confidence: high |
— |
| Bugfix | Medium |
Fixes corrupted string literals in sanitizeBundleForEdge causing SyntaxError on V8 compile. Fixes corrupted string literals in sanitizeBundleForEdge causing SyntaxError on V8 compile. Source: llm_adapter@2026-05-26 Confidence: low |
— |
| Bugfix | Medium |
Fixes corrupted string literals in `sanitizeBundleForEdge()` caused by improper `process.env` replacement. Fixes corrupted string literals in `sanitizeBundleForEdge()` caused by improper `process.env` replacement. Source: granite4.1:30b@2026-05-26-audit Confidence: low |
— |
Full changelog
Fixed
@mcpfusion/core — Edge Sanitizer: Context-Aware process.env Replacement
-
sanitizeBundleForEdge()corrupted string literals containingprocess.env— Theprocess.env→process["env"]regex replacement was applied globally across the minified bundle without distinguishing between real code references and occurrences inside string literals. This causedSyntaxError: missing ) after argument listat V8 Isolate compile time (<isolated-vm>:173:7641), making MCP servers fail to initialize on Vinkius Edge withInternal Server Error. -
Fix — Replaced the global regex with a context-aware callback that counts unescaped double quotes before the match position to detect string boundaries. Applied to both
deploy.ts(CLI) andsanitizer.ts(runtime).
Changed
- All
@mcpfusion/*packages bumped to4.0.3.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About vinkius-labs/mcp-fusion
A TypeScript framework for building production-ready MCP servers with automatic tool discovery, multi-transport support (stdio/SSE/HTTP), built-in validation, and zero-config setup.
Related context
Related tools
Beta — feedback welcome: [email protected]