<?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: Shreem Bhargava</title>
    <description>The latest articles on DEV Community by Shreem Bhargava (@shreem_bhargava).</description>
    <link>https://dev.to/shreem_bhargava</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%2F4190958%2F67f1c814-bf9b-4877-829b-5a741082c41e.png</url>
      <title>DEV Community: Shreem Bhargava</title>
      <link>https://dev.to/shreem_bhargava</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shreem_bhargava"/>
    <language>en</language>
    <item>
      <title>Building GraphSentinel: Cybersecurity Investigation with FalkorDB</title>
      <dc:creator>Shreem Bhargava</dc:creator>
      <pubDate>Sat, 17 Oct 2026 18:06:25 +0000</pubDate>
      <link>https://dev.to/shreem_bhargava/building-graphsentinel-cybersecurity-investigation-with-falkordb-4pnc</link>
      <guid>https://dev.to/shreem_bhargava/building-graphsentinel-cybersecurity-investigation-with-falkordb-4pnc</guid>
      <description>&lt;p&gt;Building GraphSentinel: Cybersecurity Investigation with FalkorDB&lt;/p&gt;

&lt;p&gt;Introduction&lt;/p&gt;

&lt;p&gt;I built GraphSentinel, a graph-based cybersecurity investigation prototype using FalkorDB, Python, and Streamlit. The goal was to explore how graph databases can help investigate relationships between users, devices, and IP addresses.&lt;/p&gt;

&lt;p&gt;The Problem&lt;/p&gt;

&lt;p&gt;Security records can be difficult to investigate when information is scattered across multiple entries. Connecting a user to a device and an IP address can help investigators understand relationships between records.&lt;/p&gt;

&lt;p&gt;Why FalkorDB?&lt;/p&gt;

&lt;p&gt;FalkorDB allowed me to represent entities as nodes and their connections as relationships.&lt;/p&gt;

&lt;p&gt;My graph model is:&lt;/p&gt;

&lt;p&gt;"(User)-[:USED]-&amp;gt;(Device)-[:CONNECTED_FROM]-&amp;gt;(IP)"&lt;/p&gt;

&lt;p&gt;Using Cypher, I can query connected entities instead of treating each record as an isolated row.&lt;/p&gt;

&lt;p&gt;How GraphSentinel Works&lt;/p&gt;

&lt;p&gt;The project imports security records from a CSV file into FalkorDB. A Streamlit dashboard displays the imported records, assigned risk levels, and user-device-IP relationships.&lt;/p&gt;

&lt;p&gt;Key features include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CSV data ingestion&lt;/li&gt;
&lt;li&gt;Graph-based relationship queries&lt;/li&gt;
&lt;li&gt;Interactive user investigation&lt;/li&gt;
&lt;li&gt;User-device-IP visualization&lt;/li&gt;
&lt;li&gt;Suggested review actions based on assigned risk levels&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example Cypher Query&lt;/p&gt;

&lt;p&gt;MATCH (u:User)-[:USED]-&amp;gt;(d:Device)&lt;br&gt;
      -[:CONNECTED_FROM]-&amp;gt;(i:IP)&lt;br&gt;
RETURN u.name, u.risk, d.name, i.address&lt;/p&gt;

&lt;p&gt;This query retrieves connected users, devices, and IP addresses for the dashboard.&lt;/p&gt;

&lt;p&gt;Challenges and Learnings&lt;/p&gt;

&lt;p&gt;Building GraphSentinel helped me understand graph modeling, Cypher queries, CSV ingestion, and connecting a graph database to a Python application.&lt;/p&gt;

&lt;p&gt;I also learned that a locally running database cannot automatically be accessed by a cloud-hosted application through "localhost". A public deployment requires an accessible database and appropriate connection configuration.&lt;/p&gt;

&lt;p&gt;Limitations&lt;/p&gt;

&lt;p&gt;GraphSentinel is a prototype. Its risk labels are demonstration data, not verified threat intelligence. It does not independently prove that a user or IP address is malicious.&lt;/p&gt;

&lt;p&gt;Future work could include authorized log integrations, evidence-based risk scoring, threat-intelligence sources, and detection of unusual graph patterns.&lt;/p&gt;

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

&lt;p&gt;This project gave me practical experience with FalkorDB and showed me how connected data can support cybersecurity investigations.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/shreem-bhargava36/GraphSentinel" rel="noopener noreferrer"&gt;https://github.com/shreem-bhargava36/GraphSentinel&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Technology: FalkorDB, Python, Cypher, Streamlit, Pandas, NetworkX, and Matplotlib.&lt;/p&gt;

</description>
      <category>falkordb</category>
      <category>python</category>
      <category>cybersecurity</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
