arrow_back Portfolio / Projects
Home / Projects / SentinelAI
verified_user Verified Portfolio Project Documentation
INDEX: Overview Architecture Workflow Implementation Security Testing
FLAGSHIP ARCHITECTURE AI SECURITY ENGINEERING AUTONOMOUS TRIAGE
PHASE 16 COMPLETE // PHASE 17 IN DEV

SentinelAI

AI-Powered Vulnerability Intelligence & Security Knowledge Platform

An actively developed security engineering platform rather than a simple chatbot, SentinelAI unifies vulnerability intelligence, graph-based security knowledge, CVE exposure tracking, asset-software relationships, evidence management, and threat intelligence. Incorporates RAG architectures, CLI/API interfaces, and authorization/approval primitives for secure multi-step orchestration.

PROJECT STATUS
Phase 16 Implemented
DATA RESIDENCY
100% Offline / Zero Leak
AI RUNTIME
Ollama / Local Models
DISPATCH INTERFACES
FastAPI & CLI Tooling
Python Ollama Knowledge Graphs MITRE ATT&CK RAG Pipeline CVE Intelligence CVSS Scoring FastAPI / CLI Audit Logging Secure Orchestration
info Implementation details documented at project repository
verified
Information Source & Verification Notice: Based on the documented project architecture, engineering milestones (Phase 16 completed), and technical specifications documented in the portfolio repository. Implementation source code is hosted in the developer's external repository.
fact_check

Standardized Case Study Specification (13 Parameters)

CLASSIFICATION: Personal Project · Security Engineering
target 1. Objective
Unify vulnerability triage, graph-based threat context, CVE intelligence, and asset exposure tracking into an offline, local LLM pipeline.
computer 2. Environment
Local Linux, Ollama inference runtime, Python 3.11+, FastAPI service layer, ChromaDB vector store.
schema 3. Architecture
Modular orchestrator connecting multi-stage ingestion, MITRE ATT&CK ontology graph, vector retrieval, and policy dispatch gates.
build 4. Tools & Stack
Python, Ollama, LangChain, FastAPI, ChromaDB, NetworkX, Docker, Pydantic.
code 5. Implementation
16 completed phases including evidence schema tracking, CVE/CWE lookup tables, and dual REST/CLI interfaces.
flaky 6. Testing & Verification
Pytest test suites, mock CVE payload feeds, offline synthetic prompt injection validation.
inventory_2 7. Evidence & Artifacts
Normalized JSON vulnerability trees, correlation execution logs, audited dispatch traces.
visibility 8. Security Findings
Public LLMs leak operational target info; local offline models provide strict confidentiality with zero data egress.
speed 9. Operational Impact
Accelerates analyst triage from hours of manual CVE cross-referencing to seconds of structured graph correlation.
shield 10. Defensive Remediation
Strict input validation on CVE IDs, human-in-the-loop authorization gates before any active action execution.
psychology 11. Lessons Learned
Multi-step LLM pipelines require deterministic schema validation (Pydantic) to prevent hallucinations in vulnerability scoring.
update 12. Future Roadmap
Phase 17 multi-asset lateral exposure modeling, automated dry-run remediation validation scripts.
info OVERVIEW & MISSION // 01

What is SentinelAI?

psychology Purpose & Problem Addressed

Vulnerability assessment workflows frequently suffer from fragmented tooling: reconnaissance port scans produce raw text banners, CVE feeds produce overwhelming noise without asset context, and remediation plans require tedious manual synthesis.

The portfolio project documentation describes SentinelAI as an active security engineering platform designed to resolve this fragmentation. Instead of relying on generic public chatbots that leak sensitive infrastructure details, SentinelAI operates strictly on-premises using local neural models to correlate security intelligence and structure findings into actionable roadmaps.

target Intended Audience & Scope

SentinelAI is built for security engineers, vulnerability analysts, and offensive security practitioners conducting authorized technical evaluations on owned or simulated lab systems.

It unifies log parsing, CVE correlation, CVSS scoring, and graph-based threat context while maintaining authorization and approval primitives at every dispatch stage, ensuring multi-step orchestration remains strictly auditable and controlled.

hub KNOWLEDGE GRAPH

Security Knowledge Graph with MITRE ATT&CK mapping across tactic vectors and asset-software relationships.

security_update_warning CVE INTELLIGENCE

Contextual exposure analysis engine correlating parsed service banners with CVE records and CVSS severity metrics.

assignment_turned_in EVIDENCE MANAGEMENT

Structured evidence management tracking findings and linking vulnerability records with actionable defensive remediations.

terminal DISPATCH & AUDIT

Local RAG pipeline, dual CLI/API dispatch interfaces, and comprehensive audit-logged orchestration primitives.

schema SYSTEM ARCHITECTURE // 02

Documented System Architecture

Based on the documented architecture in the portfolio engineering specifications, SentinelAI organizes functionality across four tightly coupled tiers: Ingestion, Knowledge & CVE Intelligence, Local AI Reasoning, and Dispatch & Audit.

account_tree SENTINELAI ARCHITECTURAL SCHEMATIC AIR-GAPPED LOCAL INFERENCE
TIER 1 · INGESTION
input Recon & Asset Data
  • • Nmap Service Banners
  • • Asset-Software Maps
  • • Target Scan Logs
Output: Normalized Telemetry
TIER 2 · KNOWLEDGE CORE
hub Security Knowledge Graph
  • • MITRE ATT&CK Vectors
  • • CVE Exposure Engine
  • • CVSS Risk Calculation
Output: Graph Relationships
TIER 3 · LOCAL AI LAYER
memory Local Ollama + RAG
  • • Offline Neural Models
  • • RAG Pipeline Context
  • • Triage Prioritization
Zero External Telemetry
TIER 4 · DISPATCH & AUDIT
verified_user Secure Orchestration
  • • Approval Primitives
  • • FastAPI & CLI Dispatch
  • • Immutable Audit Logs
Output: Verified Remediation
INGESTION → GRAPH & CVE CORRELATION → OFFLINE RAG TRIAGE → AUTHORIZED DISPATCH & AUDITING
account_tree SentinelAI Data-Flow Inspector // 4-Tier Pipeline Simulation
Tier: 1 / 4

input Tier 1: Multi-Stage Telemetry Ingestion

Parses raw Nmap service banners, asset-software discovery maps, and target network scan logs into normalized JSON telemetry.

speed Latency: < 25ms shield Boundary: Ingestion Sanitizer
In-Flight Pipeline Data (JSON)
{
  "event": "ingest.scan_telemetry",
  "target_asset": "192.168.10.45",
  "hostname": "prod-api-gw.internal",
  "scanned_ports": [
    {"port": 22, "service": "ssh", "product": "OpenSSH", "version": "8.2p1"},
    {"port": 80, "service": "http", "product": "nginx", "version": "1.18.0"},
    {"port": 8080, "service": "http-proxy", "product": "Apache Tomcat", "version": "9.0.30"}
  ],
  "os_fingerprint": "Linux 5.4.0-generic Ubuntu 20.04",
  "ingestion_status": "NORMALIZED_JSON_V2"
}

Component Responsibility & Data Contract

Component Core Responsibility Inputs Outputs Relationships
Reconnaissance Ingestion Parses raw service scan outputs and normalizes service identifiers. Nmap logs, banner strings Normalized asset service dictionaries Feeds into Knowledge Graph & CVE Engine
Knowledge Graph Maps vulnerabilities and asset connections to MITRE ATT&CK tactic vectors. Asset specs, vulnerability mappings Graph nodes & attack paths Enriches RAG context for neural triage
CVE Intelligence Engine Performs contextual exposure analysis and CVSS risk scoring. Service banners, version strings CVE matches, severity ratings Correlated with Knowledge Graph nodes
Local AI Reasoning (Ollama) RAG pipeline evaluates combined context to generate remediation guidance. RAG context, risk metadata Prioritized remediation roadmaps Operates strictly offline without cloud calls
Dispatch & Audit Layer Exposes FastAPI/CLI endpoints governed by approval primitives and audit logs. Remediation actions, user commands Action execution records, audit logs Guards system perimeter and logs operations
route WORKFLOW & DATA PIPELINE // 03

Step-by-Step Documented Workflow

1 INPUT
Telemetry Ingestion

Reconnaissance scan logs, such as Nmap port scan service banners and asset configuration details, are submitted to the platform.

2 PROCESSING
Graph & CVE Mapping

Parsed banners are correlated against CVE vulnerability intelligence and mapped into the MITRE ATT&CK knowledge graph across tactic vectors.

3 DECISION
Neural Model Triage

Local neural models running via Ollama evaluate contextual exposure and calculate CVSS-aligned risk priorities through the RAG pipeline.

4 ACTION
Authorized Dispatch

Actions trigger authorization and approval primitives before dispatching remediation roadmaps through the FastAPI or CLI interfaces.

5 OUTPUT
Evidence & Audit

Structured evidence records are stored alongside immutable audit logs, providing full traceability for every assessed asset and action.

code IMPLEMENTATION DETAILS // 04

Technologies & Engineering Implementation

terminal Backend & Dispatch Interfaces

The platform core is developed in Python, offering dual operational interfaces: a structured FastAPI service layer for programmatic integration and an interactive CLI toolchain for rapid terminal-based triage during security exercises.

Stack: Python, FastAPI, CLI Parser, Structured JSON Logging
hub Knowledge Graph & CVE Intelligence

Incorporates a graph-based security knowledge model representing asset-software dependencies and mapping tactic vectors against the MITRE ATT&CK framework, coupled with a contextual CVE correlation engine.

Concepts: Graph Modeling, MITRE ATT&CK, CVE Enrichment, CVSS Scoring
psychology AI Reasoning & RAG Architecture

Leverages Ollama for hosting offline neural models. The Retrieval-Augmented Generation (RAG) pipeline injects relevant vulnerability profiles and remediation playbooks directly into the inference context without transmitting any telemetry to third-party APIs.

Architecture: Ollama Local Runtime, Offline RAG, Zero Data Leakage
lock Authorization & Audit Governance

Implements strict authorization and approval primitives guarding multi-step orchestration tasks. Every triage decision, remediation recommendation, and external dispatch is recorded in structured, immutable audit logs.

Security Controls: Explicit Approval Gates, Structured Audit Logging
Implementation details and version-controlled source files are documented at the project repository. View Source Repository open_in_new
shield SECURITY DESIGN & BOUNDARIES // 05

Verified Security Controls & Boundaries

As an engineering platform handling sensitive reconnaissance information and vulnerability assessments, SentinelAI embeds foundational defensive controls directly into its architecture.

gavel Authorization Primitives

Autonomous multi-step actions require explicit approval barriers. High-impact operations cannot be executed autonomously without deliberate human verification.

visibility_off Zero Cloud Leakage

By running local neural models through Ollama on local hardware, sensitive vulnerability telemetry, service versions, and network topologies are never transmitted to external cloud endpoints.

history_edu Immutable Audit Logging

All user inputs, model evaluations, and dispatch queries produce verifiable audit trails with timestamps to support compliance and technical post-mortem analysis.

neurology AI ARCHITECTURE & RETRIEVAL // 06

Local AI Inference & RAG Architecture

The portfolio documentation defines SentinelAI's AI tier around local execution using the Ollama runtime. Instead of transmitting infrastructure data across third-party APIs, inference happens locally on private hardware.

RAG Retrieval Pipeline

Indices of MITRE ATT&CK techniques and CVE intelligence allow the system to fetch relevant defensive mitigation patterns on demand, augmenting the model's prompt context with deterministic security references.

Contextual Exposure Scoring

Rather than generic severity scores, the reasoning engine combines CVSS metrics with asset-specific connectivity and software relationships to compute localized, contextual risk rankings.

checklist TESTING & VALIDATION // 07

Validation & Development Milestones

SentinelAI's progress is measured through structured engineering development phases. As verified in the portfolio documentation:

check_circle Phase 16 Engineering Milestone Complete VERIFIED

Covers full end-to-end integration of the Knowledge Graph, CVE Intelligence correlation engine, evidence management schema, and audit-logged CLI/API dispatch primitives.

Detailed testing suites, unit test coverage, and benchmark harnesses are maintained in the project repository.

sync CURRENT STATUS // 08

Active Engineering Project

PHASE 16 COMPLETE // PHASE 17 IN DEV

The core architecture is actively maintained and implemented through Phase 16. Development is actively proceeding on Phase 17 engineering objectives.

update FUTURE ROADMAP // 09

Planned Engineering Enhancements

  • [Planned] Phase 17: Multi-asset lateral exposure reasoning across complex network graphs.
  • [Planned] Automated remediation validation scripts with safe dry-run execution checks.
  • [Planned] Deepened integration with local Kali Linux toolchains and telemetry feeds.
arrow_back Back to Projects Section