Important
License change. This repository moved from the GNU GPL v3.0 to the GNU AGPL v3.0 on 20 November 2026; every commit up to db5205c stays under the GNU GPL v3.0. Darkmoon Community is moving to the GNU AGPL v3.0 too (its commits up to edfe9cb, 27 October 2026, and earlier outside contributions stay GPL v3.0). Details: LICENSING.md · Darkmoon LICENSING.md.
Darkmoon is an open source (AGPL-3.0) autonomous AI penetration testing platform. Its engine and CLI are open source, and a scan produces a findings file (JSON, or SARIF through the Darkmoon GitHub Action). This plugin gives a Hermes agent one tool to read that file and triage it.
The web dashboard and the remediation to pull request agent of Darkmoon are Pro features. This plugin does not use them and does not talk to any Darkmoon service.
darkmoon_findings reads a findings document and returns:
| Field | Meaning |
|---|---|
findings |
kept findings, most severe first, all original fields preserved |
total |
number of kept findings |
severity_counts |
kept findings per severity |
highest_severity |
most severe rating kept, or none |
gate_failed |
true when a kept finding reaches fail_on |
markdown_report |
severity-sorted Markdown table, ready for a chat or a ticket |
Arguments: exactly one of path (local .json or .sarif, max 10 MB) or findings_json (inline string); min_severity (default info); only_proven (keep exploited and confirmed JSON findings); fail_on (never, low, medium, high, critical; default high).
Accepted input: a JSON array of findings, an object with a findings or data array, or SARIF 2.1.0 (severity comes from security-severity when present, otherwise from the SARIF level). Findings with no recognised severity are kept at info and never trip the gate.
- Read-only. It never runs a scan, never starts a process, never opens a network connection and needs no credentials or environment variables.
- It reads only the single file path you give it, and only if it ends in
.jsonor.sarif. - Standard library only, no Python dependencies.
hermes plugins install darkmoonRun a scan with the Darkmoon CLI or GitHub Action, then ask the agent: "Triage findings.json, only proven findings, and tell me whether the release should be blocked on high severity." The agent calls darkmoon_findings with path: findings.json, only_proven: true, fail_on: high.
python3 -m pytest tests
hermes plugins validate .License: this plugin is AGPL-3.0-only, see LICENSE and LICENSING.md. Earlier versions, up to commit db5205c, stay GPL-3.0-only. Darkmoon itself is AGPL-3.0, see LICENSING.md.