<?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: Avenassh A.S</title>
    <description>The latest articles on DEV Community by Avenassh A.S (@avenassh).</description>
    <link>https://dev.to/avenassh</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%2F3998916%2F265b49bb-c763-428c-93c6-afd91ef139e9.jpg</url>
      <title>DEV Community: Avenassh A.S</title>
      <link>https://dev.to/avenassh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/avenassh"/>
    <language>en</language>
    <item>
      <title>I built a local-first security gate to stop "Vibe Coding" from breaking production</title>
      <dc:creator>Avenassh A.S</dc:creator>
      <pubDate>Tue, 23 Jun 2026 14:28:32 +0000</pubDate>
      <link>https://dev.to/avenassh/i-built-a-local-first-security-gate-to-stop-vibe-coding-from-breaking-production-2cmj</link>
      <guid>https://dev.to/avenassh/i-built-a-local-first-security-gate-to-stop-vibe-coding-from-breaking-production-2cmj</guid>
      <description>&lt;p&gt;We all love the speed of "vibe coding." Generating an entire feature in 20 minutes with an AI agent feels like magic. But there is a silent, dangerous bottleneck: architectural drift.&lt;/p&gt;

&lt;p&gt;AI agents are excellent at generating code that looks right, but they frequently hallucinate structural flaws—silently skipping a critical Supabase Row-Level Security (RLS) policy, breaking tenant isolation, or hardcoding secrets.&lt;/p&gt;

&lt;p&gt;The Problem&lt;br&gt;
When you let AI write your code, the hard part of software engineering (the 99.5% that isn't the prototype) often gets skipped. I got tired of manually auditing my own AI-generated PRs, so I decided to build a "senior engineer in the loop."&lt;/p&gt;

&lt;p&gt;Introducing PreFlight&lt;br&gt;
I built PreFlight, a local-first security gate that runs in your development environment. Instead of relying on a prompt-based "check," it uses Tree-sitter AST parsing to scan your code structures on every file save.&lt;/p&gt;

&lt;p&gt;Local-First: It doesn't send your code to a third-party server, respecting your privacy and project security.&lt;/p&gt;

&lt;p&gt;Structural Awareness: It understands the Abstract Syntax Tree (AST) of your project, meaning it can detect if a database query is missing a required security policy before you ever commit.&lt;/p&gt;

&lt;p&gt;The "Hard Block": When it catches a flaw, it throws a hard error in your CLI, effectively acting as an automated gatekeeper.&lt;/p&gt;

&lt;p&gt;Why I'm doing this&lt;br&gt;
I’m a physician and a developer. In medicine, we are trained to use rigorous triage and safety protocols to prevent errors before they become critical. I wanted to bring that same clinical precision to the AI-coding workflow.&lt;/p&gt;

&lt;p&gt;PreFlight is currently in its Beta v1. If you're interested in the intersection of AI, static analysis, and security, I’d love for you to try it out and give me your brutal feedback.&lt;/p&gt;

&lt;p&gt;Check out the repo and installation guide here: &lt;a href="https://github.com/av29nassh-sketch/PreFlight" rel="noopener noreferrer"&gt;https://github.com/av29nassh-sketch/PreFlight&lt;/a&gt;&lt;br&gt;
&lt;a href="https://preflight-vibe.vercel.app/" rel="noopener noreferrer"&gt;https://preflight-vibe.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Support the Product Hunt Launch here: &lt;a href="https://www.producthunt.com/products/preflight-5?launch=preflight-f5be345c-7d68-4f12-94bb-f6a35989fe27" rel="noopener noreferrer"&gt;https://www.producthunt.com/products/preflight-5?launch=preflight-f5be345c-7d68-4f12-94bb-f6a35989fe27&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm looking for engineers who want to push this engine to its limits. Let me know what you think!&lt;/p&gt;

&lt;h1&gt;
  
  
  ai #security #webdev #opensource #buildinpublic
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>claude</category>
      <category>vibecoding</category>
    </item>
  </channel>
</rss>
