Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaintFlow+

TaintFlow+ Logo

TaintFlow+

AI-Powered Security Verification & Repository Intelligence

Marketplace Version License


Overview

TaintFlow+ is a state-of-the-art, real-time security verification platform designed specifically to validate AI-generated code directly within your IDE. With the rise of AI coding assistants, code is generated faster than ever—but often introduces subtle security bugs, insecure patterns, or hardcoded secrets.

TaintFlow+ acts as your automated security sentinel, scanning your workspace in real time using a multi-layered verification engine:

  • Static Analysis Engine: Fast, pattern-based scanning for 14+ languages.
  • Local LLM Integration (Ollama): Offline, private verification utilizing local models like deepseek-coder or gemma3.
  • Cloud AI Orchestration: Seamless high-intelligence verification using API providers such as Google Gemini and Groq.
  • Hybrid Security Rules Engine: Combined semantic analysis and taint-tracking heuristics.

Features

  1. Real-Time Vulnerability Detection: Automatic verification runs as you open, edit, paste, or save code.
  2. AI-Powered Verification: Dual-mode engine uses local LLMs or cloud providers to perform deep security triage.
  3. Graphify Repository Intelligence Map: Generates a conceptual dependency and service architecture map of your codebase.
  4. Neural Flow Visualization: Renders an interactive webview visualization of files, databases, APIs, and their relationships.
  5. Security Flow Analysis: Interactive paths showing exactly how taint flows from sources to vulnerable sinks.
  6. Vulnerability Highlighting: Highlights vulnerable code paths directly in the editor using VS Code diagnostics.
  7. Quick Fix Support: Offers inline fixes powered by LLMs to replace vulnerable code with secure patterns instantly.
  8. Cross-IDE Platform Support: Runs uniformly in VS Code, Cursor, and Antigravity.
  9. Local-First Architecture: Zero data leaves your machine unless you explicitly choose to enable cloud API providers.
  10. Flexible Cloud Verification: Fallback orchestrator with circuit-breaker protection to shift between Gemini, Groq, and Ollama.

Graphify & Neural Flow

Graphify Workspace Mapping

Graphify parses imports, function calls, database queries, and route definitions across your workspace. It builds a structural dependency map identifying:

  • Entry Points: HTTP controllers, public commands, main script entrypoints.
  • Services: Authentication, validation, processing layers.
  • APIs: External HTTP client integrations and third-party gateways.
  • Databases: SQL query execution files, repositories, ORM layers.

Neural Flow Visualization

Render a real-time, interactive Node-Link Canvas visualization directly inside your IDE sidebar or in full screen to explore dependencies.

[Entry Point: App.ts] -> [Service: UserService] -> [Database: postgres.ts]

Security Flow Analysis

When a taint source is detected (e.g. request.body), TaintFlow+ traces the path of that variable through function parameters and assignments until it hits a query execution or system execution sink, warning you before compilation.


Screenshots

Screenshots illustrating Graphify sidebar dashboard, editor diagnostics, and full-screen visualization pages.

Graphify Dashboard Preview Diagnostics Highlighting


Installation

  1. Open the Extensions View in VS Code (Ctrl+Shift+X or Cmd+Shift+X).
  2. Search for TaintFlow+.
  3. Click Install.
  4. (Optional but Recommended) Install Ollama for 100% private, local-first code verification.

Local LLM (Ollama) Setup

For 100% private, local-first code verification, install Ollama:

  1. Install Ollama: Download and install Ollama from ollama.com.
  2. Pull Local Models: Open your terminal and pull the recommended coder models:
    # DeepSeek Coder (Fast, great for general coding)
    ollama pull deepseek-coder:1.3b
    
    # Qwen (Excellent alternative for code logic)
    ollama pull qwen2.5-coder:1.5b
    
    # Gemma (Google's lightweight model)
    ollama pull gemma:2b
  3. Run Ollama: Ensure the Ollama background service is running. TaintFlow+ will automatically detect it and use it when set to local or auto mode.

Configuration

TaintFlow+ is highly customizable. Configure settings via VS Code settings (Ctrl+, or Cmd+,):

Setting Key Type Default Description
taintflow.autoVerify boolean true Enable/disable auto-verification on save, open, and paste.
taintflow.enableNotificationToasts boolean true Show notification toasts in the bottom right when risks are found.
taintflow.mode string "auto" Select engine mode: auto (hybrid API first + local fallback), api (cloud only), or local (Ollama only).
taintflow.localModel string "auto" Select the local LLM model name to use with Ollama. Set to 'auto' to automatically detect the best available coder, llama, or gemma model.
taintflow.providers object {"anthropic": true, "google": true, "groq": true} Enable or disable individual AI analysis providers.
taintflow.google.apiKey string "" Google Gemini API Key (fallback if not stored securely via configure command).
taintflow.groq.apiKey string "" Groq API Key (fallback).
taintflow.anthropic.apiKey string "" Anthropic API Key (fallback).

Note: For security, it is recommended to configure API keys using the secure TaintFlow+: Configure... commands, which write directly to the OS Keychain.


API Configurations & Keys

To use cloud-based analysis for higher intelligence verification, you need to configure API keys. You can do this securely via the extension commands or the Settings Dashboard (⚙️ Gear Icon).

1. Google Gemini

  • Get Key: Visit Google AI Studio.
  • Setup: Click "Create API Key" and copy the value.
  • Config: Run TaintFlow+: Set Google Key in VS Code or enter it in the settings.

2. Groq

  • Get Key: Visit the GroqCloud Console.
  • Setup: Sign in, navigate to "API Keys", and click "Create API Key".
  • Config: Run TaintFlow+: Set Groq Key in VS Code or enter it in the settings.

3. Anthropic (Claude)

  • Get Key: Visit the Anthropic Console.
  • Setup: Create an account, go to the API Keys section, and generate a new key.
  • Config: Run TaintFlow+: Set Anthropic Key in VS Code or enter it in the settings.

Interface Overview

TaintFlow+ integrates three primary control surfaces directly into the IDE, each serving a distinct purpose in your security workflow. Here is a breakdown of each, as annotated in the screenshot below:

TaintFlow+ Interface Overview


① Status Bar — Quick Summary & Sidebar Access

Location: Bottom of the editor window (VS Code status bar)

The TaintFlow+ status bar item is always visible at the bottom of your editor. It provides a real-time, at-a-glance security summary of your active workspace.

What it shows:

  • Active status — whether the engine is running or paused.
  • Live vulnerability counts — total number of Critical and High findings detected across your open files.
  • Active AI model — the currently active provider and model (e.g., Groq: llama-3.1-8b-instant).

Example display:

TaintFlow+: ⚡ Active — 48 Critical | 48 High  (Groq: llama-3.1-8b-instant)

How to use:

  • Click the status bar item to instantly open and focus the TaintFlow+ sidebar panel, giving you the full breakdown of all detected vulnerabilities grouped by severity.

② Sidebar Header Icons — Gear & Zap

Location: Top-right of the Scan Results sidebar panel header

Two icon buttons sit in the header of the Scan Results view, providing fast access to the extension's two most important global actions.

⚙️ Gear Icon — Settings Dashboard

  • Opens the TaintFlow+ Settings Dashboard in a dedicated webview panel.
  • Use this to:
    • Configure and save your API keys (Google Gemini, Groq, Anthropic/Claude).
    • Select your LLM execution mode (auto, api, or local).
    • Set your preferred local Ollama model.
    • Toggle Auto-Verify and notification toasts on or off.

⚡ Zap Icon — Copy All Fix Prompts

  • Copies every fix prompt for all detected vulnerabilities to your clipboard in a single action.
  • Each prompt contains the vulnerable code snippet, the issue description, and a structured instruction to generate a secure replacement.
  • Workflow: Click ⚡ → paste the output into an AI assistant (e.g., ChatGPT, Antigravity, Claude) → receive patched, secure code for all findings at once.

③ Graphify Repository Map — Full Screen & Context Export

Location: Bottom panel of the TaintFlow+ sidebar, labeled "Graphify Repository Map"

The Graphify Repository Map renders an interactive, neural-network-style visualization of your entire project's architecture — mapping file dependencies, services, databases, and entry points as a live node graph.

To expand to Full Screen:

  1. Locate the Graphify Repository Map panel at the bottom of the TaintFlow+ sidebar.
  2. Click the ⛶ Full Screen button (expand icon) in the panel header.
  3. The map opens in a dedicated editor tab at full resolution, giving you a large canvas to explore your repository topology.

Controls available in Full Screen:

Button Action
📋 Copy Context Generates a structured, AI-optimized summary of your entire project (architecture, frameworks, entry points, APIs) and copies it to your clipboard. Paste directly into any AI assistant for instant project context.
📋 Copy Repo Map Copies the complete, raw JSON representation of the repository index to your clipboard. Contains every file node, dependency edge, service, database, and API mapping in full detail.
↺ Rebuild Re-indexes your entire workspace and refreshes the graph with the latest file structure and dependency changes.
🔍 Search Filter and highlight specific nodes in the graph by filename or path.
+ / − / ⛶ Zoom in, zoom out, and fit-to-screen camera controls.

Clicking a node in the graph opens the corresponding file directly in your editor and shows an Inspect Panel with type, language, line count, and connection details.


Commands

Access the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and search for:

  • TaintFlow+: Run Security Scan — Manually scan the active document.
  • TaintFlow+: Configure Google API Key — Securely store your Gemini API key.
  • TaintFlow+: Configure Groq API Key — Securely store your Groq API key.
  • TaintFlow+: Configure Anthropic API Key — Securely store your Anthropic API key.
  • Graphify: Rebuild Repository Index — Re-scan workspace architecture.
  • Graphify: Open Full Screen Map — Open the Graphify webview in a full-screen tab.

Roadmap

For the complete list of upcoming features, check out ROADMAP.md. Highlights include:

  • Multi-Agent context memory integration.
  • Cross-Agent Knowledge Graph synchronization.
  • Team Repository Memory for shared vulnerability baselines.

Maintainer

Mohamed Faizaan


License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2026 Mohamed Faizaan

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages