Skip to content

gomultify/crowdsec-ai-bots-whitelist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CrowdSec AI Bots Whitelist

A CrowdSec postoverflow whitelist collection that prevents legitimate AI crawlers from being banned.

Why

CrowdSec's community blocklist and HTTP scenarios flag AI crawlers as attackers because they exhibit crawler-like behavior (high request rates, broad path scanning). This collection whitelists their official IP ranges so they pass through cleanly.

Covered bots

Bot Operator IP source Update cadence
GPTBot OpenAI openai.com/gptbot.json Daily (automated)
OAI-SearchBot OpenAI openai.com/searchbot.json Daily (automated)
PerplexityBot Perplexity AI perplexity.ai/perplexitybot.json Daily (automated)
Applebot Apple search.developer.apple.com/applebot.json Daily (automated)
YandexBot Yandex yandex.com/ips Manual (JS-rendered page)

IP ranges in data/ are refreshed daily by GitHub Actions and committed automatically.

Installation

# Install the postoverflow
cscli postoverflows install gomultify/ai-bots-whitelist \
  --download-only \
  --config-dir /etc/crowdsec

# Or copy manually
cp postoverflows/s01-whitelist/gomultify/ai-bots-whitelist.yaml \
  /etc/crowdsec/postoverflows/s01-whitelist/

# Reload CrowdSec
systemctl reload crowdsec
# or in Docker:
docker compose restart crowdsec-agent

Docker Compose (volume mount)

crowdsec-agent:
  volumes:
    - ./crowdsec-ai-bots-whitelist/postoverflows:/etc/crowdsec/postoverflows/s01-whitelist/gomultify:ro

Verify

cscli postoverflows list | grep ai-bots

Contributing

PRs welcome — especially for bots with official IP sources that aren't covered yet.

About

CrowdSec whitelist collection for legitimate AI crawlers (GPTBot, OAI-SearchBot, PerplexityBot, Applebot, YandexBot)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors