diff --git a/library/vulnerabilities/ssrf/isRequestToItself.test.ts b/library/vulnerabilities/ssrf/isRequestToItself.test.ts index d8371277..157fa7e3 100644 --- a/library/vulnerabilities/ssrf/isRequestToItself.test.ts +++ b/library/vulnerabilities/ssrf/isRequestToItself.test.ts @@ -114,4 +114,13 @@ t.test("it returns false", async (t) => { }), false ); + t.same( + isRequestToItself({ + source: "headers", + paths: [], + port: 1234, + str: "localhost:1234", + }), + false + ); });