<?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: Anindita Priyadarshini</title>
    <description>The latest articles on DEV Community by Anindita Priyadarshini (@anipri).</description>
    <link>https://dev.to/anipri</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%2F3050897%2F441ffc88-7388-4b31-9060-1d33741c1f8c.jpg</url>
      <title>DEV Community: Anindita Priyadarshini</title>
      <link>https://dev.to/anipri</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anipri"/>
    <language>en</language>
    <item>
      <title>GuardDuo — The AI Guardian That Keeps Vibe-Coding in Check</title>
      <dc:creator>Anindita Priyadarshini</dc:creator>
      <pubDate>Wed, 24 Jun 2026 18:29:04 +0000</pubDate>
      <link>https://dev.to/anipri/guardduo-the-ai-guardian-that-keeps-vibe-coding-in-check-2jlf</link>
      <guid>https://dev.to/anipri/guardduo-the-ai-guardian-that-keeps-vibe-coding-in-check-2jlf</guid>
      <description>&lt;p&gt;AI coding tools are incredible. But I noticed something — they ship code fast, skip the rules, and nobody catches it until it's already in production. That's exactly what GuardDuo is built to fix.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;The Problem&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;We're in the age of vibe-coding. You describe what you want, the AI builds it, it works — and you ship it. But "works" and "correct" are two very different things.&lt;/p&gt;

&lt;p&gt;Imagine asking an AI to build a login form. It works perfectly. But under the hood it has hardcoded API keys, no input validation, missing&amp;nbsp;&lt;code&gt;aria-labels&lt;/code&gt;, and it's using&amp;nbsp;&lt;code&gt;fetch&lt;/code&gt;&amp;nbsp;directly instead of your project's&amp;nbsp;&lt;code&gt;apiClient&lt;/code&gt;&amp;nbsp;wrapper. Your Issue said none of that was allowed. Nobody caught it.&lt;/p&gt;

&lt;p&gt;That's the vibe-coding trap — and it's happening on every team using AI-assisted development right now.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;What is GuardDuo&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;GuardDuo is a GitLab Duo Agent skill that acts as your AI guardian. Instead of just reviewing code in isolation, it cross-references your code changes against the actual intent of the linked GitLab Issue — using the&amp;nbsp;&lt;strong&gt;Orbit Knowledge Graph&lt;/strong&gt;, which is essentially the brain that knows your project's rules, requirements, and success criteria.&lt;/p&gt;

&lt;p&gt;In plain terms: GuardDuo reads what the Issue&amp;nbsp;&lt;em&gt;asked for&lt;/em&gt;, reads what the code&amp;nbsp;&lt;em&gt;actually does&lt;/em&gt;, and tells you exactly where they don't match.&lt;/p&gt;

&lt;p&gt;It audits across three dimensions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🔐&amp;nbsp;&lt;strong&gt;Security&lt;/strong&gt;&amp;nbsp;— hardcoded secrets, SQL injection, missing input validation&lt;/li&gt;
&lt;li&gt;♿&amp;nbsp;&lt;strong&gt;Accessibility&lt;/strong&gt;&amp;nbsp;— missing&amp;nbsp;&lt;code&gt;alt&lt;/code&gt;&amp;nbsp;text,&amp;nbsp;&lt;code&gt;aria-labels&lt;/code&gt;, poor color contrast&lt;/li&gt;
&lt;li&gt;📐&amp;nbsp;&lt;strong&gt;Standards&lt;/strong&gt;&amp;nbsp;— deviations from your project's established patterns and conventions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And when it finds a problem, it doesn't just flag it — it fixes it.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;How It Works&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Just open GitLab Duo Chat or GitLab Agent Platform(on your choice of IDE) -&amp;gt; choose the agent as GuardDuo and type:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Audit issue #[issue no.]&lt;/code&gt;&amp;nbsp;— GuardDuo pulls the Issue context from Orbit, analyzes the code, and returns a structured report&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Fix issue #[issue no.]&lt;/code&gt;&amp;nbsp;— GuardDuo generates a corrected implementation that satisfies all requirements&lt;/li&gt;
&lt;li&gt;Or paste any code snippet directly and ask it to audit or fix&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The response looks like this:&lt;/p&gt;

&lt;p&gt;📊 Summary Scorecard&lt;br&gt;
&lt;strong&gt;Requirement-&amp;gt;                           Status -&amp;gt; Severity&lt;/strong&gt;&lt;br&gt;
Parameterized queries (no SQL injection)-&amp;gt;❌ FAIL -&amp;gt; 🔴 Critical&lt;br&gt;
Secrets from environment variables -&amp;gt;   ❌ FAIL    -&amp;gt; 🔴 Critical&lt;br&gt;
Terms of Service checkbox check  -&amp;gt;      ❌ FAIL -&amp;gt; 🟠 High&lt;br&gt;
Password actually validated -&amp;gt;    ⚠️ Missing -&amp;gt; 🟠 High&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;How I Built It&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;GuardDuo is built as a&amp;nbsp;&lt;code&gt;SKILL.md&lt;/code&gt;&amp;nbsp;file on the GitLab Duo Agent Platform — a new standard for giving AI agents specialized knowledge and workflows.&lt;/p&gt;

&lt;p&gt;The skill definition lives in&amp;nbsp;&lt;code&gt;skills/audit/SKILL.md&lt;/code&gt;&amp;nbsp;and defines a four-phase process — context retrieval via Orbit, code analysis, report generation, and remediation. The hardest part was structuring the Orbit query phase to reliably extract success criteria from linked Issues and Epics. The most exciting part was seeing it catch a real violation I had intentionally planted in a test snippet.&lt;/p&gt;

&lt;p&gt;Building on the Agent Skills specification also means GuardDuo works with any AI tool that supports the standard — not just GitLab Duo.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Try It Yourself&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;GuardDuo is live on the GitLab AI Catalog. To use it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to&amp;nbsp;&lt;strong&gt;Explore &amp;gt; AI Catalog&lt;/strong&gt;&amp;nbsp;and search for&amp;nbsp;&lt;strong&gt;GuardDuo&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Enable it in your project&lt;/li&gt;
&lt;li&gt;Open GitLab Duo Chat and type&amp;nbsp;&lt;code&gt;Audit issue #[your issue number]&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Feedback and trial usage are very welcome — this is an early release and your input will directly shape what gets built next.&lt;/p&gt;

&lt;p&gt;👉&amp;nbsp;&lt;strong&gt;Fill out the Feedback Form[ Form will be updated soon]&lt;/strong&gt;&amp;nbsp;— takes 2 minutes and helps a lot.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;CI/CD pipeline integration to run audits automatically on every MR&lt;/li&gt;
&lt;li&gt;Automatically create remediation branches and open Merge Requests linked to Issues&lt;/li&gt;
&lt;li&gt;Full open source release in the future, with community contributions welcome&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;GuardDuo was built as part of the&amp;nbsp;&lt;code&gt;GitLab Transcend Hackathon&lt;/code&gt;. The project is on GitLab at &lt;br&gt;
&lt;a href="https://gitlab.com/explore/ai-catalog/agents/1012042/" rel="noopener noreferrer"&gt;https://gitlab.com/explore/ai-catalog/agents/1012042/&lt;/a&gt;&lt;br&gt;
 All rights reserved — open sourcing planned for a future release.&lt;/em&gt;&lt;/p&gt;




</description>
      <category>gitlab</category>
      <category>hackathon</category>
      <category>ai</category>
      <category>developer</category>
    </item>
  </channel>
</rss>
