v2.5.0
Release v2.5.0
Release type: stable
Release line: 2.5.x
Branch: release/2.5.x
[2.5.0] - 2026-06-21
Security
- Enhanced SSRF protection by resolving DNS and blocking internal targets based on resolved IPs, not just hostnames.
- Implemented
safeFetchto revalidate each redirect hop, closing potential SSRF bypasses. - Introduced
normalizeSsrfOptionsto manage SSRF-related configurations consistently.
Added
- Added
SsrfErrorclass to handle specific SSRF guard violations. - Exported SSRF utilities like
safeFetch,isBlockedHostname, anddecodeIpv4MappedIpv6for external use.
Changed
- Refactored
fromURLand$refresolution to use new SSRF utilities for heightened security. - Updated
RefResolutionOptionsandLoadOptionsdocumentation to reflect enhanced SSRF features.
Installation
npm install mcp-from-openapi@2.5.0