🌴 AuraWatch Enterprise SecurityBy OptiRefine AuraWatch is a deterministic, high-performance static analysis and auto-remediation engine for VS Code, Cursor, and Windsurf. Unlike AI coding assistants that guess at vulnerabilities and hallucinate fixes, AuraWatch uses Lossless Semantic Trees (LST) and the Z3 Symbolic Execution Engine to mathematically prove vulnerabilities and surgically rewrite your AST with zero syntax errors — and when a vulnerability is too structurally complex for deterministic patching, a locally-embedded AI steps in, validated by the same scanner that found the issue. ✨ Key Features🛡️ Deterministic Auto-Remediation (No Hallucinations)AuraWatch uses AST transformation — LibCST for Python, ts-morph for JS/TS — to structurally patch your code. Vulnerable nodes are surgically replaced in the tree and rendered back to text. No guessing, no syntax errors, no dropped comments. Every generated patch opens in a native Diff Viewer before anything touches your file. 🤖 Hybrid AI Auto-Fix — Local, Private, VerifiedSome vulnerabilities require structural rewrites that no deterministic rule can safely generate without context. For these, AuraWatch activates an embedded Qwen2.5-Coder 1.5B model that runs entirely on your machine — no API calls, no cloud, no data leaving your environment. What makes this different from a regular AI fix is the closed verification loop:
The AI never autonomously applies changes. You always see the diff and choose to accept or discard it. Hardware-adaptive performance: AuraWatch automatically detects and uses Metal (Apple Silicon), CUDA (Nvidia), or Vulkan (AMD) if available, falling back to CPU-only mode on machines without a compatible GPU. On an M2 MacBook, fix attempts complete in 3–6 seconds. On a CPU-only laptop, expect 25–60 seconds per attempt. 🧮 Z3 Symbolic ExecutionAuraWatch doesn't just read your code — it runs it through a theorem prover. The integrated Z3 SMT solver analyzes execution paths to mathematically prove critical application crashes before they happen:
🕵️♂️ Deep AST Vulnerability DetectionCatches complex architectural flaws that regex-based linters miss. Python: Dynamic OS Command Injection (f-strings/concatenation), hidden JavaScript / TypeScript: Prototype Pollution, unguarded database connections, unsafe 📦 Hallucinated Dependency DefenseAuraWatch actively queries the NPM registry during scans to verify that your imports actually exist, protecting you from Dependency Confusion attacks triggered by AI-hallucinated package names. 🌊 Plain-English "Vibe Checks"Security jargon is exhausting. Type 🚀 UsageAuraWatch lives in your IDE sidebar. Open any Python, JavaScript, TypeScript, or React file and use:
Tip: Highlight a specific block of code, right-click, and select AuraWatch: Scan Selection to target a single function or component. 🏗️ Architecture: How the Two Layers Work TogetherMost security tools make you choose between accuracy (deterministic rules) and coverage (AI that can reason about structure). AuraWatch runs both in sequence.
Why this matters: The AI layer never operates unsupervised. Every patch it produces goes back through the deterministic scanner before it reaches you. If the AI introduces a new vulnerability while fixing the original one — a common failure mode with small models — the scanner catches it, and the AI is shown exactly what it created and why it's dangerous before trying again. The only patches you ever see are ones the mathematical engine has cleared. ⚙️ Installation & SetupAuraWatch connects to your secure, isolated OptiRefine Cloud Run engines.
(Note: configuration keys use the Built by OptiRefine. |