chore: update Bedrock and Vertex dependencies for security#972
Open
lokinhh wants to merge 2 commits intoanthropics:mainfrom
Open
chore: update Bedrock and Vertex dependencies for security#972lokinhh wants to merge 2 commits intoanthropics:mainfrom
lokinhh wants to merge 2 commits intoanthropics:mainfrom
Conversation
Made-with: Cursor
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
Updated Bedrock AWS SDK dependencies
@aws-sdk/client-bedrock-runtimeand@aws-sdk/credential-providersin the Bedrock SDK to recent3.1023.0(and related@aws-sdk/*/@smithy/*transitive dependencies).Pinned and upgraded
fast-xml-parserin the Bedrock SDKfast-xml-parserdependency topackages/bedrock-sdk/package.json.fast-xml-parserto5.5.8, which is not affected by the CVEs reported by Trivy for4.4.1.packages/bedrock-sdk/yarn.lockso that XML parsing now relies on a non‑vulnerable version.Upgraded auth-related dependencies in the Vertex SDK
google-auth-libraryin the Vertex SDK to9.15.1, pulling in newer transitive dependencies for HTTP, token handling, and JWT signing.jwsto4.0.1to address the advisory about improper signature verification in the HS256 algorithm.packages/vertex-sdk/yarn.lockto reflect the newgoogle-auth-library/jwsversions and their transitive tree.Verified security posture with Trivy
trivy fs .against the whole repository.yarn.lockfiles (root,aws-sdk,bedrock-sdk,foundry-sdk,vertex-sdk) now report 0 vulnerabilities.tsc-multibeing installed from a GitHub tarball, not security issues in the runtime dependencies.Testing
yarnyarn buildtrivy fs .