<?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: Samyuktha Rajeev</title>
    <description>The latest articles on DEV Community by Samyuktha Rajeev (@samyukthacs).</description>
    <link>https://dev.to/samyukthacs</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%2F4208166%2F5af2a7e4-b951-424f-b126-25277c410759.png</url>
      <title>DEV Community: Samyuktha Rajeev</title>
      <link>https://dev.to/samyukthacs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samyukthacs"/>
    <language>en</language>
    <item>
      <title>Ghost in the Logs: A 100% Offline AI Security Log Detective</title>
      <dc:creator>Samyuktha Rajeev</dc:creator>
      <pubDate>Fri, 30 Oct 2026 07:32:51 +0000</pubDate>
      <link>https://dev.to/samyukthacs/ghost-in-the-logs-a-100-offline-ai-security-log-detective-196j</link>
      <guid>https://dev.to/samyukthacs/ghost-in-the-logs-a-100-offline-ai-security-log-detective-196j</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built &lt;em&gt;Ghost in the Logs&lt;/em&gt;, a privacy-first local AI log analyzer. It runs 100% offline via Ollama to prevent data leaks, featuring two modes: a Spooky Ghost Story mode and a professional SOC Cybersecurity Audit mode.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Samyuktha-CS" rel="noopener noreferrer"&gt;
        Samyuktha-CS
      &lt;/a&gt; / &lt;a href="https://github.com/Samyuktha-CS/ghost-in-the-logs" rel="noopener noreferrer"&gt;
        ghost-in-the-logs
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;👻 Ghost in the Logs: Privacy-First Local AI Security &amp;amp; Anomaly Detective&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;Built for the Hacktoberfest 2026 Open-Source AI Challenge (Week 4: Ghost in the Machine).&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;💡 Overview&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;In cybersecurity and cloud administration, pasting sensitive server, authentication, or firewall logs into third-party cloud chatbots creates severe data exfiltration and compliance risks.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ghost in the Logs&lt;/em&gt; solves this by running an open-weight language model (llama3.2:1b) &lt;em&gt;100% locally via Ollama&lt;/em&gt;. It features two modes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;🕯️ &lt;em&gt;Ghost in the Machine Mode:&lt;/em&gt; Personifies security anomalies and server bugs as a spooky ghost story before explaining the fix.&lt;/li&gt;
&lt;li&gt;🛡️ &lt;em&gt;SOC Cybersecurity Audit Mode:&lt;/em&gt; Delivers a structured threat severity rating, plain-English anomaly breakdown, and actionable remediation steps.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;⚙️ Architecture&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;System / Auth Logs ➔ Streamlit Web UI (Python) ➔ Local Ollama API (localhost:11434) ➔ Llama 3.2 (1B) Open-Weight Model&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🚀 How to Run Locally&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Install &lt;a href="https://ollama.com" rel="nofollow noopener noreferrer"&gt;Ollama&lt;/a&gt; and pull the lightweight open-weight model:
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;ollama pull llama3.2:1b&lt;/pre&gt;

&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Samyuktha-CS/ghost-in-the-logs" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The complete Python source code (main.py) is available directly in my public GitHub repository: &lt;a href="https://github.com/Samyuktha-CS/ghost-in-the-logs" rel="noopener noreferrer"&gt;GitHub - Ghost in the Logs&lt;/a&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Open-Weight Model:&lt;/em&gt; Meta's llama3.2:1b running 100% locally.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Local Inference Engine:&lt;/em&gt; Ollama serving the model offline over
localhost.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Frontend &amp;amp; Logic:&lt;/em&gt; Python 3.14 and Streamlit framework developed in PyCharm.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open-source and open-weight AI aren't just about avoiding API fees—they are essential for security and data privacy. Running a compact open-weight model locally eliminates the risk of cloud data exfiltration, allowing security engineers and students to analyze sensitive system telemetry safely on everyday consumer hardware.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;The inspiration behind this project was making AI practical and safe for students and security engineers. I wanted to build something that bridges the gap between a fun, spooky Halloween theme and real-world cybersecurity challenges. Watching raw, cryptic system logs get translated into an eerie ghost story, while knowing that all the data stayed 100% private and offline on my laptop really brought the "Ghost in the Machine" theme to life.&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%2Fcb4s5ew4dh0dqiuoex3o.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%2Fcb4s5ew4dh0dqiuoex3o.png" alt=" " width="542" height="662"&gt;&lt;/a&gt;&lt;br&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%2Fki08yl7shbjshrjvg6on.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%2Fki08yl7shbjshrjvg6on.png" alt=" " width="561" height="797"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
