Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
cloudflare-security-art — Cloudflare Free Plan security rules (Zero Trust approach) for small websites | Kitploit
工具/GitHubGitHub/buybitart/cloudflare-security-art
Defensive ToolsConfiguration AuditingWAF BypassWeb SecurityNetwork SecurityLearning & EducationCurated ResourcesAnti-Bot
GitHubbuybitart/cloudflare-security-art

cloudflare-security-art

Cloudflare Free Plan security rules (Zero Trust approach) for small websites

查看仓库
250171512天前Kitploit 审核通过
分享
网站
内容在请求的语言中不可用。显示英文版本。

Cloudflare's WAF Rules (Free Plan)

This guide helps you protect your website using Cloudflare's Free Plan. The goal is to make website security simple and reliable with WAF rules, DDoS protection, security headers, and bot settings.

Free Cloudflare WAF rules for artists, bloggers, and small websites. Block unwanted bots, AI crawlers, and suspicious requests with the Free Plan.

It includes:

  • ✅ Firewall rules
  • ✅ DDoS protection
  • ✅ Security headers
  • ✅ Bot management settings

My Cloudflare rule is:

  • ✅ Tested and safe
  • ✅ Does not break your site
  • ✅ Blocks harmful bots, including AI scrapers
  • ✅ Based on a ZERO TRUST approach

AI bots try to copy your content!. See Is AI the greatest art heist in history? and ‘Mass theft’: Thousands of artists call for AI art auction to be cancelled

"One of the main points of art is to dialogue with culture.
Even if unintentional, every piece of art reflects the unique background of its creator-shaped by food, religion, music, ethics, visual art, and more.

Imagine a child raised in isolation, shown only paintings 16 hours a day, and punished if their weekly drawing doesn't replicate those images closely enough. They don’t know why they draw-they just mimic. They aren’t creating. They aren’t dialoguing with art.

A computer is even simpler. It doesn't feel, doesn't reflect, doesn't remember the sound of jazz in the 1920s or the first time it saw Warhol.

But a human artist does.
They carry experience, emotion, and intention. They borrow from the past, mix it with the present, and speak in their own voice. That’s art. That’s the difference.

When art is just imitation for profit, it’s empty. But when it speaks-it matters."

In 2024, OpenAI’s chief technology officer Mira Murati told an interviewer that the creative jobs destroyed by her company’s product maybe “shouldn’t have been there in the first place”.

AI pretend to be search engines, but they don't bring you visitors.
Some even use fake user agents, so basic Cloudflare settings may not stop them. This rule blocks all bots by default, and then only allows useful bots that help your website get indexed. I highly recommend reading Block AI scrapers with Cloudflare and My Blog's Biggest Fans Are AI Bots. So I Fought Back.

So Why I Block AI Bots

  • Save server resources and reduce costs.
  • Keep analytics clean from bot traffic.
  • Protect my content from AI scrapers.
  • Keep my website fast by reducing bot requests.
  • Block fake AI bots used by hackers.
2
StepDescription
STEP 1 – Web Application Firewall (WAF) RulesBlocks bots, crawlers, exploits and malicious requests (Parts 1‑5).
STEP 2 – DDoS L7 Protection & Rate LimitingAdds Layer‑7 override and rate limits to stop floods.
STEP 3 – Bot ManagementConfigures Cloudflare bot settings to block AI and unwanted bots.
STEP 4 – Security HeadersSets recommended HTTP headers to harden the site.

[!IMPORTANT] Bot Fight Mode: Off

I recommend disabling Bot Fight Mode in Cloudflare Security settings.

This guide uses WAF rules to block unwanted bots and AI crawlers. Rule 1 makes exceptions for selected verified bots.

Allowed bot categories:

  • Search Engine Crawler
  • Page Preview
  • Security

User-Agent matches:

  • google
  • bing
  • slurp
  • duckduckbot
  • cloudflare
  • google-inspectiontool
  • google-siteverification
  • telegram
  • googlebot
  • chrome-lighthouse
  • adsbot-google
  • google-adwords
  • let's encrypt

URL path matches:

  • acme-challenge
  • pki-validation

The exception requires a matching verified bot category and one of the listed User-Agent or URL path values.

Bot Fight Mode may challenge these bots, so I keep it disabled.

Note: These exceptions apply only to one part of Rule 1. Other WAF checks and rules can still block these requests.


STEP 1 – Web Application Firewall (WAF) Rules

Copy these expressions into your Cloudflare dashboard for custom WAF rules.

  • Go to Security > WAF > Custom rules.
  • To create a new empty rule, select Create rule.

Read Create a custom rule in the dashboard.

image

Part 1 – Block Bot Parasites

The Cloudflare rule I provide below will block not just AI scrapers but all web parasites that suck traffic from your site. This is achieved by applying a Zero Trust approach, which assumes all crawlers are harmful and only explicitly permits those that are useful for your organization.

NOTE🔒 This rule stops about 90% of all threats. It cuts off bad bot traffic before it reaches the application.

Action: Block


(
  http.user_agent eq ""
  or http.user_agent eq " "
  or http.user_agent eq "'"
  or http.request.headers["user-agent"][0] eq ""
  or lower(http.user_agent) contains "puppeteer"
  or lower(http.user_agent) contains "phantomjs"
  or lower(http.user_agent) contains "selenium"
  or lower(http.user_agent) contains "slimerjs"
  or lower(http.user_agent) contains "nightmare"
  or lower(http.user_agent) contains "casperjs"
  or lower(http.user_agent) contains "pyppeteer"
)
or (
  ip.src.asnum in {135061 23724 4808}
  and http.user_agent contains "siteaudit"
)
or (
  http.host contains ":80"
)
or (
  http.host contains ":443"
)
or (
  http.cookie contains "cf_use_ob="
  and not http.cookie contains "0"
  and not http.cookie contains "80"
  and not http.cookie contains "443"
  and not cf.client.bot
)
or
下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    806
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    523
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    441
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    270
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    264

探索所有工具

浏览我们的工具集合

查看所有工具 →