diniscruz.ai / writing / Projects and Innovation Lab

Project VulnAI: AI-Powered Vulnerability Risk Management Platform

By Dinis Cruz and ChatGPT Deep Research · · 44 min read

PDF

Contents · 7 sections
  1. 1. Executive Summary
  2. 2. Industry Landscape & Challenges
  3. 3. Vision and Key Principles
  4. 4. Technology Stack & Architecture
  5. 5. Implementation Plan
  6. 6. Risk Analysis & Mitigation
  7. 7. Business Case & Value Proposition

1. Executive Summary

Organizations continue to struggle with a deluge of security vulnerabilities and alerts, but traditional vulnerability management approaches have failed to translate these findings into effective risk reduction. Project VulnAI proposes a next-generation SaaS platform for AI-driven vulnerability management that prioritizes risk context over raw vulnerability counts. By leveraging semantic knowledge graphs, automated AI analysis, and a deterministic data pipeline, this platform will unify diverse security data (scans, code, cloud config, runtime logs, business context) into a coherent risk knowledge base. The goal is to help security teams and developers make smarter decisions – focusing remediation efforts where they matter most to the business – and finally close the gap between vulnerability identification and actual risk mitigation.

Key features and principles include:

By combining these elements, Project VulnAI aims to deliver a comprehensive vulnerability management solution that actually reduces risk – by guiding organizations to fix the right issues and confidently accept or mitigate the rest. This brief outlines the vision, technical architecture, and business case for bringing such a platform to market in 2025, at a time when AI and graph technologies are finally mature enough to tackle this long-standing cybersecurity challenge.

2. Industry Landscape & Challenges

Traditional vulnerability management has become a graveyard of good intentions. Over the past decades, countless tools and projects have tried to help organizations “manage vulnerabilities,” yet breaches caused by unaddressed known issues remain commonplace. It’s important to understand why past approaches have fallen short:

In 2025, however, new opportunities have emerged to finally solve these challenges. Three trends are converging:

  1. Generative AI & LLMs – Modern AI models can digest and summarize massive amounts of information. They can explain code, analyze configurations, even simulate how an attack might unfold. This opens the door to automating much of the heavy analysis work that previously fell on human experts. Crucially, AI can be used not just to find vulnerabilities (e.g. code analysis) but to contextualize and prioritize them by correlating disparate data points – something humans struggle to do at scale.

  2. Knowledge Graphs & Contextual Datastores – The rise of graph databases and knowledge ontologies means we can store complex relationships between vulnerabilities, systems, data, and business processes. Instead of each finding living in a flat list, it lives in a richly connected graph. Query languages and graph algorithms can then be used to identify, say, choke points (a single component whose failure opens many attack paths) or to traverse an attack chain. This holistic view was impractical in older SQL-based vulnerability managers but is natural with graph technology.

  3. Cloud-Native & Ephemeral Architecture – Companies have more of their infrastructure in cloud and serverless environments, which means we can take a cloud-native approach to processing vulnerability data. Spinning up ephemeral analysis jobs on-demand is feasible and cost-effective. Also, organizations are increasingly open to hybrid deployment models: a SaaS that can also run on-prem or in a private cloud for sensitive data. This flexibility is critical for security tools due to data sovereignty and privacy concerns.

Project VulnAI sits at the intersection of these trends. The industry is ready for a platform that uses AI to bridge security and business, uses graphs to connect the dots, and uses modern cloud architecture to scale seamlessly. In the next sections, we outline how we will build this platform to finally solve the long-standing vulnerability management problem.

3. Vision and Key Principles

To design an effective AI-driven vulnerability management platform, we establish a set of guiding principles. These principles combine lessons from past failures with the possibilities of today’s tech:

3.1 Risk-Driven Approach, Not Vulnerability-Driven: The core mission is to manage risk, not just vulnerabilities. This means the platform treats a “clean” scan with zero reported vulns as not an end goal by itself – instead, it continuously asks: what is our residual risk? In practice, this principle drives features like risk scoring for each finding (taking into account asset value, threat likelihood, exploit availability, etc.) and recommendations to accept or mitigate risk when appropriate. Success is measured by reduced incident likelihood and impact, not just fewer open vulns in a tracker. This mindset shift addresses the misconception that the goal is to eliminate vulns at all cost – instead, the goal is to make informed risk decisions that align with business objectives. If a vulnerability is deemed low risk, well-understood, and expensive to fix, the platform might recommend leaving it and focusing elsewhere. Conversely, if a normally low-severity bug sits on an exposed critical system, the platform will flag it as high priority due to risk context. All of this ties into ensuring the business operates within its risk appetite. In other words, VulnAI acts as the translation layer between security findings and business risk tolerance.

3.2 Unified Knowledge Graph of Security Data: At the heart of the platform is a semantic knowledge graph that models the organization’s technology and security landscape. Every vulnerability is a node in this graph, linked to: the asset or code component it affects, the business process or product it’s part of, the development team responsible, and any relevant runtime data (e.g. logs showing it has been probed by attackers). Additional nodes capture meta-information like compliance requirements or threat intel (e.g. “CVE-2025-1234 is being exploited in the wild”). This graph-of-graphs approach allows different teams to maintain their own view (ontology) – e.g. one team’s “Customer DB” is another team’s “Asset #42” – while mapping between them. By treating “everything as connected”, the platform can answer complex questions and perform multi-hop reasoning. For example, one could query: “Show me all vulnerabilities affecting systems that handle customer credit card data, and rank them by potential financial impact.” This would traverse the graph from data nodes (credit card data) to systems to vulnerabilities, pulling in business impact information. Traditional tools without a graph backend simply cannot do this. Project VulnAI’s graph is the single source of truth that breaks down silos: static application security testing (SAST) findings, dynamic testing results, cloud infra scans, container scans, bug bounty reports, and even manually discovered issues all end up in the graph with appropriate relationships.

3.3 AI-Augmented Analysis with Deterministic LETS Pipeline: We leverage AI heavily, but in a structured, deterministic way. The platform employs a multi-stage LLM pipeline – following the LETS approach (Load, Extract, Transform, Save) – to ensure each step is traceable and repeatable. Rather than one monolithic AI that magically “does VM,” we break the analysis into stages, for example:

At each stage, the outputs are saved and versioned – nothing is lost in a hidden AI mind. This determinism means if the AI says “Vuln X is high risk”, we have the chain of data supporting that: perhaps “because Vuln X is on a server facing the internet and handling finance data, and an exploit script was seen hitting it last week.” All of that lives in the graph for inspection. The LETS pipeline thus gives us the benefits of AI (pattern recognition, language understanding) without its typical downsides (opacity and inconsistency). If a model’s output is incomplete or incorrect, the system spots it (e.g. JSON schema validation fails) and can retry or flag for review, rather than silently producing a flawed recommendation.

3.4 Memory-First, Ephemeral Data Stores: In line with modern serverless thinking, the platform’s data architecture is ephemeral-by-design for efficiency and scalability. We utilize a memory-first graph database (inspired by Dinis Cruz’s MGraph-DB research) that can spin up on demand, load the necessary slice of the knowledge graph, perform analyses, and then shut down – persisting results to durable storage (like S3 or a file store). This is akin to treating the database like a function: when idle, no resources are consumed, “no database process or connection needs to be alive – zero cost when not in use”. This principle is crucial given the sporadic nature of vulnerability scans and analyses (e.g. big scans might run weekly or when new code is deployed). It avoids the need for an always-on, costly graph DB cluster. Each analysis task (say, correlating a new scan’s results into the graph) can run in isolation, ensuring perfect reproducibility and eliminating state drift. This ephemeral approach also simplifies on-premise deployments – an organization could run the entire analysis pipeline in a temporary environment within their network, without long-running services to maintain. By persisting all intermediate data to versioned files (the “Save” in LETS), we enable easy debugging, auditing, and even regeneration of past analysis runs.

3.5 Strong Typing and Data Quality Controls: Given the graph will aggregate data from many sources (and many AI outputs), maintaining data quality is paramount. We adopt a Type-Safe modeling approach for the knowledge graph, meaning every node and relationship follows a defined schema (ontology) and is validated. For example, a vulnerability node might be defined to require fields like severity, exploit_code_maturity, asset_impact etc., and a relationship “AFFECTS” might only connect a Vulnerability to an Asset node of the correct type. This prevents garbage data or mismatches, especially from automated processes. If an LLM tries to tag a vulnerability with an undefined risk category, the system will reject it unless the schema is updated. This principle – essentially treating the knowledge graph with the same rigor as an application data model – ensures that as the system grows, it remains trustworthy. The graph becomes a self-consistent data store that can be queried reliably, and it also serves as documentation of how we categorize and link security concepts (vulns → assets → business processes → mitigations, etc.). This is influenced by the OSBot Type_Safe classes that have been used in prior Dinis Cruz projects to enforce consistency in graph data.

3.6 Developer-Inclusive Workflow: For any vulnerability management program to succeed, it must integrate with development and operations workflows. A guiding principle is that VulnAI should be as useful for developers and SREs as it is for security analysts. Concretely, this means:

By aligning with developers’ interests (code quality, reliability) and reducing their toil (through automated analysis and even code-fix suggestions in future versions), we increase adoption. If developers find that VulnAI helps them catch issues early and even improves code (through bug detection), they will actively use it rather than perceive it as a compliance burden.

3.7 Model-Agnostic and Future-Proof AI Strategy: In the fast-moving AI landscape of 2025, tying our fortunes to any single model or solely proprietary AI would be a mistake. VulnAI’s design treats AI models as pluggable commodities – we can leverage the best available LLMs (open-source or API-based) at any given time, and even run multiple models in concert for different tasks. We explicitly avoid training a large custom model from scratch; instead, we focus on clever prompting, fine-tuning smaller models if needed, and orchestrating model outputs with code. This approach ensures that as new, more powerful models emerge (e.g. GPT-5, Claude-next, Google’s Gemini etc.), our platform can incorporate them to improve results without a total overhaul. Our competitive moat is not a proprietary model, but the data pipeline, integrations, and feedback loops we build around models. In fact, the platform could allow customers to plug in their preferred model (some highly regulated customers might only allow on-prem LLMs, for instance). By designing for model flexibility, we make the solution future-proof and avoid being leap-frogged by the next AI advances. The better the models get, the better our analysis becomes – and all the deterministic plumbing we built (graphs, pipelines, schemas) will amplify, rather than be replaced by, those model improvements. This principle also mitigates the risk of dependency on a single vendor or expensive licensing – we remain agile in the rapidly evolving AI toolscape.

3.8 Open-Source and Community Collaboration: We intend to build the core of VulnAI as an open-source project (likely under a permissive license) while offering commercial SaaS and support around it. This principle is both philosophical and practical:

3.9 Targeted Use-Case Focus (Depth over Breadth): A practical principle for our go-to-market is to start with specific high-value use cases rather than trying to boil the ocean of vulnerability management at once. For example, we might choose an area like cloud infrastructure misconfigurations or identity & access risk as an initial focus. These are domains where current pain is acute – e.g. cloud entitlements (IAM roles and permissions) are notoriously over-provisioned and hard to analyze, leading to major breaches. Our platform could shine by using AI to analyze cloud configs, combine it with vulnerability data, and identify the toxic combinations that actually matter (like an over-permissive S3 bucket that coincidentally has a public exploit). By solving a few such cases end-to-end (with full context and great visualization), we can demonstrate value quickly. Other promising focuses might be:

By nailing a specific use case, we create a beachhead and reference success stories. The platform’s design is flexible to expand into other areas over time, but this principle ensures we always solve concrete problems for customers first, rather than present a nebulous platform.

3.10 Deployment Flexibility and Security: Finally, we recognize that different customers will have different needs for deployment. Some will consume VulnAI as a multi-tenant SaaS (easy setup, our cloud). Others – especially in financial or government sectors – will insist on running it themselves (due to sensitive code and data). Our architecture will be cloud-agnostic and portable: containerized microservices or functions that can run in AWS, Azure, on-prem Kubernetes, or even fully air-gapped environments if needed. This is enabled by our ephemeral design (no heavy persistent server requirements) and use of file/object storage as the database. We will package the solution for easy deployment (Helm charts, Terraform, etc.). Security is paramount: no customer should have to send their raw scan data or source code to our cloud if they don’t want to. Even in the SaaS offering, we’ll architect for zero knowledge of sensitive assets (for instance, the heavy analysis could run in a customer-controlled enclave with only non-sensitive summaries sent to the SaaS for aggregation). By having an “offline mode”, we actually strengthen the platform – it forces us to decouple data ownership from the service. This principle might seem at odds with a pure SaaS business, but in 2025, trust is the currency in cybersecurity. We believe offering a Secure SaaS (where the customer can choose what data leaves their environment) will be a differentiator. Technically, this could involve providing an on-site data collector component (open-source) that does initial processing and only sends back high-level metrics or anonymized info to the cloud. In any case, flexibility here will remove adoption blockers and also saves us from building a massive multi-tenant data storage (each customer’s data can be isolated in their own storage if needed).

These tenets form the foundation of Project VulnAI’s design and strategy. In the next section, we delve into the actual architecture and components that bring these principles to life.

4. Technology Stack & Architecture

Overview: The VulnAI platform is composed of loosely coupled services orchestrated around the knowledge graph. The high-level workflow is: collect data → build/update graph → run AI enrichment → provide outputs (dashboards, reports, integrations). Below is a breakdown of the core components and technologies:

The ingestion layer uses a mix of serverless functions and lightweight services. For instance, a GitHub Action could trigger on code push to send code to VulnAI for analysis; a scheduled Lambda function could pull the latest cloud config daily. All ingestors output standardized JSON to a message queue or object storage, which then signals the next stage.

  1. Load the current knowledge graph slice relevant to its task (from JSON files in storage).
  2. Perform in-memory graph mutations and queries.
  3. Save the updated graph back to storage (writing out JSON files or patches).

For example, when a new scan result comes in, a function spins up, reads the existing graph (or relevant part like the host or app in question), adds new vulnerability nodes and links, runs internal consistency checks, and writes back. This design offers horizontal scalability (multiple graph ops in parallel on different parts of the graph) and easy versioning (each change produces a new versioned artifact). The graph is stored as a collection of JSON documents (which could be in S3, a Git repo, or a database for files). This also means we can leverage standard DevOps tools (like Git diff) to track changes in the security posture over time.

The graph data model follows a graph-of-graphs concept where, for instance, each application might have its own subgraph of components and vulnerabilities, and a higher-level graph connects those apps to business functions. The MGraph engine natively supports merging subgraphs, querying neighbors, etc., with high performance in-memory. When large, we can selectively load parts of the graph to keep memory usage efficient. This component is the “single source of truth” data store, albeit distributed in files – which avoids the need for complex graph DB clusters and aligns with our serverless strategy.

All LLM modules are orchestrated by our pipeline, and we maintain prompt templates and schemas for each. For example, the prompt for the vulnerability context might be: “You are a security expert. Here is a vulnerability and the system it’s on (with context). Provide output in JSON with fields: impact, exploitability, fixRecommendation.” This controlled output is crucial. We will also incorporate feedback loops – if an LLM’s output fails validation (malformed JSON or nonsense), the system can automatically retry with adjusted prompt or fallback to a simpler analysis.

Architecture Diagram: [Not shown here] Conceptually, the architecture can be seen as three layers (Data, Brain, Presentation) with the Knowledge Graph at the center. The Data layer brings information in and out of the Graph. The Brain layer (AI and rules) processes and enhances the Graph. The Presentation layer allows users and systems to query and interact with the Graph. All components communicate through well-defined interfaces (e.g. publishing events when new data arrives, APIs to query risk scores) to keep the system modular.

5. Implementation Plan

Delivering Project VulnAI will be done iteratively, ensuring we can demonstrate value early and incorporate feedback. The implementation plan is outlined in phases:

Phase 0: Foundation (Months 0-1) Goal: Set up the basic infrastructure, data model, and a simple end-to-end flow with dummy data.

Phase 1: Targeted MVP (Months 2-5) Goal: Deliver a Minimum Viable Product focusing on one high-impact use case, e.g. Cloud Vulnerability Risk Management.

By end of Phase 1, we expect to have a working slice of the platform that can be demoed to stakeholders: e.g. “In our demo AWS account, VulnAI found 50 issues, flagged 5 as critical. Here’s why those 5 matter and how to fix them.” This will help gather buy-in and iterative feedback.

Phase 2: Expand Coverage (Months 6-9) Goal: Broaden the platform to handle application code vulnerabilities and integration with developer workflow.

End of Phase 2, VulnAI should handle both cloud and application scenarios, making it a more complete VM platform. We’d likely pilot it with one or two friendly organizations at this point to test it in a real environment and gather success stories.

Phase 3: Hardening and Scale (Months 10-12) Goal: Prepare the platform for production use at scale and polish commercial features.

Milestone: By the one-year point, Project VulnAI should be ready for its public launch – either as a beta or GA (depending on confidence). It will be capable of ingesting a variety of vulnerability data, producing risk-prioritized results, and integrating into workflows. The launch would likely highlight our open-source core (“community-driven security brain”) and the availability of a cloud-managed option for ease of use.

Beyond Year 1: The roadmap would continue with adding more modules (e.g. container security, mobile app security analysis), improving AI with new model releases, and perhaps features like automatic remediation suggestions (AI-generated fix pull requests for code vulns), and more advanced risk quantification (e.g. monetary risk modeling). We also anticipate building out more knowledge sharing – for instance, anonymized data sharing where customers can opt in to share patterns of attacks or common vuln causes, which our AI can learn from to improve overall recommendations for everyone. Because of the open nature, the platform could evolve into a community-driven “security knowledge brain” that continuously gets smarter as it sees more environments (with privacy-preserving mechanisms in place).

6. Risk Analysis & Mitigation

Building an ambitious platform like VulnAI comes with its own set of risks. We outline key project risks and how we plan to mitigate them:

In summary, while there are many challenges, our mitigations revolve around building trust (transparent design, open source), ensuring quality (incremental development, validation), and staying adaptive (both in tech and strategy). By anticipating these risks, we improve our odds of delivering a successful platform that users rely on for mission-critical risk decisions.

7. Business Case & Value Proposition

The rationale for investing in Project VulnAI is compelling from both a security outcome perspective and a business opportunity perspective. We detail the value proposition for customers (security teams, CISOs, developers) and the wider business case for making this a SaaS offering.

For Customers (Enterprises and Security Teams):

For the SaaS Business (Project VulnAI’s company and investors):

ROI Example: To make it concrete – consider a Fortune 1000 company with 100 applications, 1000 servers, etc., receiving \~5000 new vulnerability findings per month from various tools. With traditional processes, maybe 20% get addressed in a timely way. With VulnAI, suppose we cut the time to prioritize from weeks to real-time, and they address the top 5% that matter and consciously defer the rest with documented rationale. The likely outcome is fewer incidents (say avoiding even one major incident a year can save them millions in breach costs), and saved labor (each security engineer could manage twice the coverage, or they can reassign some to other projects). From a pure cost perspective, if our platform license costs, say, \$100k/year for them, but saves 2000 hours of manual work (\$150/hour loaded cost = \$300k) and prevents a breach (\$M’s), the ROI is huge. We will capture these stories with early customers to quantify value delivered.

Conclusion (Value Proposition): Project VulnAI offers a win-win. Customers get a cutting-edge tool that reduces risk and toil, aligning security efforts with business needs. The organization behind VulnAI taps into a growing market with a differentiated solution, leveraging community and AI to stay ahead. The platform’s launch is timely – enterprises are actively seeking ways to harness AI for practical security gains, and we are delivering exactly that in an accessible, explainable package. By crediting our roots in open research (co-developed with ChatGPT and based on real-world CISO experience), we also build credibility as thought leaders in this space.

In summary, VulnAI’s business case is strong: it addresses a critical need with innovative tech at the right time, promising both improved security outcomes for users and a scalable, profitable SaaS venture for stakeholders. With a solid technical foundation and a clear focus on risk-based management, Project VulnAI has the potential to become an indispensable platform for cybersecurity teams worldwide, fulfilling the long-held promise of truly effective vulnerability management.

Released under CC BY 4.0. First published on docs.diniscruz.ai; this page as markdown.