<?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: Subhojit Paul</title>
    <description>The latest articles on DEV Community by Subhojit Paul (@subhojit_paul_25b82df5bad).</description>
    <link>https://dev.to/subhojit_paul_25b82df5bad</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%2F4191399%2F11a2b456-037b-427d-8e6d-36b533557e64.png</url>
      <title>DEV Community: Subhojit Paul</title>
      <link>https://dev.to/subhojit_paul_25b82df5bad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/subhojit_paul_25b82df5bad"/>
    <language>en</language>
    <item>
      <title>How I Built NexTrace: An AI Security Guard That Actually Fixes Cloud Breaches Using FalkorDB</title>
      <dc:creator>Subhojit Paul</dc:creator>
      <pubDate>Sun, 18 Oct 2026 03:48:51 +0000</pubDate>
      <link>https://dev.to/subhojit_paul_25b82df5bad/how-i-built-nextrace-an-ai-security-guard-that-actually-fixes-cloud-breaches-using-falkordb-2p29</link>
      <guid>https://dev.to/subhojit_paul_25b82df5bad/how-i-built-nextrace-an-ai-security-guard-that-actually-fixes-cloud-breaches-using-falkordb-2p29</guid>
      <description>&lt;p&gt;Have you ever wondered what happens when a hacker finds a tiny security flaw in a website or cloud service? Can they secretly jump from service to service and steal all your private customer data?&lt;/p&gt;

&lt;p&gt;In this post, I want to share the story of NexTrace—a project I built for the FalkorDB Hackathon. I will explain the problem in simple words, how graph databases make the difference, and what I learned along the way.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Big Problem: Cloud Systems Are Like Giant Mazes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine your cloud system is a big city:&lt;/p&gt;

&lt;p&gt;Public Gateways: The front gates where everyday visitors come in (like a website login page).&lt;br&gt;
Microservices: Different small offices doing specific jobs (payments, shopping cart, user profiles).&lt;br&gt;
Crown Jewels: The giant bank vault where your most confidential secrets live (credit cards, passwords, databases).&lt;/p&gt;

&lt;p&gt;When all these services talk to each other, they create hundreds of invisible roads and permissions.&lt;/p&gt;

&lt;p&gt;Here is the scary part: A hacker does not need to break into the bank vault directly.&lt;/p&gt;

&lt;p&gt;If they find just one small bug in an unimportant service (like an image downloader or payment helper), they can use internal permissions to make secret jumps:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frwiwzbes3kid5z9sihrg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frwiwzbes3kid5z9sihrg.png" alt=" " width="707" height="50"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Traditional security tools only send a boring email saying: "Hey, there is a bug on service X." They don't show you the road to your secrets, and they don't fix it. By the time a human reads the alert hours later, the damage is already done.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Most AI Chatbots Can't Help&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Most AI chatbots today are just "readers":&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You ask them: "Can you fix this security bug?"&lt;/li&gt;
&lt;li&gt;They say: "I am an AI, I cannot touch your database or run commands. Here is a 10-page text guide on how you can fix it manually."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is not enough during a real emergency. We didn't need another chatbot that just talks. We needed an Autonomous Agent that takes real action.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enter FalkorDB: Connecting the Dots&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To stop an attacker from jumping through a maze, you must see the maze as a graph.&lt;/p&gt;

&lt;p&gt;This is why I chose FalkorDB:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In FalkorDB, every service, computer, and database is a Node (a dot).&lt;/li&gt;
&lt;li&gt;Every network call and permission is an Edge (a line connecting two dots).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because FalkorDB is built on high-speed graph mathematics, it can search through millions of connections in less than one millisecond.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How NexTrace Works in 5 Simple Steps&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you upload any cloud setup into NexTrace (like Google Cloud or AWS) or simulate an attack, NexTrace acts like an automated digital firefighter:&lt;/p&gt;

&lt;p&gt;Step 1: Find the Blast Radius&lt;/p&gt;

&lt;p&gt;First, NexTrace asks FalkorDB: "If an attacker breaks this service, what else can they touch within 1 to 4 jumps?"&lt;br&gt;
FalkorDB instantly returns every connected service, role, and database in danger.&lt;/p&gt;

&lt;p&gt;Step 2: Trace the Shortest Attack Road&lt;/p&gt;

&lt;p&gt;Next, NexTrace uses FalkorDB’s built-in shortestPath() tool.&lt;br&gt;
It draws the exact road an attacker would take from the public internet all the way to your crown jewel database:&lt;/p&gt;

&lt;p&gt;Internet Ingress -&amp;gt; CheckoutService -&amp;gt; PaymentService -&amp;gt; SpannerAdmin -&amp;gt; CreditCardVault&lt;/p&gt;

&lt;p&gt;Step 3: Put the Service in Quarantine (Real Action!)&lt;/p&gt;

&lt;p&gt;NexTrace doesn't just watch—it acts! It sends a live Cypher write command to FalkorDB:&lt;/p&gt;

&lt;p&gt;MATCH (s {name: 'PaymentService'})&lt;br&gt;
SET s.status = 'QUARANTINED'&lt;/p&gt;

&lt;p&gt;This isolates the service so it cannot take in any untrusted commands.&lt;/p&gt;

&lt;p&gt;Step 4: Cut the Dangerous Lines (Edge Severance)&lt;/p&gt;

&lt;p&gt;Next, it severs the dangerous network lines and role-assumption permissions in the graph:&lt;/p&gt;

&lt;p&gt;MATCH (s {name: 'PaymentService'})-[r:CALLS|CAN_ASSUME]-&amp;gt;(target)&lt;br&gt;
DELETE r&lt;/p&gt;

&lt;p&gt;Now the bridge to the bank vault is completely destroyed!&lt;/p&gt;

&lt;p&gt;Step 5: Prove It Is 100% Safe (Mathematical Proof)&lt;/p&gt;

&lt;p&gt;Finally, NexTrace runs FalkorDB's path algorithm one more time.&lt;br&gt;
It checks if any open roads still exist between the public internet and your private databases.&lt;br&gt;
When the answer is 0, it gives the security team mathematical proof that the breach is completely contained.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What It Looks Like in Real Life&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here is a quick example of talking with NexTrace in the dashboard:&lt;/p&gt;

&lt;h2&gt;
  
  
  User asks:
&lt;/h2&gt;

&lt;p&gt;"Check Payment service and fix it if any issues are found."&lt;/p&gt;

&lt;h2&gt;
  
  
  NexTrace Agent:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Finds the target service (paymentservice).&lt;/li&gt;
&lt;li&gt;Discovers that a zero-day exploit can jump to CreditCardVault.&lt;/li&gt;
&lt;li&gt;Quarantines paymentservice.&lt;/li&gt;
&lt;li&gt;Severs the outgoing connection.&lt;/li&gt;
&lt;li&gt;Shows interactive Cyber Kill Chain cards and full execution logs!&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  User asks:
&lt;/h2&gt;

&lt;p&gt;"Okay, now recheck and tell me what you fixed."&lt;/p&gt;

&lt;h2&gt;
  
  
  NexTrace Agent:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Inspects the live FalkorDB graph.&lt;/li&gt;
&lt;li&gt;Confirms: Status is QUARANTINED.&lt;/li&gt;
&lt;li&gt;Confirms: 2 dangerous edges were removed.&lt;/li&gt;
&lt;li&gt;Confirms: 0 surviving attack paths remain.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What I Learned Building This&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Graphs are a natural fit for security: Cloud security is not a flat list of items; it is a web of relationships. Trying to find attack paths with normal SQL tables is slow and painful. With FalkorDB's Cypher queries, it only takes one line of code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Agents need to write, not just read: An AI agent becomes truly valuable when it has the tools to make changes, lock down threats, and verify its own work.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Model Context Protocol (MCP) makes AI smarter: By giving the LLM standard MCP tools connected directly to FalkorDB, the AI never has to guess. It uses real database facts.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Building NexTrace taught me how powerful graph-driven AI can be. Instead of waiting for humans to spot an attack in a confusing spreadsheet, an autonomous graph agent can spot the path, isolate the workload, and protect your most important data in seconds.&lt;/p&gt;

&lt;p&gt;A huge thank you to the FalkorDB team for creating such a fast, developer-friendly graph database!&lt;/p&gt;

&lt;p&gt;Check out the project on GitHub and try the live demo!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
