Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Nov 4, 2024
1 parent 31e3978 commit d018b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/vulnerabilities/ssrf/checkContextForSSRF.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function checkContextForSSRF({
operation: string;
context: Context;
}): InterceptorResult {
// If the hostname is a private IP address, we don't need to check for SSRF
// If the hostname is not a private IP address, we don't need to iterate over the user input
// DNS lookup calls will be inspected somewhere else
// This is just to inspect direct invocations of `http.request` and similar
// Where the hostname might be a private IP address (or localhost)
Expand Down

0 comments on commit d018b2e

Please sign in to comment.