<?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: TheAuditorTool</title>
    <description>The latest articles on DEV Community by TheAuditorTool (@theauditortool).</description>
    <link>https://dev.to/theauditortool</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3485007%2F2cb5cb78-46d6-45f5-94ff-5f273ddadabf.png</url>
      <title>DEV Community: TheAuditorTool</title>
      <link>https://dev.to/theauditortool</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/theauditortool"/>
    <language>en</language>
    <item>
      <title>TheAuditor: How I Built a SAST Tool for AI-Generated Code (Currently on HN Front Page) tags: security, ai, opensource, python</title>
      <dc:creator>TheAuditorTool</dc:creator>
      <pubDate>Mon, 08 Sep 2025 08:57:24 +0000</pubDate>
      <link>https://dev.to/theauditortool/theauditor-how-i-built-a-sast-tool-for-ai-generated-code-currently-on-hn-front-page-tags-335o</link>
      <guid>https://dev.to/theauditortool/theauditor-how-i-built-a-sast-tool-for-ai-generated-code-currently-on-hn-front-page-tags-335o</guid>
      <description>&lt;p&gt;Just hit the HackerNews front page with my security auditing tool, and I wanted to share it with the dev.to&lt;br&gt;
  community since you folks appreciate technical deep-dives.&lt;/p&gt;

&lt;p&gt;## The Problem I Solved&lt;/p&gt;

&lt;p&gt;After 3 months of using AI assistants to code (I'm not a developer by trade), I noticed a pattern: AI writes&lt;br&gt;
  code that "works" but is riddled with security vulnerabilities and inconsistencies. Why? Because AI loses&lt;br&gt;
  context. It can't see your entire codebase at once, so it makes different security decisions in different&lt;br&gt;
  files.&lt;/p&gt;

&lt;p&gt;## Real-World Impact&lt;/p&gt;

&lt;p&gt;My first external user just ran TheAuditor on their production betting site. The results?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;204 SQL injection vulnerabilities&lt;/strong&gt; (all from AI using f-strings)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;185 total critical security issues&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;All from following AI suggestions without proper auditing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;## How It Works&lt;/p&gt;

&lt;p&gt;Instead of trying to make AI "smarter," TheAuditor accepts that AI will write flawed code and provides ground&lt;br&gt;
  truth about those flaws:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Indexes your entire codebase&lt;/strong&gt; into a SQLite database&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runs 14-phase analysis pipeline&lt;/strong&gt; including taint analysis, pattern detection, and correlation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outputs AI-readable chunks&lt;/strong&gt; (56KB max) that fit in LLM context windows&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reports facts, not opinions&lt;/strong&gt; - "Line 47 has hardcoded JWT secret" not "this might be bad"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;## The Architecture&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dual-environment design&lt;/strong&gt;: TheAuditor itself + sandboxed analysis environment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Language support&lt;/strong&gt;: Python and JavaScript/TypeScript (more coming)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;100+ security patterns&lt;/strong&gt; from OWASP Top 10&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Taint flow analysis&lt;/strong&gt;: Tracks data from sources (user input) to sinks (database/response)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Framework detection&lt;/strong&gt;: Applies Django/Flask/React/Vue specific rules&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;## Key Innovation&lt;/p&gt;

&lt;p&gt;The tool outputs findings in &lt;code&gt;.pf/readthis/&lt;/code&gt; as JSON chunks specifically formatted for LLM consumption. This&lt;br&gt;
  means AI assistants can read the full security audit and fix their own mistakes - creating a self-correcting&lt;br&gt;
  loop.&lt;/p&gt;

&lt;p&gt;## Try It&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
  pip install -e git+https://github.com/TheAuditorTool/Auditor.git#egg=theauditor
  cd your-project
  aud init
  aud full

  Check .pf/readthis/ for the AI-readable security report.

  HackerNews Discussion

  Currently on the front page if you want to join the discussion:
  https://news.ycombinator.com/item?id=42335428

  Would love to hear about the security issues you're seeing in AI-generated code. What patterns should I add to
   the detection engine?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Built a Python SAST tool using only AI - I can't even read the code (250hrs in 30 days)</title>
      <dc:creator>TheAuditorTool</dc:creator>
      <pubDate>Sun, 07 Sep 2025 14:54:10 +0000</pubDate>
      <link>https://dev.to/theauditortool/built-a-python-sast-tool-using-only-ai-i-cant-even-read-the-code-250hrs-in-30-days-ek6</link>
      <guid>https://dev.to/theauditortool/built-a-python-sast-tool-using-only-ai-i-cant-even-read-the-code-250hrs-in-30-days-ek6</guid>
      <description>&lt;p&gt;I haven't written a single line of code myself. Can't even read Python. Not exaggerating - I'm a 25-year infrastructure architect (Cisco/VMware/Microsoft certs) who's never learned to code.&lt;/p&gt;

&lt;p&gt;Used Claude to build TheAuditor because I couldn't verify if the code it was writing was secure. 250+ hours of prompting in 30 days. The irony: I built a tool to detect AI's security failures... using AI. It's a legitimate SAST tool with taint analysis, dependency graphs, 100+ security patterns. Works offline, outputs AI-consumable chunks so the AI can fix its own bugs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/TheAuditorTool/Auditor/" rel="noopener noreferrer"&gt;https://github.com/TheAuditorTool/Auditor/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Yes, I know it's probably over-engineered. No, I can't fix it myself because I literally can't read code. Take it or leave it.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
