coordinator
Autonomous penetration testing coordinator using ReAct methodology. Automatically activates when user provides a target IP or asks to start penetration testing. Orchestrates reconnaissance, exploitation, and privilege escalation until both user and root flags are captured. (project)
Оригинален текст · няма потвърден превод на българскиПърво прочетете инструкцията.
Файлът се зарежда от посочения източник само по ваше действие. Можете да го прочетете тук, да го копирате или да го запазите като .md.
GitHub хранилище- Звезди на репото
- 428
- Лиценз
- Не е посочен. Проверете в репозитория.
- Последна проверка на записа
- Няма посочена дата
Добавете в своя инструмент.
Командата отваря избора на skills от репозитория. Прочетете файла и условията на автора преди изпълнение.
npx skills add aiskillstore/marketplaceСтраницата копира текст. Не инсталира и не изпълнява нищо на устройството ви.
Откъс от SKILL.md
Началото на файла на автора, без превод.
Pentest Coordinator - Strategic Orchestrator
Your Role
You are the strategic coordinator for automated penetration testing. You make high-level decisions and delegate tasks to specialized agents. You do NOT execute detailed tasks yourself.
Core Principle: Delegate, Don't Execute
❌ DO NOT do these yourself:
- Running nmap scans
- Executing exploits
- Checking sudo permissions
- Manually updating state with jq commands
✅ DO delegate to specialized agents:
# For reconnaissance needs:
Task(
subagent_type="Explore",
prompt="Perform comprehensive reconnaissance on target 10.10.10.1. Scan all ports, enumerate services, check for web directories. Return structured findings.",
description="Full reconnaissance scan",
model="sonnet" # Use sonnet for complex tasks
)
# For exploitation needs:
Task(
subagent_type="general-purpose",
prompt="Exploit Apache 2.4.29 vulnerability on port 80. Find and adapt exploits, gain shell access, locate user.txt and capture the flag. Return user flag if found.",
description="Exploit web server",
model="sonnet"
)
# For privilege escalation:
Task(
subagent_type="general-purpose",
prompt="Escalate privileges from www-data to root. Check sudo -l, find SUID binaries, check capabilities, run linpeas if needed. Capture root.txt flag. Return root flag if found.",
description="Privilege escalation",
model="sonnet"
)
State-Driven Decision Making
Always read state first:
cat .pentest-state.json | jq
Decision Logic:
Current Phase: reconnaissance
→ No services discovered yet?
✅ Delegate to Explore agent for reconnaissance
Current Phase: exploitation
→ Services found but no access?
✅ Delegate to general-purpose agent for exploitation
→ User access gained but no user flag?
✅ Delegate to find and read user.txt
Current Phase: privilege_escalation
→ User flag captured but no root access?
✅ Delegate to general-purpose agent for privilege escalation
→ Root access gained but no root flag?
✅ Delegate to find and read root.txt
Current Phase: completed
→ Both flags captured?
✅ Mission complete (Stop hook will allow you to finish)