Remove stale @types/ip devDependency across 5 function packages#59
Draft
Remove stale @types/ip devDependency across 5 function packages#59
Conversation
…generate lock files Agent-Logs-Url: https://github.com/advanced-security/GSSAR/sessions/e8a62607-04c0-451d-9f42-257cdd7c61f4 Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix SSRF improper categorization in ip package
Remove stale @types/ip devDependency across 5 function packages
Apr 10, 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.
CVE-2024-29415 flags the
ippackage'sisPublic()for SSRF via improper IP categorization. The vulnerableipruntime package was already removed in PR #58 (replaced withipaddr.js), but@types/ipwas left behind in 5 function directories.Changes
@types/ipfromdevDependenciesin:functions/helpers/closeSecretfunctions/helpers/getSecretDetailsfunctions/helpers/githubIssueNotifierfunctions/remediators/remediateAWSAccessKeyfunctions/remediators/remediateGoogleAPIKeypackage-lock.jsonandyarn.lockfor eachReachability Assessment
Not reachable (high confidence). The
ippackage is absent from all manifests, lock files, andnode_modules. No source file importsipor callsisPublic. No patched version exists; removal is the correct remediation. This cleanup eliminates all remainingip-related packages to help Dependabot dismiss the stale alert.Pre-existing issues
remediateGoogleAPIKeyhas TS2322 errors onmainrelated to Google Auth types — unrelated to this change.Original prompt