<?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: Gary</title>
    <description>The latest articles on DEV Community by Gary (@gary23w).</description>
    <link>https://dev.to/gary23w</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%2F523798%2Fe146a81c-6d02-41ed-88aa-0d439b4a586e.jpg</url>
      <title>DEV Community: Gary</title>
      <link>https://dev.to/gary23w</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gary23w"/>
    <language>en</language>
    <item>
      <title>f*ck_data_brokers.py: one free Python file that writes deletion requests to nearly 900 data brokers</title>
      <dc:creator>Gary</dc:creator>
      <pubDate>Wed, 02 Dec 2026 10:43:30 +0000</pubDate>
      <link>https://dev.to/gary23w/fckdatabrokerspy-one-free-python-file-that-writes-deletion-requests-to-nearly-900-data-brokers-4l0o</link>
      <guid>https://dev.to/gary23w/fckdatabrokerspy-one-free-python-file-that-writes-deletion-requests-to-nearly-900-data-brokers-4l0o</guid>
      <description>&lt;p&gt;I remove people's data from data brokers. It is one of my main part-time jobs, and it has been a wild ride. I am fed up with what everyone is put through, so here is my response: a free tool anyone can run at home.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/gary23w/f-ck_data_brokers" rel="noopener noreferrer"&gt;f*ck_data_brokers.py&lt;/a&gt;&lt;/strong&gt; is one Python file. Standard library only, MIT licensed. It runs on your computer and keeps your details on your computer.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Gets the list of registered data brokers from the official registries of California, Oregon and Texas, plus companies people reported with evidence. Nearly 900 companies.&lt;/li&gt;
&lt;li&gt;Writes each one a deletion and opt-out letter in your name, quoting the law where you live.&lt;/li&gt;
&lt;li&gt;Sends the letters from your own mailbox, or gives you a page with one button per letter.&lt;/li&gt;
&lt;li&gt;Reads what the brokers write back and tells you which excuse it is and what to answer.&lt;/li&gt;
&lt;li&gt;Chases the quiet ones, sends a final notice after a second refusal, and tells you which regulator takes complaints.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A letter carries three things: your name, your email address and your city. No street address, no birthday, no phone number, no ID.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;You need Python 3.8 or newer and an email address. A free one is fine.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python fuck_data_brokers.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You get a menu: tell it who you are, get the list, write the letters (20 at a time), send them. When a broker answers, paste the reply and it writes your answer.&lt;/p&gt;

&lt;p&gt;Or put the routine on a weekly schedule:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python fuck_data_brokers.py auto
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That refreshes the list, writes the next letters, writes reminders for late brokers and rebuilds your send page. It never writes to the same broker twice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use it from an AI assistant
&lt;/h2&gt;

&lt;p&gt;The same file is an MCP server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"fuck_data_brokers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"python"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"/path/to/fuck_data_brokers.py"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"mcp"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The assistant is told to ask you before sending anything, never to invent your details, never to send an ID and never to click a link from a broker.&lt;/p&gt;

&lt;h2&gt;
  
  
  A few engineering choices
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No dependencies.&lt;/strong&gt; &lt;code&gt;smtplib&lt;/code&gt; sends (STARTTLS, or implicit TLS on port 465), &lt;code&gt;imaplib&lt;/code&gt; reads, &lt;code&gt;urllib&lt;/code&gt; fetches the California registry. Nothing to &lt;code&gt;pip install&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your mailbox, your password.&lt;/strong&gt; It sends through your own account with an app password that is used for the run and never saved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reading replies without touching them.&lt;/strong&gt; &lt;code&gt;inbox&lt;/code&gt; opens the mailbox read-only and fetches with &lt;code&gt;BODY.PEEK&lt;/code&gt;, so nothing is marked as read. It acts only on mail from the broker's own domain that names your request.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No CAPTCHA bypass.&lt;/strong&gt; Brokers that insist on a web form get a page with a link to their form and copy buttons. You fill it in and press submit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The list keeps itself current.&lt;/strong&gt; A GitHub Actions job re-reads California's registry and commits new brokers by name. A daily job asks two public DNS-over-HTTPS resolvers about the mail records of every broker domain and marks an address as unable to receive mail only when both agree.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tests on every push.&lt;/strong&gt; 72 tests on Linux, Windows and macOS, including a leak check that fails a change adding a home-folder path, a real email address, a phone number or a key.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where it works
&lt;/h2&gt;

&lt;p&gt;The letter quotes the law for California, Canada, Quebec, the EU and EEA, the UK, Switzerland, Brazil, Mexico, Australia, South Africa, Japan, Israel, Chile, Argentina, Colombia, Ecuador, Peru and Uruguay.&lt;/p&gt;

&lt;h2&gt;
  
  
  The question everyone asks
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Am I handing my details to brokers who never heard of me?&lt;/em&gt; Sometimes, yes. A deletion request has to say who you are. That is why a letter carries only those three things, tells the broker to use them for nothing but the request, and why you choose who gets one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python fuck_data_brokers.py find &lt;span class="s2"&gt;"people"&lt;/span&gt;
python fuck_data_brokers.py letters --match &lt;span class="s2"&gt;"people"&lt;/span&gt;
python fuck_data_brokers.py skip &lt;span class="s2"&gt;"advertising"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Help wanted
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A place that is missing.&lt;/strong&gt; A law is an entry in &lt;code&gt;PLACES&lt;/code&gt;, the letter wording in &lt;code&gt;LAW_TEXT&lt;/code&gt;, the complaint route in &lt;code&gt;REGULATOR&lt;/code&gt; and a test. Quote the law's own text and link to it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A broker that is on no registry.&lt;/strong&gt; Open an issue with its name, its privacy address and a link showing it sells personal information.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is not legal advice. You send the letters in your own name, from your own mailbox.&lt;/p&gt;

&lt;p&gt;Repository: &lt;a href="https://github.com/gary23w/f-ck_data_brokers" rel="noopener noreferrer"&gt;https://github.com/gary23w/f-ck_data_brokers&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article was created with the help of AI.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>privacy</category>
      <category>python</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I killed ARTEX on my lunch break</title>
      <dc:creator>Gary</dc:creator>
      <pubDate>Sun, 15 Nov 2026 22:12:21 +0000</pubDate>
      <link>https://dev.to/gary23w/i-killed-artex-on-my-lunch-break-30ae</link>
      <guid>https://dev.to/gary23w/i-killed-artex-on-my-lunch-break-30ae</guid>
      <description>&lt;p&gt;I started &lt;a href="https://github.com/gary23w/sentinels" rel="noopener noreferrer"&gt;Sentinels&lt;/a&gt; on a lunch break. It's a host intrusion detector for Linux, macOS and Windows, written in Rust and released under the &lt;a href="https://github.com/gary23w/sentinels/blob/main/LICENSE" rel="noopener noreferrer"&gt;MIT license&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It's meant to deal with automated attacks from tools such as ARTEX. The agent watches processes and connections on the machine and can stop a malicious process and its children. It can also quarantine files and disable supported startup entries associated with the attack. Those cleanup changes can be reversed.&lt;/p&gt;

&lt;p&gt;The stopping times I'm seeing in internal tests are about 20 ms for rapid process chains and under 5 ms for selected tooling tests. I'll add the benchmark setup and results to the README.&lt;/p&gt;

&lt;p&gt;You can use it on a single machine or run the fleet service yourself. Managed hosting is available too. AI analysis is optional; the default stop decision happens locally.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/gary23w/sentinels" rel="noopener noreferrer"&gt;repository&lt;/a&gt; has the source and installers. The &lt;a href="https://gary23w.github.io/sentinels/manual.html" rel="noopener noreferrer"&gt;manual&lt;/a&gt; covers setup and the response modes.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/gary23w/sentinels" rel="noopener noreferrer"&gt;https://github.com/gary23w/sentinels&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>opensource</category>
      <category>rust</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
