We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76e63fa commit 9f4700bCopy full SHA for 9f4700b
library/vulnerabilities/bot-spoofing/checkContextForBotSpoofing.ts
@@ -38,11 +38,6 @@ export async function checkContextForBotSpoofing(
38
return false;
39
}
40
41
- // If the bot does not have any IPs or hostnames to verify, we can't determine if it's spoofing
42
- if (!matchingBot.ips && matchingBot.hostnames.length === 0) {
43
- return false;
44
- }
45
-
46
const isAuthentic = await verifyBotAuthenticity(ip, matchingBot);
47
48
return !isAuthentic; // If the bot is not authentic, it is considered as bot spoofing
0 commit comments