fix: refresh vulnerable lockfile dependencies in examples and mcp#13397
fix: refresh vulnerable lockfile dependencies in examples and mcp#13397
Conversation
Co-authored-by: Tomasz Czubocha <tomasz.czubocha@gmail.com>
Co-authored-by: Tomasz Czubocha <tomasz.czubocha@gmail.com>
Co-authored-by: Tomasz Czubocha <tomasz.czubocha@gmail.com>
Co-authored-by: Tomasz Czubocha <tomasz.czubocha@gmail.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (14)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This PR refreshes lockfile-only dependency resolutions to clear GitHub security alerts in the Bedrock AgentCore JavaScript examples and the root workspace lockfile.
Fixed advisories
Examples
express-rate-limit: IPv4-mapped IPv6 addresses bypass per-client rate limitingfastify: Missing end anchor insubtypeNameRegallows malformed Content-Types to pass validationRoot workspace lockfile
hono: arbitrary file access viaserveStatichono: cookie attribute injection via unsanitizeddomainandpathinsetCookie()@hono/node-server: authorization bypass for protected static paths via encoded slashesAdditional cleanup
package-lock.jsonmetadata forpackages/sf-coreso@aws-sdk/client-sso-oidcmatches the pinned version inpackages/sf-core/package.jsonChanges
Example lockfile refreshes
Updated affected Bedrock AgentCore example lockfiles to pick up patched transitive dependencies:
express-rate-limit8.2.1->8.3.1ip-address10.0.1->10.1.0fastify5.7.x->5.8.2Root lockfile refresh
Updated root
package-lock.jsonto resolve:hono->4.12.5@hono/node-server->1.19.11Testing / verification
npm auditchecks for updated examplesnpm audit --jsonaws-sdkv2 advisory remainsNotes
package.jsondependency additions