[codex] fix vulnerable dependencies - #244
Open
GuangmingLuo wants to merge 1 commit into
Open
GuangmingLuo wants to merge 1 commit into
GuangmingLuo wants to merge 1 commit into
Conversation
Change-Id: I7b316b9a6a4a67caadfbe9a355d037e0cea27f9e
There was a problem hiding this comment.
Pull request overview
This PR updates vulnerable dependencies across multiple Go modules and the Deer Go Python MCP server, aiming to remediate security findings by bumping key libraries to patched versions.
Changes:
- Bump root module indirect dependency
github.com/ollama/ollamafromv0.11.4tov0.11.11. - Bump
google.golang.org/grpctov1.72.3(and relatedgenprotoentries where applicable) across affected Go submodules. - Upgrade the Deer Go Python MCP server dependency from
mcp==1.8.1tomcp>=1.13.0and refreshuv.lock(resolving tomcp==1.27.2,python-multipart==0.0.32, etc.).
Reviewed changes
Copilot reviewed 5 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
go.mod |
Updates root module indirect dependency version for github.com/ollama/ollama. |
go.sum |
Updates root module checksums to match the upgraded ollama version. |
quickstart/eino_assistant/go.mod |
Bumps indirect google.golang.org/grpc to v1.72.3. |
quickstart/eino_assistant/go.sum |
Updates checksums for the upgraded grpc version. |
flow/agent/deer-go/go.mod |
Bumps indirect grpc to v1.72.3 and aligns related genproto versions. |
flow/agent/deer-go/go.sum |
Updates checksums for grpc and genproto changes. |
flow/agent/manus/go.mod |
Bumps indirect grpc to v1.72.3 and also updates duckduckgo dependency to /v2. |
flow/agent/manus/go.sum |
Updates checksums reflecting grpc and additional dependency graph changes. |
flow/agent/deer-go/biz/mcps/python/pyproject.toml |
Changes MCP dependency constraint to mcp>=1.13.0. |
flow/agent/deer-go/biz/mcps/python/uv.lock |
Refreshes Python lockfile to newer resolved versions (incl. mcp==1.27.2, python-multipart==0.0.32). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github.com/ollama/ollamain the root module fromv0.11.4tov0.11.11.google.golang.org/grpctov1.72.3in the affectedflow/agent/deer-go,flow/agent/manus, andquickstart/eino_assistantmodules.mcp==1.8.1tomcp>=1.13.0and refreshuv.lock, which resolves tomcp==1.27.2andpython-multipart==0.0.32.flow/agent/manus,go mod tidyalso alignsgo.modwith the existing source import ofgithub.com/cloudwego/eino-ext/components/tool/duckduckgo/v2inmanus.go; this is a manifest/lockfile consistency fix with no source changes, and it accounts for the new transitivegoquery/cascadiaentries.Validation
git diff --checkenv -u GOROOT go mod tidyin root,flow/agent/deer-go,flow/agent/manus, andquickstart/eino_assistantenv -u GOROOT go test ./...in root: passedenv -u GOROOT go test ./...inquickstart/eino_assistant: passeduvx --from uv uv lock --upgrade-package mcp --upgrade-package python-multipart: passeduv run python -m py_compile server.py: passedKnown existing module build issues observed during validation:
env -u GOROOT go test ./...inflow/agent/deer-gofails in existinggithub.com/cloudwego/eino-ext/components/tool/mcp@v0.0.0-20250514085234-473e80da5261API usage (schema.NewParamsOneOfByOpenAPIV3,mcp.CallToolParams).env -u GOROOT go test ./...inflow/agent/manusfails in existinggithub.com/cloudwego/eino-ext/components/tool/browseruse@v0.0.0-20250421090053-2091919102c7/libs/acl/openaiAPI usage (schema.NewParamsOneOfByOpenAPIV3,ParamsOneOf.ToOpenAPIV3).