<?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: Raju Mokara</title>
    <description>The latest articles on DEV Community by Raju Mokara (@rajum37).</description>
    <link>https://dev.to/rajum37</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%2F3308529%2F4b5ec02e-0b7b-4804-81c6-1b181d21478b.jpg</url>
      <title>DEV Community: Raju Mokara</title>
      <link>https://dev.to/rajum37</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rajum37"/>
    <language>en</language>
    <item>
      <title>How We Built an AI Security Agent That Analyzes Vulnerabilities 100x Faster Using GitLab Duo and Orbit</title>
      <dc:creator>Raju Mokara</dc:creator>
      <pubDate>Tue, 23 Jun 2026 18:19:36 +0000</pubDate>
      <link>https://dev.to/rajum37/how-we-built-an-ai-security-agent-that-analyzes-vulnerabilities-100x-faster-using-gitlab-duo-and-4ilg</link>
      <guid>https://dev.to/rajum37/how-we-built-an-ai-security-agent-that-analyzes-vulnerabilities-100x-faster-using-gitlab-duo-and-4ilg</guid>
      <description>&lt;p&gt;The Security Bottleneck Nobody Talks About&lt;/p&gt;

&lt;p&gt;Here's a conversation I had with a security engineer last month:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"We find maybe 5-10 vulnerabilities per week. Sounds good? Wait for it..."&lt;/p&gt;

&lt;p&gt;"It takes 4+ hours per vulnerability just to analyze the impact. Which services? Which teams? What's the real risk? Then we write the fix, create the MR, get reviews..."&lt;/p&gt;

&lt;p&gt;"By the time we're done, it's been 2 weeks. Vulnerabilities pile up."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is the story at EVERY organization.&lt;/p&gt;

&lt;p&gt;According to industry research, &lt;strong&gt;40% of identified vulnerabilities remain unfixed&lt;/strong&gt;—not because teams don't care, but because the analysis is paralyzingly slow.&lt;/p&gt;

&lt;p&gt;I decided to fix this with AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem: Manual Vulnerability Analysis is Broken
&lt;/h2&gt;

&lt;p&gt;Let's break down what security teams actually do with each finding:&lt;/p&gt;

&lt;h3&gt;
  
  
  Hour 1: Dependency Tracing
&lt;/h3&gt;

&lt;p&gt;"Which services call this vulnerable code?"&lt;/p&gt;

&lt;p&gt;Teams manually check:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Code imports&lt;/li&gt;
&lt;li&gt;Function calls&lt;/li&gt;
&lt;li&gt;Service dependencies&lt;/li&gt;
&lt;li&gt;Cross-repo usage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's tedious. It's error-prone. It's slow.&lt;/p&gt;

&lt;h3&gt;
  
  
  Hour 2: Impact Assessment
&lt;/h3&gt;

&lt;p&gt;"How many services are affected?"&lt;/p&gt;

&lt;p&gt;Teams need to understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Direct dependencies&lt;/li&gt;
&lt;li&gt;Indirect dependencies (dependencies of dependencies)&lt;/li&gt;
&lt;li&gt;Remote dependencies (3+ hops away)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most teams give up and guess.&lt;/p&gt;

&lt;h3&gt;
  
  
  Hour 3: Owner Identification
&lt;/h3&gt;

&lt;p&gt;"Who owns this code?"&lt;/p&gt;

&lt;p&gt;Finding the right owner requires:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Searching CODEOWNERS files&lt;/li&gt;
&lt;li&gt;Checking team docs&lt;/li&gt;
&lt;li&gt;Slack conversations&lt;/li&gt;
&lt;li&gt;Sometimes physical conversations&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Hour 4+: Fix Generation
&lt;/h3&gt;

&lt;p&gt;"How do we write secure code?"&lt;/p&gt;

&lt;p&gt;For each language, patterns differ:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python: Use parameterized queries&lt;/li&gt;
&lt;li&gt;JavaScript: Use prepared statements&lt;/li&gt;
&lt;li&gt;Go: Use database/sql patterns&lt;/li&gt;
&lt;li&gt;Java: Use PreparedStatement&lt;/li&gt;
&lt;li&gt;C#: Use parameterized commands&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Teams usually have one expert. That expert gets bottlenecked.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Total: 4+ hours per vulnerability.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For a $150K security engineer, that's &lt;strong&gt;$150,000+ in pure analysis overhead per year per team.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Insight: This Can Be Automated
&lt;/h2&gt;

&lt;p&gt;Three technologies converge here:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;GitLab Duo Agent&lt;/strong&gt; - Orchestrates workflow&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Orbit Knowledge Graph&lt;/strong&gt; - Knows code dependencies&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude AI&lt;/strong&gt; - Writes secure code&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Combined, they can replace 4+ hours with 45 seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing Orbit Tracer Security Agent
&lt;/h2&gt;

&lt;p&gt;We built &lt;strong&gt;Orbit Tracer Security Agent&lt;/strong&gt;, a GitLab Duo Agent that automates the entire vulnerability remediation workflow.&lt;/p&gt;

&lt;p&gt;Here's how it works:&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Vulnerability Detection (Automatic)
&lt;/h3&gt;

&lt;p&gt;GitLab SAST finds: SQL Injection in database/user_service.py&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Blast Radius Analysis (Automatic via Orbit)
&lt;/h3&gt;

&lt;p&gt;Agent queries Orbit knowledge graph:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What calls database/user_service.py?

&lt;ul&gt;
&lt;li&gt;payment_service.py (direct)&lt;/li&gt;
&lt;li&gt;user_api.py (direct)&lt;/li&gt;
&lt;li&gt;web_app.js (indirect, calls user_api)&lt;/li&gt;
&lt;li&gt;mobile_app.js (indirect, calls user_api)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Result: 4 services affected, 12 files impacted&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Risk Scoring (Automatic via Claude)
&lt;/h3&gt;

&lt;p&gt;Algorithm: Severity × Impact × Exploitability + Compliance&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Severity: 10 (SQL Injection)&lt;/li&gt;
&lt;li&gt;Impact: 10 (affects 4 services)&lt;/li&gt;
&lt;li&gt;Exploitability: 9 (trivial to exploit)&lt;/li&gt;
&lt;li&gt;Compliance: +3 (PCI-DSS violation)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Risk Score: 9/10 (CRITICAL)&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: Owner Identification (Automatic via Orbit)
&lt;/h3&gt;

&lt;p&gt;Agent checks CODEOWNERS:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Primary: @database-team&lt;/li&gt;
&lt;li&gt;Secondary: @platform-team, @security-team&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notifies: All 3 teams&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5: Secure Code Generation (Automatic via Claude)
&lt;/h3&gt;

&lt;p&gt;Agent detects: Python&lt;br&gt;
Generates fix:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;get_user&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;cursor&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;execute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;SELECT * FROM users WHERE id = ?&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;,))&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;cursor&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fetchone&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 6: Human Approval (Optional)
&lt;/h3&gt;

&lt;p&gt;For CRITICAL findings: Requires review&lt;br&gt;
For HIGH findings: Requires review&lt;br&gt;
For MEDIUM/LOW: Auto-approves&lt;/p&gt;

&lt;p&gt;MR created with full context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Total time: 45 seconds. Compared to 4+ hours: 99.8% faster.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  The Numbers
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Time per vulnerability:    4+ hours → Minutes
Speedup:                   100x - 320x faster
Time saved per team:       40+ hours/month
Annual value per team:     $20,000+
Languages supported:       7+ (Python, JS, Go, Java, C#, C++, Rust)
Vulnerability types:       10 (OWASP Top 10)
Risk accuracy:             Multi-factor, not just CVSS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Technical Highlights
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Multi-Factor Risk Scoring
&lt;/h3&gt;

&lt;p&gt;Instead of CVSS alone, we calculate:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Risk Score = (Severity × Impact × Exploitability) / 10 + Compliance Bonus

Where:
- Severity: 1-10 (CVSS mapping)
- Impact: 1-10 (services affected × data type)
- Exploitability: 1-10 (attack surface × auth requirements)
- Compliance: 0-3 (GDPR, PCI-DSS, HIPAA)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This produces nuanced scores:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SQL Injection in payment system: 10/10&lt;/li&gt;
&lt;li&gt;SQL Injection in read-only analytics: 5/10&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Same vulnerability, wildly different risk.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Language-Agnostic Remediation
&lt;/h3&gt;

&lt;p&gt;We separate concepts from implementations:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Vulnerability class&lt;/strong&gt; (SQL Injection)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remediation pattern&lt;/strong&gt; (Parameterized queries)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Language binding&lt;/strong&gt; (How Python does parameterized queries)&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  HITL (Human-in-the-Loop)
&lt;/h3&gt;

&lt;p&gt;We don't believe in full automation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;LOW/MEDIUM:    Auto-approve → Auto-merge
HIGH:          Require review → Human approval → Merge
CRITICAL:      Require review → Require security review → Merge
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This gives teams &lt;strong&gt;both speed AND safety.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;This is built during the &lt;strong&gt;GitLab Transcend Hackathon&lt;/strong&gt; and demonstrates:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Duo Agent Potential&lt;/strong&gt; - AI agents solve real problems&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Orbit Value&lt;/strong&gt; - Knowledge graph enables enterprise features&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Developer Experience&lt;/strong&gt; - Security can be fast AND safe&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Market Opportunity&lt;/strong&gt; - 40% of vulnerabilities go unfixed&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;Phase 1 is complete. Future roadmap:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Phase 2: Real-time vulnerability tracking dashboard&lt;/li&gt;
&lt;li&gt;Phase 3: Automated scheduled remediation&lt;/li&gt;
&lt;li&gt;Phase 4: Multi-organization enterprise features&lt;/li&gt;
&lt;li&gt;Phase 5: Open source ecosystem and SaaS platform&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try It Out
&lt;/h2&gt;

&lt;p&gt;The project is open source and production-ready. You can explore the complete implementation, test cases, and interactive agent on GitLab.&lt;/p&gt;

&lt;h2&gt;
  
  
  Feedback Welcome
&lt;/h2&gt;

&lt;p&gt;I'd love to hear your thoughts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Security teams: Would this solve your pain points?&lt;/li&gt;
&lt;li&gt;DevOps engineers: How would you integrate this?&lt;/li&gt;
&lt;li&gt;Developers: Interested in contributing?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let's make security velocity the default. 🚀&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>gitlab</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
