-
Notifications
You must be signed in to change notification settings - Fork 296
Closed
Labels
Description
Objective
Upgrade the github.com/modelcontextprotocol/go-sdk dependency from v1.3.0 to v1.3.1 to apply a security fix.
Context
Discussion #16774 identified that v1.3.1 contains a security patch for issue #805. The fix switches the JSON decoder to github.com/segmentio/encoding which provides case-sensitive matching, preventing exploitation of Go's standard library JSON decoder case-insensitive struct field matching in MCP message parsing.
gh-aw is an MCP server that receives JSON-RPC messages from external MCP clients, making this upgrade important.
Steps
- Run:
go get github.com/modelcontextprotocol/go-sdk@v1.3.1 - Run:
go mod tidy - Run
make buildto ensure it compiles - Run
make test-unitto confirm no regressions
Files to Modify
go.modgo.sum
Acceptance Criteria
-
go.modreferencesgithub.com/modelcontextprotocol/go-sdk v1.3.1 -
go mod tidyruns cleanly -
make buildsucceeds -
make test-unitpasses
Generated by Plan Command for issue #discussion #16774
- expires on Feb 21, 2026, 9:47 PM UTC
Reactions are currently unavailable