Skip to content

feat(template): add DarkMoon (open source CLI) - #276

Open
MBK-fr wants to merge 1 commit into
portainer:v3from
MBK-fr:feat/darkmoon-template
Open

MBK-fr wants to merge 1 commit into
portainer:v3from
MBK-fr:feat/darkmoon-template

Conversation

@MBK-fr

@MBK-fr MBK-fr commented Sep 30, 2026

Copy link
Copy Markdown

feat(template): add DarkMoon (open source CLI)

Adds a new Compose (type 3) App Template for DarkMoon, an open source
(GPL-3.0) autonomous AI penetration testing toolbox. An LLM orchestrates
specialist agents and offensive tools over MCP, can run on a local model, and
proves each finding with a real exploit.

Source: https://github.com/ASCIT31/Dark-Moon

Changes

  • stacks/darkmoon/docker-compose.yml — the stack (two public Docker Hub images: ascit/darkmoon, ascit/opencode-darkmoon).
  • templates.json — one new entry (id 76), nothing else touched.

What it deploys, stated honestly

  • This is the terminal-driven (TUI) open source engine. It does not expose a web GUI; the user drives it from the opencode container console. The DarkMoon Pro dashboard is a separate commercial product and is not part of this stack.
  • Because it is an offensive-security toolbox it requests real host privileges, and the template note says so up front: it mounts /var/run/docker.sock into both containers (root-equivalent host control), the scanner runs with network_mode: host and NET_RAW/NET_ADMIN (LAN scanning; Chrome DevTools port 9222 lands on the host), and containers run as root. It is meant to be deployed only on a host the operator controls.
  • It needs an LLM. The template is preset for a cloud provider and prompts for provider / model / API key via env; local (Ollama, llama.cpp) and on-prem Anthropic-compatible modes are documented for post-deploy configuration.

Validation

  • templates.json validates against this repo's schema.json.
  • stacks/darkmoon/docker-compose.yml passes docker compose config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant