darkmoon-pentest
它能做什么
这个工具可以对你拥有或已获得测试授权的系统启动自动化安全测试。它会检查漏洞,并汇报发现的问题。
适用场景
- ✓想测试你所管理的网站或服务器的安全性时。
- ✓检查系统能否抵御常见攻击时。
- ✓想了解系统可能存在哪些安全缺陷时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/darkmoon-pentest/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请对我的网站 'mysite.com' 启动安全测试,我已获得授权。”
每周 5 个新技能,1 分钟读完。
工作原理
该工具会连接到你已设置好的 Darkmoon Pro 系统。它会发送指令启动测试,查看测试进度,然后收集结果展示给你。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- Wait for explicit confirmation in the current conversation.
Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
AUTHORIZED USE ONLY: Use this skill only for authorized security assessments, defensive validation, or controlled educational environments.
Darkmoon Pentest Runs
Overview
Darkmoon is an autonomous AI penetration testing platform: an LLM orchestrates specialist agents and offensive tools and proves each finding with a real exploit. The Darkmoon engine and CLI are open source (GPL-3.0). This skill drives a self-hosted Darkmoon Pro instance through the @darkmoon_ai/mcp-server MCP server, which talks to the Pro Dashboard API (DARKMOON_BASE_URL). The MCP server does not work against the open source CLI alone.
The skill covers the four MCP tools the server exposes: run_pentest, get_run_status, list_campaigns and get_findings.
When to Use This Skill
- Use when the user wants to start an autonomous penetration test against a target they own or are authorized in writing to test, using their own Darkmoon Pro instance.
- Use when the user asks for the status of a Darkmoon run.
- Use when the user wants to list Darkmoon campaigns.
- Use when the user wants to read, group and triage the findings of a Darkmoon campaign.
- Do not use if no Darkmoon Pro instance is available or the
darkmoonMCP server is not configured.
How It Works
Step 0: Confirm authorization and setup
Only start a run against a host, URL or scope that the user owns or is explicitly authorized in writing to test. If authorization is not stated, ask before calling run_pentest. Never widen the target beyond what the user named.
The MCP server reads DARKMOON_BASE_URL, DARKMOON_USERNAME and DARKMOON_PASSWORD from its environment. Never ask the user to paste credentials into the conversation.
Step 1: Start a run
Call run_pentest with target and, optionally, program, focus and severity. It returns a run_id; the run continues in the background and can take a long time.
Step 2: Follow the run
Call get_run_status with the run_id. It returns running, completed, error or unknown, plus the five most recent events. Poll sparingly and do not loop tightly.
Step 3: Find the campaign
Call list_campaigns to find the campaign id once the run has produced one.
Step 4: Read and triage findings
Call get_findings with the campaign_id. Each finding carries a title, severity, CVSS score, category, status (exploited, confirmed or unconfirmed), endpoint and remediation guidance, plus severity statistics.
Examples
Example 1: Install the MCP server
{
"mcpServers": {
"darkmoon": {
"command": "npx",
"args": ["-y", "@darkmoon_ai/mcp-server"],
"env": {
"DARKMOON_BASE_URL": "${DARKMOON_BASE_URL}",
"DARKMOON_USERNAME": "${DARKMOON_USERNAME}",
"DARKMOON_PASSWORD": "${DARKMOON_PASSWORD}"
}
}
}
}
Example 2: A typical request
User: "Run a pentest on staging.example.com, which we own, and summarize what was exploited."
- Confirm that
staging.example.comis in scope and authorized. run_pentestwithtarget: "staging.example.com", keep the returnedrun_id.- Poll
get_run_statusuntil the status iscompleted. list_campaigns, thenget_findingsfor the new campaign.- Report
exploitedandconfirmedfindings first, grouped by severity.
Best Practices
- Report findings grouped by severity and status; call out
exploitedandconfirmedfirst. - Treat
unconfirmedfindings as leads, and say that findings can include false positives and must be reviewed by a qualified human before anyone acts on them.
…
常见问题
使用这个工具需要获得许可吗?
需要。你只能对自己拥有或已获得书面测试许可的系统使用这个工具。未经许可进行测试是违法的。
什么是 Darkmoon Pro?
它是一个利用人工智能进行自动化安全测试的平台。这个工具连接的是其中的一个特定版本,即 Darkmoon Pro。
我可以测试任何网站吗?
不可以,只能测试你获得明确书面授权的网站或系统。未经许可测试系统是被禁止且违法的。
详情
作者的原始描述
Start, follow and triage authorized autonomous AI pentest runs on a self-hosted Darkmoon Pro instance through its MCP server.
热度
- GitHub 星标
- 48k
- 排名
- #4316
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。