The Cyber Killer
The SAST Preset Advisor is an agentic security intelligence platform designed to bridge the gap between high-level cybersecurity policies and low-level static analysis (SAST) configurations.
Core trick
Gemini reads architecture code and a policy document, then emits Semgrep rules that disable redundant checks and map findings to CWE IDs.
Description
The SAST Preset Advisor is an agentic security intelligence platform designed to bridge the gap between high-level cybersecurity policies and low-level static analysis (SAST) configurations.
1. The Problem It Solves
SAST "Noise": Standard security scanners often produce thousands of false positives because they don't understand specific architecture or the custom sanitizers you already have in place.
The Policy-to-Code Gap: High-level mandates (e.g., "All PII must be encrypted") are difficult to manually translate into technical rules for tools like Semgrep, Snyk, or CodeQL.
Configuration Overload: Security teams struggle to maintain custom presets for hundreds of different microservices, each with unique tech stacks and risk profiles.
2. How It Works
The platform uses Gemini 3.1 Pro to ingest three critical data points:
Architecture & Code: tech stack, frameworks, and existing security logic.
Cyber Policy: internal security mandates and industry standards (OWASP, NIST).
Ecosystem Context: The specific capabilities of target SAST tool.
3. Why It Is Important
Precision Scanning: It automatically identifies "Redundant Rules" (vulnerabilities already handled by framework) and disables them to reduce developer fatigue.
Custom Intelligence: It generates actual query snippets (e.g., Semgrep YAML) tailored to specific internal sanitizers and logic.
Compliance Mapping: Every recommendation is mapped to a CWE ID and a specific Policy Requirement, providing immediate audit-readiness.
Accelerated Remediation: By providing a "Risk Dashboard" and a "Remediation Roadmap," it helps teams prioritize the vulnerabilities that actually matter to their specific business context.
In short: It turns "dumb" security scanning into context-aware intelligence, ensuring security tools work for architecture, not against it.
README excerpt
<div align="center"> <img width="1200" height="475" alt="GHBanner" src="https://github.com/user-attachments/assets/0aa67016-6eaf-458a-adb2-6e31a0763ed6" /> </div> # Run and deploy your AI Studio app This contains everything you need to run your app locally. View your app in AI Studio: https://ai.studio/apps/fb1cac8b-9d6e-4325-aac4-01da6bcef760 ## Run Locally **Prerequisites:** Node.js 1. Install dependencies: `npm install` 2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key 3. Run the app: `npm run dev`