Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/security-hardening.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"agents": patch
---

Security hardening for Agent and MCP subsystems:

- **SSRF protection**: MCP client now validates URLs before connecting, blocking private/internal IP addresses (RFC 1918, loopback, link-local, cloud metadata endpoints, IPv6 unique local and link-local ranges)
- **OAuth log redaction**: Removed OAuth state parameter value from `consumeState` warning logs to prevent sensitive data leakage
- **Error sanitization**: MCP server error strings are now sanitized (control characters stripped, truncated to 500 chars) before broadcasting to clients to mitigate XSS risk
- **Deprecation warnings**: Added one-time warnings for `sendIdentityOnConnect` (default `true` will change to `false` in next major) and CORS `Authorization` header with wildcard origin (will be removed from defaults in next major)
59 changes: 44 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading