<?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: Sreevatsa Rajesh </title>
    <description>The latest articles on DEV Community by Sreevatsa Rajesh  (@sreevatsarajesh).</description>
    <link>https://dev.to/sreevatsarajesh</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%2F4198878%2F3d0a3544-9930-494e-bb9e-babcc393c11f.jpg</url>
      <title>DEV Community: Sreevatsa Rajesh </title>
      <link>https://dev.to/sreevatsarajesh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sreevatsarajesh"/>
    <language>en</language>
    <item>
      <title>Trace-X, image forensics</title>
      <dc:creator>Sreevatsa Rajesh </dc:creator>
      <pubDate>Mon, 02 Nov 2026 15:21:22 +0000</pubDate>
      <link>https://dev.to/sreevatsarajesh/trace-x-image-forensics-4gj8</link>
      <guid>https://dev.to/sreevatsarajesh/trace-x-image-forensics-4gj8</guid>
      <description>&lt;p&gt;I Built TRACE-X: Exploring Digital Image Forensics Beyond Basic Tampering Detection &lt;br&gt;
Images are shared across social media, messaging platforms, and websites every day.&lt;br&gt;
But what happens to forensic evidence when an image gets compressed, resized, cropped, or edited before being shared?&lt;br&gt;
That's the question that led me to build TRACE-X 2.0 — Transformation-Resilient Adaptive Cross-platform Evidence Engine.&lt;/p&gt;

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

&lt;p&gt;Traditional image-forensics techniques can become less reliable when images undergo common transformations.&lt;br&gt;
A forensic signal that is visible in an original image might weaken or change after JPEG compression, resizing, or cropping.&lt;br&gt;
I wanted to explore whether combining multiple forensic signals could provide more useful evidence under these conditions.&lt;/p&gt;

&lt;p&gt;What is TRACE-X?&lt;/p&gt;

&lt;p&gt;TRACE-X is an experimental digital image-forensics framework that combines multiple image-analysis techniques into a single evidence-fusion pipeline.&lt;br&gt;
Currently, it explores four forensic signals:&lt;br&gt;
Error Level Analysis (ELA): Examines differences introduced by JPEG recompression.&lt;br&gt;
Discrete Cosine Transform (DCT): Analyses frequency-domain characteristics.&lt;br&gt;
Noise Residual Analysis: Examines residual patterns after image smoothing.&lt;br&gt;
JPEG Grid Analysis: Examines discontinuities around JPEG block boundaries.&lt;br&gt;
These signals are combined using a heuristic, profile-conditioned fusion mechanism.&lt;br&gt;
The system generates:&lt;br&gt;
Combined evidence maps.&lt;br&gt;
Evidence overlays.&lt;br&gt;
Exploratory threshold masks.&lt;br&gt;
Signal disagreement visualisations.&lt;br&gt;
Machine-readable JSON reports.&lt;br&gt;
Human-readable HTML reports.&lt;/p&gt;

&lt;p&gt;Testing Transformation Robustness&lt;/p&gt;

&lt;p&gt;I also implemented experiments involving:&lt;br&gt;
JPEG compression at different quality levels.&lt;br&gt;
Image resizing.&lt;br&gt;
Cropping.&lt;br&gt;
Gaussian blur.&lt;br&gt;
The objective is to understand how different forensic signals behave when the same image undergoes these transformations.&lt;/p&gt;

&lt;p&gt;Tech Stack&lt;/p&gt;

&lt;p&gt;Python&lt;br&gt;
NumPy&lt;br&gt;
OpenCV&lt;br&gt;
Pillow&lt;br&gt;
SciPy&lt;br&gt;
Matplotlib&lt;br&gt;
Streamlit&lt;br&gt;
Pytest&lt;/p&gt;

&lt;p&gt;What's Next?&lt;/p&gt;

&lt;p&gt;TRACE-X is still an experimental research project.&lt;br&gt;
My next goals are:&lt;br&gt;
Integrate established image-forensics datasets.&lt;br&gt;
Evaluate localisation using ground-truth manipulation masks.&lt;br&gt;
Compare against existing forensic baselines.&lt;br&gt;
Explore learned transformation profiling.&lt;br&gt;
Develop and validate adaptive evidence fusion.&lt;br&gt;
Investigate cross-dataset generalisation.&lt;br&gt;
I am particularly interested in understanding whether transformation-aware evidence fusion can improve the localisation of manipulations compared with fixed forensic approaches.&lt;/p&gt;

&lt;p&gt;Explore the Project&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/sreevatsarajesh/Trace-X" rel="noopener noreferrer"&gt;https://github.com/sreevatsarajesh/Trace-X&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I welcome feedback, suggestions, research references, and contributions from anyone working in computer vision, cybersecurity, or digital forensics.&lt;br&gt;
If you've worked on image manipulation detection or forensic localisation, I'd love to hear your thoughts.&lt;br&gt;
Building, testing, learning, and improving. 🚀&lt;/p&gt;

&lt;h1&gt;
  
  
  Python #DigitalForensics #ComputerVision #Cybersecurity #MachineLearning #OpenSource #ImageProcessing #Research
&lt;/h1&gt;

</description>
      <category>python</category>
      <category>computervision</category>
      <category>machinelearning</category>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>Wraith - A Ghost in your terminal</title>
      <dc:creator>Sreevatsa Rajesh </dc:creator>
      <pubDate>Wed, 28 Oct 2026 15:35:23 +0000</pubDate>
      <link>https://dev.to/sreevatsarajesh/wraith-a-ghost-in-your-terminal-4d5n</link>
      <guid>https://dev.to/sreevatsarajesh/wraith-a-ghost-in-your-terminal-4d5n</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;What if &lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://drive.google.com/file/d/1mwpEO69gZUw7b9c-xYe-d7hL8LkPO7U-/view?usp=drive_link" rel="noopener noreferrer"&gt;https://drive.google.com/file/d/1mwpEO69gZUw7b9c-xYe-d7hL8LkPO7U-/view?usp=drive_link&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://github.com/sreevatsarajesh/Wraith-" rel="noopener noreferrer"&gt;https://github.com/sreevatsarajesh/Wraith-&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Wraith uses Qwen 2.5 3B, an open-weight language model served locally through Ollama.&lt;br&gt;
The four spirits each have a distinct identity:&lt;br&gt;
Geocities — a relic of the old web, guestbooks, webrings, and forgotten homepages.&lt;br&gt;
Fortran — an echo from the age of punch cards and mainframes.&lt;br&gt;
Deleted File — a voice from things that disappeared but left traces behind.&lt;br&gt;
Unix Daemon — a quiet keeper of processes, logs, and system secrets.&lt;/p&gt;

&lt;p&gt;The web interface lets you choose a spirit, send command text for a reaction, check the local API connection, and explore recent memories. The interface is designed to observe command text rather than execute arbitrary commands.&lt;/p&gt;

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

&lt;p&gt;Wraith depends on the freedom to run an open-weight model locally built&lt;/p&gt;

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

&lt;p&gt;I wanted to capture a very specific feeling: opening an old terminal late at night and imagining that something has been there longer than you have.&lt;br&gt;
The old internet had personality which I wanted to bring back&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;Best Use of Entire — sharing the agent session behind Wraith's development, provided the session is recorded and linked using the challenge's required workflow.&lt;/p&gt;

&lt;p&gt;THE TERMINAL IS WATCHING&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Codebase X-Ray</title>
      <dc:creator>Sreevatsa Rajesh </dc:creator>
      <pubDate>Wed, 21 Oct 2026 17:17:18 +0000</pubDate>
      <link>https://dev.to/sreevatsarajesh/codebase-x-ray-1pnb</link>
      <guid>https://dev.to/sreevatsarajesh/codebase-x-ray-1pnb</guid>
      <description>&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%2Fpun2lpsvyl07jdld9x70.jpeg" 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%2Fpun2lpsvyl07jdld9x70.jpeg" alt="Dashboard" width="799" height="376"&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%2F8sx8ei8fvmz391uxunnp.jpeg" 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%2F8sx8ei8fvmz391uxunnp.jpeg" alt="Map" width="800" height="465"&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%2F0yrizfgwz53yhd9yzm2c.jpeg" 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%2F0yrizfgwz53yhd9yzm2c.jpeg" alt="main" width="800" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I Built Codebase X-Ray: Visualizing Python Codebases and Their Dependencies&lt;/p&gt;

&lt;p&gt;Have you ever opened an unfamiliar Python repository and spent more time figuring out how its files connect than actually understanding the code?&lt;/p&gt;

&lt;p&gt;That was the problem I wanted to tackle with &lt;strong&gt;Codebase X-Ray&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It's a developer tool I'm building to analyze Python repositories and turn their structure and dependencies into an interactive visual graph.&lt;/p&gt;

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

&lt;p&gt;When working with a multi-file project, understanding the relationships between modules, functions, classes, and imports can be difficult. Jumping between files isn't always the best way to understand the overall architecture.&lt;/p&gt;

&lt;p&gt;I wanted a tool that could provide a visual starting point for exploring an unfamiliar codebase.&lt;/p&gt;

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

&lt;p&gt;Codebase X-Ray combines static code analysis with an interactive frontend.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Python AST Analysis
&lt;/h3&gt;

&lt;p&gt;The backend uses Python's built-in &lt;code&gt;ast&lt;/code&gt; module to inspect source files without executing them.&lt;/p&gt;

&lt;p&gt;It extracts information such as functions, classes, and imports, which forms the basis of the repository's structural representation.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Dependency Extraction
&lt;/h3&gt;

&lt;p&gt;The scanner identifies import relationships between files and builds dependency information that can be visualized.&lt;/p&gt;

&lt;p&gt;Dynamic imports and some external dependencies can be difficult to resolve statically, so the results aren't intended to represent every possible runtime relationship.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Interactive Graph Visualization
&lt;/h3&gt;

&lt;p&gt;The frontend uses React and React Flow to display relationships between code elements. Dagre helps arrange the graph layout.&lt;/p&gt;

&lt;p&gt;Instead of navigating every file individually, developers can explore the structure visually.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Technology Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python&lt;/strong&gt; for AST-based analysis&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FastAPI&lt;/strong&gt; for the backend API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;React and Vite&lt;/strong&gt; for the frontend&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;React Flow&lt;/strong&gt; for graph visualization&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dagre&lt;/strong&gt; for graph layout&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Codebase X-Ray in Action
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Repository Scanning and System Metrics
&lt;/h3&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%2Fncsre9vo1krj6u0691j3.jpeg" 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%2Fncsre9vo1krj6u0691j3.jpeg" alt="Codebase X-Ray repository input showing a successful GitHub scan and metrics for 23 Python files, 15 import edges, 48 symbols, and zero parsing errors" width="799" height="376"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The first step is scanning a repository. Codebase X-Ray accepts a GitHub repository URL or a local directory path and analyzes the Python source files.&lt;/p&gt;

&lt;p&gt;Once scanning completes, the dashboard displays key metrics, including the number of Python files discovered, import relationships extracted, symbols identified, and parsing errors encountered.&lt;/p&gt;

&lt;p&gt;In this example, the scanner processed &lt;strong&gt;23 Python files&lt;/strong&gt;, identified &lt;strong&gt;15 import relationships&lt;/strong&gt;, extracted &lt;strong&gt;48 symbols&lt;/strong&gt;, and reported &lt;strong&gt;zero parsing errors&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Interactive Dependency Graph
&lt;/h3&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%2F5izom218aw676js2shfm.jpeg" 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%2F5izom218aw676js2shfm.jpeg" alt="Codebase X-Ray fullscreen dependency graph showing Python files organized into color-coded project groups with import relationships between nodes" width="800" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After scanning, the extracted information is presented as an interactive dependency graph. Each node represents a code element or file in the visualization, while the connecting edges represent import relationships.&lt;/p&gt;

&lt;p&gt;Files are organized into color-coded project groups, making it easier to distinguish different parts of a repository and understand how they connect.&lt;/p&gt;

&lt;p&gt;The graph supports navigation and zooming, allowing developers to explore the structure of a codebase visually instead of relying entirely on manual file-by-file inspection.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Inspecting Individual Files
&lt;/h3&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%2Fptpzdd7nb7wc3d786kct.jpeg" 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%2Fptpzdd7nb7wc3d786kct.jpeg" alt="Codebase X-Ray dependency graph with the file inspector open for app.py, showing its path and outgoing import to utils.py" width="800" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The graph provides an overview of the repository, but sometimes you need to focus on a particular file.&lt;/p&gt;

&lt;p&gt;Selecting a file opens the file inspector, which displays its path, project group, and available dependency information. In this example, the inspector shows &lt;code&gt;app.py&lt;/code&gt; and its outgoing import to &lt;code&gt;utils.py&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;This makes it easier to investigate how a file depends on other modules and navigate the codebase with more context.&lt;/p&gt;

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

&lt;p&gt;I'm continuing to improve Codebase X-Ray, particularly its ability to make larger codebases easier to explore.&lt;/p&gt;

&lt;p&gt;I'm also considering optional local AI integration through Ollama to generate code summaries and explain dependency relationships without making AI a requirement for the core scanner.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check Out the Project
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub repository:&lt;/strong&gt; &lt;a href="https://github.com/sreevatsarajesh/Codebase_XRay" rel="noopener noreferrer"&gt;https://github.com/sreevatsarajesh/Codebase_XRay&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  I'd Love Your Feedback
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;What would you want to see in a codebase visualization tool?&lt;/li&gt;
&lt;li&gt;Which parts of understanding an unfamiliar repository take you the most time?&lt;/li&gt;
&lt;li&gt;Would AI-generated explanations of code relationships be useful, or would you prefer purely static analysis?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>python</category>
    </item>
  </channel>
</rss>
