fix(deps): remediate open Dependabot security alerts - #1387
Merged
Conversation
Remove unused aws-sdk-mock to eliminate aws-sdk v2 and uuid@8.0.0. Bump pytest, requests, and Pygments in lambda dev dependencies. Co-authored-by: Cursor <cursoragent@cursor.com>
krokoko
requested review from
Kalindi-Dev,
aws-rafams,
ayushtr-aws,
isadeks,
mayakost,
nizar-lahlali and
scottschreckengaust
September 1, 2026 14:27
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1387 +/- ##
========================================
Coverage 94.88% 94.88%
========================================
Files 87 87
Lines 26951 26951
Branches 480 834 +354
========================================
Hits 25572 25572
Misses 1379 1379 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
isadeks
approved these changes
Sep 1, 2026
ayushtr-aws
approved these changes
Sep 1, 2026
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.
Fixes open Dependabot security alerts.
Summary
Remediates 8 open Dependabot alerts by removing an unused dev dependency chain and
bumping vulnerable Python packages in lambda dev/runtime lockfiles.
aws-sdk-mockto eliminate transitiveaws-sdkv2 (alert 163) anduuid@8.0.0(alert 232)pytestto>=9.0.3in lambda dev dependencies (214, 215, 216, 230)requeststo2.34.2andPygmentsto2.21.0in OpenSearch lambda lockfile (195, 208)Pull Request Checklist
designfolderTest plan
npx projen compileuv run pytestinlambda/aws-bedrock-batch-stepfn(27/27 pass)uv lock --checkinlambda/aws-bedrock-batch-stepfnNotes
aws-sdk-mockwas listed in devDependencies but had no imports anywhere in the codebase.requests(2.32.5→2.34.2), a runtimetransitive dependency of
opensearch-pywithin its existing version constraint.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.