<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chanpreet Singh</title>
    <description>The latest articles on DEV Community by Chanpreet Singh (@jaggatech).</description>
    <link>https://dev.to/jaggatech</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3827818%2F60f28dbd-1319-43d7-84a0-4b0b879a7584.png</url>
      <title>DEV Community: Chanpreet Singh</title>
      <link>https://dev.to/jaggatech</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jaggatech"/>
    <language>en</language>
    <item>
      <title>Why I stopped relying on robots.txt and built my own AI crawler blocker</title>
      <dc:creator>Chanpreet Singh</dc:creator>
      <pubDate>Mon, 16 Mar 2026 17:34:50 +0000</pubDate>
      <link>https://dev.to/jaggatech/why-i-stopped-relying-on-robotstxt-and-built-my-own-ai-crawler-blocker-5dn0</link>
      <guid>https://dev.to/jaggatech/why-i-stopped-relying-on-robotstxt-and-built-my-own-ai-crawler-blocker-5dn0</guid>
      <description>&lt;p&gt;robots.txt was never designed for this.&lt;br&gt;
It was built in 1994 as a gentleman's agreement. A way for site owners to say "please don't crawl this." And for a long time, it worked fine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Then AI happened.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GPTBot. ClaudeBot. CCBot. Bytespider. These bots are hitting every website on the internet, around the clock, feeding content into models worth billions. And a lot of them treat robots.txt as optional.&lt;br&gt;
So I started building Alovia Shield.&lt;br&gt;
The problem with user-agent blocking&lt;br&gt;
The obvious first approach is block by user-agent. It works — until it doesn't. User-agent spoofing is trivial. Any bot can just pretend to be Googlebot and walk right through.&lt;br&gt;
I needed something that holds up against that.&lt;/p&gt;

&lt;p&gt;What I built instead&lt;br&gt;
Behavioral fingerprinting. Instead of trusting what a bot claims to be, Alovia Shield looks at how it behaves — request patterns, timing, header anomalies, and a few other signals I'm still tuning.&lt;br&gt;
The test suite runs 40 tests across 4 levels: LOW, MEDIUM, HARD, EXPERT. Currently at 92%. Two false positives fixed by whitelisting legitimate IPs that were getting caught.&lt;br&gt;
What's next&lt;/p&gt;

&lt;p&gt;Still pre-launch. Working on the watermarking layer next — so even if a crawler gets through, the content is traceable back to the source.&lt;/p&gt;

&lt;p&gt;If you've dealt with aggressive AI crawlers on your own projects I'd love to hear how you handled it.&lt;br&gt;
&lt;strong&gt;→ aloviaai.com&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>showdev</category>
      <category>webscraping</category>
    </item>
  </channel>
</rss>
