Skip to content
ArchSentinel

ArchSentinel

Prevent breaches before code is written

Created on 28th February 2026

•

ArchSentinel

ArchSentinel

Prevent breaches before code is written

The problem ArchSentinel solves

ArchSentinel Enterprise: Proactive Architecture Threat Simulator

Inspiration

In modern Cloud Security, the gap between architecture design and security validation is dangerously wide. Teams build complex cloud networks but typically rely on reactive tools—like vulnerability scanners or penetration tests—to find critical flaws after deployment. We wanted to shift security completely left. Our goal was to build a platform allowing architects to visually model their networks, inject real-world configurations, and use cutting-edge AI to simulate devastating, CVE-driven cyberattacks before a single line of infrastructure code is deployed.

What it does (The problem it solves)

ArchSentinel Enterprise introduces architecture-level security governance.

It transforms static diagrams into live, hackable threat models, allowing organizations to:

  • Visually Model Infrastructure: Drag-and-drop configurable virtual components (WAFs, Load Balancers, Web Servers, Databases, SIEMs) onto an interactive canvas to construct multi-directional network topologies.
  • Auto-Discover Cloud Assets: Connect directly to AWS to ingest and visualize live, production EC2, RDS, and ELB topographies.
  • Inject Real-World Context: Use AI to dynamically enrich generic components with specific, vulnerable software versions (e.g., Apache 2.4.49, Windows Server 2012 R2), mapping them to real-world threat intelligence.
  • Simulate AI-Driven Zero-Day Attacks: Unleash a sophisticated AI threat modeler (powered by Google Gemini) that analyzes the exact topology, attempts to bypass misconfigurations, and streams a live, phase-by-phase kill chain animation directly on the canvas.
  • Generate SOC-Grade Reports: Instantly produce comprehensive PDF compliance reports featuring Risk Radar charts, Attack Heatmaps, financial impact projections, and actionable remediation steps.
  • 1-Click Auto-Remediation: Intelligently apply missing security controls (like WAF enforcement or encryption-at-rest) directly to the architecture to instantly patch the simulated vulnerabilities.

How we built it

  • Frontend UI & Visualization: Built with Next.js 14, React Flow (for the highly interactive, custom-node canvas), and Tailwind CSS to create a stunning, glassmorphic dark-mode interface.
  • Backend Security: Leveraged Next.js App Router API routes secured strictly by Clerk (JWT sessions) and Zod (schema validation) to implement Zero Trust access and prevent Denial of Wallet attacks on our LLM APIs.
  • AI Engine: Integrated Google Gemini as the core reasoning engine. We engineered complex system prompts to force the LLM to respect strict physical network boundaries (e.g., offline nodes cannot be hacked, attacks must stop at active firewalls) and exploit real CVEs over generic attacks.
  • Cloud Discovery: Utilized the AWS SDK (v3) to securely query cloud environments and map massive datasets to our visual standard.
  • Reporting Output: Used jsPDF and Recharts to dynamically render Canvas-based data visualizations into downloadable enterprise PDF reports.

Challenges we ran into

  • Hallucination Control in AI Threat Simulation: LLMs frequently attempt to "magic" their way through firewalls in text generation. We had to build strict rule-based prompt engineering paired with rigid frontend graph traversal logic to ensure the AI's "kill chain" respected the physical reality of the network edges and node power states (e.g. isActive: false).
  • Complex Graph State Management: Synchronizing the React Flow state with the AI's streaming attack phases—handling highlighting, node disabling, and CSS filtering concurrently without overwriting offline states—required deep React hook memoization and custom Node overrides.

Accomplishments that we're proud of

  • Engineering the AI Threat Modeler to genuinely understand structural network topology (e.g., realizing it cannot laterally pivot to an internal database if the external WAF blocks the initial payload).
  • Building the Automated AWS Discovery feature, smoothly transitioning ArchSentinel from a theoretical design space into a live Cloud Security Posture Management (CSPM) utility.
  • Creating an interface that is not only highly technical but intensely visually engaging—the animated, pulsing attack phases make abstract security concepts immediately tangible.

What's next for ArchSentinel

  • Infrastructure as Code (IaC) Export: Generating secure, ready-to-deploy Terraform or AWS CloudFormation templates directly from the patched, successful visual architecture.
  • Multi-Cloud Support: Expanding real-time discovery and simulation to Microsoft Azure and Google Cloud Platform (GCP) environments.
  • CI/CD Pipeline Integration: Running headless, automated architecture simulations as GitHub Actions to block vulnerable infrastructure designs from ever reaching production.

Challenges we ran into

1. Hallucination Control in AI Threat Simulation

The Hurdle: Large Language Models naturally want to succeed at the tasks given to them. During early testing, the Gemini engine would routinely "magic" its way through active firewalls or laterally pivot to nodes that were physically physically disconnected or powered off (isActive: false), breaking the realism of the simulation.
The Fix: We had to implement rigid, rule-based prompt engineering. We built a system that actively injects the graph topology into the prompt, mapping strict physical network boundaries. We enforced "CRITICAL RULES" at the system level: if a node is offline, it cannot be hacked; if an active WAF sits in front of a web server, the attack kill chain must stop there and register as "BLOCKED" rather than hallucinating a bypass sequence.

2. Complex Graph State Management

The Hurdle: Architecting the drag-and-drop canvas using React Flow was straightforward until we had to synchronize it with the streaming AI attack phases. As the AI evaluated the network, we needed to highlight nodes red, pulse attacker nodes, and fade out uncompromised infrastructure—all simultaneously and sequentially.
The Fix: The state manipulation was constantly overwriting the default styles of the nodes (e.g., turning a powered-off, grayscale node permanently red). We resolved this by creating a highly memoized React Hook architecture and custom Node overrides (ArchNode.tsx). This allowed us to apply localized CSS filtering animations strictly to targeted node IDs during the "kill chain" sequence, ensuring that once the animation finished, the nodes instantly reverted to their correct, underlying power states.

3. Multi-Directional Topology Connections

The Hurdle: By default, React Flow nodes assume a linear flow (one input on top, one output on the bottom). Real-world cloud architectures are multi-directional meshes where a single Load Balancer might output to five identical EC2 instances while simultaneously receiving traffic from multiple external sources.
The Fix: We had to strip out the native React Flow default components and build entirely custom nodes that expose 360-degree connection handles (Target and Source ports on all four axes). We then mathematically mapped these multi-directional edges into an adjacency list payload that the Gemini model could parse perfectly for lateral movement simulations.

4. Securing Backend LLM APIs from "Denial of Wallet"

The Hurdle: Our core feature relies on querying the Gemini AI API sequentially. If our frontend endpoints were left fully public, malicious users could script automated requests against Next.js, draining our LLM quotas and resulting in massive, unexpected cloud bills.
The Fix: We wrapped our Next.js App Router API in strict security controls. We implemented Clerk's edge-level JWT middleware to explicitly block any unauthenticated IP from reaching the backend server logic. Furthermore, we implemented Zod schema validation to drop any arbitrary or malformed nodeData payloads, preventing automated prompt injection attacks against our AI inference engine.

Tracks Applied (1)

Best Beginners' Team

Why ArchSentinel fits the "Best Beginners' Team" Track Our team entered this hackathon with a foundational understandin...Read More

Discussion

Builders also viewed

See more projects on Devfolio