fix(security): add ws, tmp, axios overrides to smartling and ga4 lambdas [AIS-142]#11059
Merged
Tyler (tylerwashington888) merged 1 commit intoJul 7, 2026
Conversation
Resolves 14 open HIGH Wiz vulnerability findings on sls-apps-smartling-prd-app and sls-apps-google-analytics-4-prd-api by forcing safe versions of transitive deps bundled via the Serverless Framework. - axios: >=1.16.0 (smartling: added; ga4: already set) - ws: >=7.5.11 (both: added) - tmp: >=0.2.7 (both: added) All three packages were hoisted to top-level node_modules and were being packaged into the Lambda deployment artifact, making them visible to Wiz. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mitch Goudy (mgoudy91)
approved these changes
Jul 7, 2026
2 tasks
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
Resolves 14 open HIGH Wiz vulnerability findings on
sls-apps-smartling-prd-appandsls-apps-google-analytics-4-prd-apiby adding npmoverridesto force safe versions of transitive dependencies that are hoisted into the Lambda deployment artifact via the Serverless Framework.Affected resources (Wiz):
sls-apps-smartling-prd-app— 14 open HIGH findingssls-apps-google-analytics-4-prd-api— ws + tmp findingsRoot cause:
axios,ws, andtmpare transitive deps of theserverlessCLI package. npm hoists them to top-levelnode_modules, so the Serverless Framework bundles them into the Lambda zip. Wiz scans the deployed artifact and flags the vulnerable versions.Overrides applied:
axioswstmpVerified: Updated package-locks resolve to
axios@1.18.x,ws@8.21.0,tmp@0.2.7.Runtime impact: None — the Lambda handler code for both apps does not import
axios,ws, ortmpdirectly. These packages only existed in the bundle as transitive deps of the Serverless CLI.Test plan
🤖 Generated with Claude Code