ASCIT31/Dark-Moon

Open-source autonomous AI penetration testing. 50 specialist agents across web, API, cloud, Active Directory, Kubernetes, CI/CD and AI/LLM (OWASP LLM Top 10), with an evidence-checked attack-path graph. Runs on a local LLM behind a Privacy Gateway. Integrates with GitHub, GitLab, Jenkins, VS Code, JetBrains, n8n, Grafana & Splunk.

What it solves

DarkMoon automates penetration testing — the process of probing your own systems for security weaknesses. Normally a pentester manually scans, probes, and documents vulnerabilities, which is slow and repetitive. DarkMoon runs the whole assessment on its own: it discovers the target, fingerprints the technology stack, deploys specialist agents, exploits vulnerabilities, and documents every finding with the exact command and raw output as proof. It doesn't replace the pentester — it clears the repetitive work so experts spend their time on judgment, not toil.

How it works

You point DarkMoon at an authorized target (one TARGET line in the CLI) and it takes over. The platform automatically:

  1. Discovers the environment (ports, services, protocols)
  2. Fingerprints the technology stack (frameworks, CMS, APIs)
  3. Models the attack surface
  4. Deploys specialized sub-agents based on detected technologies (e.g., a CMS agent for WordPress, an AD agent for Active Directory, a Kubernetes agent, a cloud-provider agent for AWS/Azure/GCP, an LLM agent for AI inference endpoints)
  5. Executes an intelligent vulnerability scanning loop with reactive adaptation
  6. Validates findings with evidence (requests, payloads, responses)
  7. Generates a structured audit report

Key architectural points:

  • 50 specialist agents are orchestrated by one agentic system that reasons, plans, and dispatches agents across every surface it discovers.
  • Security by design: the AI never runs a command directly — every action flows through a controlled, logged MCP (Model Context Protocol) interface that orchestrates 140+ offensive tools.
  • Privacy Gateway: real IPs, hosts, URLs, and credentials are tokenized into deterministic placeholders locally; real values stay on your perimeter and are rehydrated only locally at the moment a tool runs.
  • Runs on a local LLM (Ollama, llama.cpp) so your infrastructure values never leave your perimeter — or on cloud providers (Anthropic, OpenAI, OpenRouter).
  • Aligned with ISO 27001, NIST SP 800-115, and MITRE ATT&CK methodologies.

Who it's for

Security teams, DevSecOps engineers, red teamers, and ethical hacking professionals who test their own infrastructure. It's built for people who want automated, evidence-backed assessments and who build in CI/CD pipelines (GitHub Actions, GitLab, Jenkins), IDEs (VS Code, JetBrains), and SecOps tools (Splunk, Grafana, n8n). The open-source edition is a command-line tool; the paid Pro edition adds a web dashboard, automated remediation into human-reviewed pull requests, and one-click cloud deployment.

Highlights

  • 50 specialist agents covering web, APIs, Active Directory, Kubernetes, cloud (AWS/Azure/GCP), CI/CD, databases, IoT firmware, and AI/LLM endpoints, chained end to end
  • Evidence, not scores: every finding ships with the exact command and raw output, so there is almost nothing to triage
  • Privacy Gateway: reversible local tokenization keeps real IPs, hosts, and credentials on your perimeter
  • Runs fully local on Ollama/llama.cpp — data never leaves your infrastructure
  • Security by design: the AI never runs a command directly; everything flows through a controlled, logged MCP interface
  • Pentests your AI too: a dedicated LLM agent probes AI/LLM inference endpoints for the OWASP LLM Top 10 with garak-backed probes
  • CI/CD native: trigger a pentest in the pipeline and get findings back as artifacts
  • Orchestrates 140+ offensive tools over MCP
  • Benchmark: 57 real vulnerabilities found on OWASP Juice Shop in 28.5 minutes (8 critical / 24 high / 21 medium / 4 low)
  • Open source (AGPLv3) and self-hosted: every agent's methodology is plain Markdown you can read, diff, and fork
  • Integrations: GitHub Actions, GitLab CI/CD, Jenkins, VS Code, JetBrains, and Splunk work with the open-source edition; n8n and Grafana are Pro-only
  • Pro tier (paid): web dashboard, scheduled recurring campaigns, orbital attack-surface map, and automated remediation that turns findings into human-reviewed pull requests retested against the original exploit

Related

  • Project
  • Project
  • Project
  • Project
  • Project