<?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: Dídac</title>
    <description>The latest articles on DEV Community by Dídac (@dco_indicose).</description>
    <link>https://dev.to/dco_indicose</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%2F4285390%2F67a27386-8fc9-452a-a14b-5bc7be080c31.png</url>
      <title>DEV Community: Dídac</title>
      <link>https://dev.to/dco_indicose</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dco_indicose"/>
    <language>en</language>
    <item>
      <title>How I built a fast, ad-free cybersecurity toolkit with Astro, Cloudflare, and a "no-trackers" test suite</title>
      <dc:creator>Dídac</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:01:47 +0000</pubDate>
      <link>https://dev.to/dco_indicose/how-i-built-a-fast-ad-free-cybersecurity-toolkit-with-astro-cloudflare-and-a-no-trackers-test-4229</link>
      <guid>https://dev.to/dco_indicose/how-i-built-a-fast-ad-free-cybersecurity-toolkit-with-astro-cloudflare-and-a-no-trackers-test-4229</guid>
      <description>&lt;p&gt;I got tired of using DNS, email security, and URL checking tools that are bloated with ads, cookie banners, and third-party trackers—especially when you're pasting domains or checking potentially sensitive data.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;a href="https://netsectools.com" rel="noopener noreferrer"&gt;NetSecTools&lt;/a&gt;&lt;/strong&gt;: a fast, lightweight suite of web and security diagnostic utilities designed to do one job cleanly without storing logs or setting ad cookies.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's included so far
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Email Security Checker:&lt;/strong&gt; Inspects SPF and DMARC records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTTP Security Headers Checker:&lt;/strong&gt; Audits response headers for common misconfigurations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DNS Lookup:&lt;/strong&gt; Queries DNS records using DNS-over-HTTPS (DoH).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Suspicious URL Analyzer:&lt;/strong&gt; Helps evaluate links before opening them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password / Breach Checks:&lt;/strong&gt; Uses Have I Been Pwned's k-anonymity model so full hashes never leave your browser.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Architecture: Astro + Cloudflare
&lt;/h2&gt;

&lt;p&gt;To keep the site fast and nearly zero-cost to run, I built it with &lt;strong&gt;Astro&lt;/strong&gt; and deployed it on &lt;strong&gt;Cloudflare Pages &amp;amp; Workers&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Everything runs &lt;strong&gt;client-side&lt;/strong&gt; whenever possible (using DoH resolvers and native browser APIs).&lt;/li&gt;
&lt;li&gt;Lightweight &lt;strong&gt;Cloudflare Workers&lt;/strong&gt; handle only the checks that require server-side fetches.&lt;/li&gt;
&lt;li&gt;No database, no user accounts, and no server-side query logging.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Enforcing "No Trackers" in CI
&lt;/h2&gt;

&lt;p&gt;Originally, I had Google Analytics and a cookie consent banner like most sites. Before launching, I realized that contradicted the whole point of a privacy-first security tool, so I ripped them both out completely—no &lt;code&gt;gtag&lt;/code&gt;, no &lt;code&gt;dataLayer&lt;/code&gt;, no &lt;code&gt;Set-Cookie&lt;/code&gt; headers, and no consent banner.&lt;/p&gt;

&lt;p&gt;For basic traffic stats, I switched to &lt;strong&gt;Cloudflare Web Analytics&lt;/strong&gt; (cookie-less, no cross-site tracking).&lt;/p&gt;

&lt;p&gt;To make sure tracking scripts never sneak back in during future updates, I locked down &lt;code&gt;public/_headers&lt;/code&gt; with a strict Content-Security-Policy (CSP) and added a dedicated &lt;code&gt;no-trackers.test.ts&lt;/code&gt; file to my test suite (696 tests total). It runs 20 automated checks before every deploy to catch:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tracking domains in the CSP headers&lt;/li&gt;
&lt;li&gt;Any reference to &lt;code&gt;gtag&lt;/code&gt;, &lt;code&gt;googletagmanager&lt;/code&gt;, or &lt;code&gt;document.cookie&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Unexpected &lt;code&gt;localStorage&lt;/code&gt; keys (only the light/dark theme preference is allowed)&lt;/li&gt;
&lt;li&gt;Leftover consent banner components&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Full transparency: Cloudflare serves the site and handles cookie-less analytics, DoH resolvers receive the queried domain, and HIBP receives the first 5 characters of a SHA-1 hash. Everything is documented clearly in the privacy policy.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;I'm currently planning the next batch of tools:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;DKIM Selector Lookup&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RDAP / Domain Age Checker&lt;/strong&gt; (super useful for spotting fresh phishing domains)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Redirect Chain Checker&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SSL/TLS Certificate Checker&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can try it out at &lt;strong&gt;&lt;a href="https://netsectools.com" rel="noopener noreferrer"&gt;netsectools.com&lt;/a&gt;&lt;/strong&gt;. I'd love any feedback on the UX, security headers, or edge cases—and let me know what daily checks you'd like to see added next!&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>dns</category>
      <category>website</category>
    </item>
  </channel>
</rss>
