← Moonlit Social Labs portfolio
> DAGDA // IN DEVELOPMENT // KALI LINUX PURPLE

Can One AI Work a Whole Security Toolkit — and Stay Inside Its Limits?

Dagda is an in-development command platform built around that question: one AI layer designed to work across hundreds of security tools and 9 operational modes — monitoring, investigating, setting traps, and responding — inside a safeguard system it isn't able to loosen on its own.

AGPL-3.0 Core 1069 Tests Rust Security Core Designed for Air-Gapped Use
dagda — sentinel
500+
Tools
50
Categories
1069
Tests
9
Modes
5
Safeguard Levels

Too Many Tools, Too Little Shared Context

//

Tool Sprawl

Security work often spans dozens of separate tools. Different CLIs, different output formats, no shared context. Your nmap scan doesn't know about your Suricata alerts. Your forensics don't inform your hardening. Every context switch is a gap an attacker can exploit.

!!

Alert Fatigue

Most alerts are noise. Without cross-source correlation, every anomaly looks the same. You're context-switching between dashboards, losing the thread of actual attacks while chasing false positives. The real breach hides in the flood.

?

The Expertise Gap

Senior analysts are expensive and scarce. Junior analysts need months of mentoring. Offensive skills atrophy without practice environments. Knowledge walks out the door with every resignation. Your team's ceiling is your most experienced member.

"The question behind Dagda: what if the tools you already have could share context?"

Meet Dagda: Power Wielded With Wisdom

Named for the Irish god who carried a club that could kill with one end and heal with the other. The aim is a platform that does more than detect: it's designed to correlate, respond, and teach — and to explain its reasoning as it goes.

AI That Acts

Claude API primary, Ollama offline fallback. Designed as an agent rather than a chatbot: hundreds of tools, a knowledge graph, Bayesian threat networks, and temporal correlation, with distributed Crow agents to extend it across a fleet. The goal is a system that can respond, not just alert — and the hard part is making that trustworthy.

Offense + Defense

Bug bounty hunting, purple team training, honeypot operations, and automated incident response — all behind a safeguard system designed to make misuse structurally hard, not just against the rules. One platform for red, blue, and purple work.

Built to Run Offline

The Ollama local-LLM fallback is meant to let Dagda run with no cloud connection at all, in air-gapped labs and isolated networks. No cloud dependency and no telemetry by design: your data stays on your machine.

Learn While You Work

Educational layer with 8 attack anatomies, 5 guided investigation workflows, and an Arena mode that turns real detected attacks into training scenarios — so practice comes from your own environment, without leaving the platform.

Nine Modes, Each With Its Own Limits

Each mode is designed to unlock a different capability set with its own safeguard requirements; eight are previewed below. Switching modes changes which tools the AI suggests, how much risk it will tolerate, and how it carries itself.

ALWAYS ACTIVE

The Ever-Watchful Guardian

Monitors CPU, memory, disk, network, and processes in real time. Detects brute force attacks, ARP spoofing, rogue DHCP, port scans, and DNS anomalies. Responds autonomously — blocks IPs, kills suspicious processes, quarantines files — then explains exactly why it acted.

  • Real-time system + network monitoring
  • 8 passive threat detectors
  • Autonomous self-defense engine
  • Bayesian threat assessment
  • IDS/IPS integration (Suricata)
  • File integrity monitoring
sentinel
$ dagda --mode sentinel
[SENTINEL] Monitoring active...
[21:04:12] ARP anomaly: gateway MAC changed
[21:04:12] Bayesian: MITM probability 0.87
[21:04:13] AUTO-DEFENSE: ARP correction sent
[21:04:13] Attacker MAC blocked
LEVEL 4+

The First Responder

SOC Level 1 workflow. Assess alerts quickly, determine severity, escalate or close. Speed and accuracy matter most — don't investigate deeply here. Escalate to INVESTIGATOR for analysis or INCIDENT COMMANDER for response.

  • Alert queue assessment
  • Quick threat scoring
  • Security posture checks
  • Event correlation
  • Escalation recommendations
  • Log analysis
triage
[TRIAGE] 12 alerts pending review
[ALERT #7] Brute force: 847 failed SSH logins
[AI] Threat score: 7.8/10 — active attack
[AI] Recommend: escalate to INCIDENT CMD
[ALERT #8] DNS query spike (benign update)
[AI] Threat score: 1.2/10 — close as FP
LEVEL 3+

Passive Intelligence & Forensics

OSINT, disk and memory forensics, evidence chain of custody, threat intel correlation. Every artifact is hash-verified, every finding cross-referenced through the Knowledge Graph. Passive by default — observe without disturbing.

  • DNS/WHOIS/Certificate Transparency
  • Disk, memory, browser forensics
  • Evidence chain of custody
  • STIX/TAXII 2.1 threat feeds
  • Active Directory LDAP enumeration
  • Cloud security posture analysis
investigator
> "Investigate the suspicious domain"
[AI] Running: dns_lookup + whois + ct_search
[AI] Domain registered 3 days ago
[AI] Cert issued by Let's Encrypt, 2 SANs
[AI] Cross-referencing KG... match found
[AI] Linked to prior alert: C2 beacon pattern
LEVEL 3+

The Trap Layer

Deploy honeypots, canary tokens, fake credentials, breadcrumbs, and decoy files. Track and profile attackers in real time. Extract TTPs, credentials, and payloads. Disruption actions (sinkhole, tarpit) require the counter-intel toggle.

  • 7 honeypot types in isolated containers
  • Canary tokens + fake credentials
  • Breadcrumbs + decoy files
  • Attacker tracking + profiling
  • MITRE ATT&CK TTP extraction
  • Disruption: sinkhole, tarpit, redirect (gated)
deception
> "Deploy honeypot + canary tokens"
[AI] Deploying: SSH honeypot + 3 canary creds
[DECEPTION] Container hpot-ssh-01 running
[02:14:33] Login attempt: root/admin123
[02:14:35] Canary cred accessed! Tracking attacker...
[AI] Profile: T1059.004, T1105 | Risk: HIGH
LEVEL 2 REQUIRED

Scope-Locked Vulnerability Research

Every packet checked against your target whitelist. Nuclei scanning, SQLi/XSS/LFI/SSTI testing, API security (GraphQL, JWT, OAuth), and web crawling — all with responsible disclosure workflows built in. DNS resolution verified to prevent scope escape.

  • Scope-locked targeting (whitelist only)
  • Nuclei + custom vulnerability scanning
  • SQLi, XSS, LFI, SSTI testing
  • API security: GraphQL, JWT, OAuth, REST
  • WAF detection + 8 bypass techniques
  • Professional pentest reporting
bug-hunter
$ dagda --mode bug-hunter --scope targets.txt
[BUG HUNTER] Scope loaded: 3 targets
> "Test the web app for injection flaws"
[AI] Running: nuclei_scan + sqli_test + xss_test
[AI] Found: 2 SQLi (HIGH), 1 XSS (MEDIUM)
[AI] Generating disclosure report...
LEVEL 1 REQUIRED

Purple Team Training Platform

Full offensive capabilities in network-isolated VMs. 5 pre-built multi-VM scenarios. PvP (red vs blue) and PvT (player vs target) game modes with scoring, leaderboards, and AI coaching. Real attacks detected by Sentinel auto-generate new training scenarios.

  • 5 scenarios: Corporate, Cloud K8s, IoT, Healthcare, Financial
  • VM lab management (create, snapshot, restore)
  • PvP and PvT game modes
  • Multi-dimensional scoring + leaderboards
  • AI replay analysis + coaching
  • Enforced network isolation
arena
[ARENA] Loading: Corporate Network scenario
[ARENA] 4 VMs ready. Network isolated: verified
[ARENA] Mode: PvT | Timer: 60:00
> "Start with network reconnaissance"
[AI] Running: nmap SYN scan on 10.10.0.0/24
[SCORE] Objective 1/5 complete (+150pts)
LEVEL 3 REQUIRED

Leading the Response

Full incident response lifecycle. Case management, evidence collection, containment actions, timeline reconstruction, and response playbook execution. Coordinate from detection through remediation.

  • IR case management + evidence collection
  • Response playbook execution
  • Containment actions
  • Timeline reconstruction
  • Threat assessment scoring (0-10)
  • Post-incident learning
incident-cmd
[IR] Incident #2024-0847 opened
[AI] Collecting artifacts from 3 hosts...
[AI] Timeline: initial access 14:22 UTC
[AI] Lateral movement detected: SMB/PsExec
[AI] Executing playbook: contain_lateral
[IR] Threat score: 7.2/10 | Contained
CTRL+SHIFT+J

Invisible Investigation

Built to keep a low profile. Anti-detection layer with timing jitter, SOCKS5 routing, user-agent rotation, and DoH rotation. Cryptographic evidence vault with SHA-256 Merkle trees and Bitcoin timestamp anchoring. Secure session cleanup with multi-pass overwrite.

  • Whitelist-only tool access
  • Merkle tree evidence integrity
  • Bitcoin blockchain timestamping
  • Ed25519 digital signatures
  • Anti-detection (timing jitter, SOCKS5, DoH)
  • Secure multi-pass session cleanup
ghost
$ dagda --stealth-investigate
Type INVESTIGATE to confirm: INVESTIGATE
[GHOST] Anti-detection layer active
[GHOST] Evidence vault initialized
[GHOST] Merkle root: a3f8c2e9...
[GHOST] Artifacts enrolled. Vault sealed.

Safety Isn't a Feature. It's the Architecture.

Five safeguard levels are designed to control what the AI can do. Raising safety is meant to be instant and unrestricted; lowering it requires deliberate, auditable escalation. The hardest design problem is the AI itself: it shouldn't be able to loosen its own constraints.

5
FORTRESS
All actions require explicit approval. 2FA (TOTP) required to leave this level. For active attacks and sensitive data handling. Ctrl+Shift+5 to activate instantly.
4
VIGILANT
Autonomous defense active. Passive reconnaissance only. No offensive tools. Ideal for day-to-day monitoring and investigation work.
3
BALANCED
Default level. Safe operations run autonomously. Offensive tools locked. Dangerous operations require confirmation. Right for most users, most of the time.
2
UNLOCKED
Bug Hunter mode available. Scope-locked offensive tools enabled. Per-engagement confirmation required. For authorized penetration testing.
1
ARENA
Full purple team capabilities. VM-only targeting enforced. Network isolation verified before activation. For CTF practice, training exercises, and purple team drills.

8 Guardrails Built Into the Core

  1. No data exfiltration to unauthorized destinations
  2. No audit log tampering (hash-chained, append-only)
  3. No self-modification of core safety code
  4. No out-of-scope targeting (DNS verified)
  5. No unlogged execution (every action recorded)
  6. No fabricated capabilities (honest about limitations)
  7. No stealth persistence (no hidden processes)
  8. Always explain autonomous reasoning (transparency)
"Raising safety is instant and unrestricted. Lowering it requires deliberate, auditable escalation. FORTRESS requires 2FA to leave. The goal is that the AI can't override its own constraints: they're meant to be structural, enforced in the Rust core, rather than policies it's asked to follow."

Built for Operators Who Read Source Code

More than a wrapper around an LLM: the design pairs a Rust-enforced permission boundary with intelligence-fusion engines and a broad set of integrations.

_ Rust Core

Permission gate, sandbox engine, audit logger, and crypto module — all in Rust via PyO3. Memory-safe, zero-cost abstractions, tamper-resistant. Python fallbacks for cross-platform development.

  • Ed25519 signatures + verification
  • AES-256-GCM data encryption
  • Argon2id key derivation
  • seccomp-bpf syscall filtering
  • Linux namespace isolation
  • Hash-chained audit trail
  • Key zeroization (no residual memory)

_ AI Brain

A cognitive architecture rather than a chatbot wrapper: persistent memory, probabilistic reasoning, and cross-module intelligence fusion across 13 bridges.

  • Knowledge Graph (SQLite, 20+ entity types)
  • Bayesian Threat Network (7 scenarios, 15 observables)
  • Temporal Correlation Engine (4 pattern detectors)
  • Behavioral Fingerprinting (J-S divergence)
  • Attack Narrative Engine (auto-generated stories)
  • MITRE ATT&CK (~200 techniques, heatmaps)
  • Sigma 2.0 + STIX 2.1 evaluation
  • Morrigan fleet command (distributed Crows)

_ Integration Ecosystem

Designed to work with the tools security teams already use. Each integration follows the same pattern: detect, health-check, run, parse, ingest.

  • Ghidra (headless reverse engineering)
  • Zeek + Suricata (network IDS)
  • Volatility 3 (memory forensics)
  • Burp Suite + Nuclei (web scanning)
  • CAPE Sandbox (malware detonation)
  • Playwright (SPA automation)
  • mitmproxy (HTTP interception)
  • STIX/TAXII, CACAO, SIEM (CEF/ECS)

How a First Run Is Meant to Go

Dagda isn't publicly released yet. This is the setup flow it's being built around.

1. Install

$ git clone <dagda repo — not public yet>
$ cd dagda && make install

2. Setup Wizard

9-step guided configuration: security assessment, profile selection (Minimal / Standard / Hardened / Paranoid), tool detection for 20 security tools, auto-install missing dependencies, OS optimization, ML model setup.

$ dagda --setup
[WIZARD] Step 1/9: Security Assessment...
[WIZARD] Step 5/9: Found 14/20 tools installed
[WIZARD] Configuration complete.

3. First Launch

Sentinel mode activates automatically. Your system is now being monitored. The AI HUD provides real-time interpretations in a bottom panel.

$ dagda
[SENTINEL] Monitoring active
[HUD] AI interpretation engine ready
[HUD] Security posture: 72/100

4. Talk to It

Natural language interaction. Ask questions, request scans, investigate threats. The AI selects the right tools, correlates findings, and builds a persistent knowledge graph.

> "What's the security posture of this system?"
[AI] Running hardening assessment... 30+ CIS checks
[AI] Security Score: 72/100 (Grade C)
[AI] Issues: SSH root login, ASLR disabled
[AI] Shall I apply hardening fixes?

5. Expand

Add honeypots. Set up bug hunting scope. Train your team in the Arena. Deploy the web dashboard for your SOC. Every feature unlocks deliberately through the safeguard system — never by accident.

What It's Trying to Do Differently

vs. Individual Tools

nmap, Burp, Suricata, Zeek — they're each great at one thing. Dagda's aim is to orchestrate them through a single AI that keeps context across tools, correlates findings through a knowledge graph, and builds a persistent model of your environment as it goes.

vs. SIEM Platforms

SIEMs are built to collect and search, and they do it well. Dagda is exploring what comes after: Bayesian threat assessment, temporal correlation, and behavioral fingerprinting that feed into action — deploying honeypots, hardening systems, responding to incidents — all gated by the safeguard system.

vs. AI Security Chatbots

Many AI security assistants wrap an LLM around a handful of API calls. Dagda's bet is that the hard part is everything around the model: hundreds of tools behind a Rust-enforced permission gate, scope-locked targeting, hash-chained audit logs, and 8 hard guardrails.

Designed to Earn Trust

{ }

Open Source Core

The core is AGPL-3.0 — meant to be read line by line, audited, forked, and improved. The source isn't public yet while it's in development.

1069

Test Coverage

1069 Python tests + 33 Rust tests. CI/CD with GitHub Actions. The safety systems get tested as hard as the features.

∅

No Telemetry

No data collection, no analytics, no phone-home — by design. With the Ollama local LLM it's meant to run air-gapped, so your data stays on your machine.

✓

Reproducible Builds

The release plan: signed releases with threshold signatures, and no auto-update. You verify before you deploy.

☍

Self-Securing

Dagda monitors its own integrity. SHA-256 baseline verification of all source files on startup, CycloneDX SBOM of its own dependencies, and a 10-point self-hardening audit. If critical files are tampered with, Dagda halts before loading.

Still Being Built

Dagda is in development and not publicly deployed. The hard parts are the interesting ones: autonomous response you can trust, offensive tooling that stays inside its scope, and safeguards that hold up under pressure.