pentesting 0.7.43 → 0.7.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -189,7 +189,20 @@ Complete
|
|
|
189
189
|
|
|
190
190
|
---
|
|
191
191
|
|
|
192
|
-
## 🤖
|
|
192
|
+
## 🤖 Agentic System (Dual Architecture)
|
|
193
|
+
|
|
194
|
+
### YAML-Based Agents (Primary)
|
|
195
|
+
New agents defined in `src/agents/specs/*.yaml` with auto-switching:
|
|
196
|
+
|
|
197
|
+
| YAML Agent | Phase | Description |
|
|
198
|
+
|------------|-------|-------------|
|
|
199
|
+
| `recon` | RECON, SCAN | Information gathering, port scanning |
|
|
200
|
+
| `web` | ENUM | Web application security, OWASP Top 10 |
|
|
201
|
+
| `exploit` | VULN, EXPLOIT | CVE research, exploit execution |
|
|
202
|
+
| `privesc` | PRIVESC, PIVOT, PERSIST | Privilege escalation techniques |
|
|
203
|
+
| `crypto` | EXFIL | Hash cracking, encryption analysis |
|
|
204
|
+
|
|
205
|
+
### Built-in Agents (Fallback)
|
|
193
206
|
|
|
194
207
|
| Agent | Specialty |
|
|
195
208
|
|-------|-----------|
|
|
@@ -203,6 +216,22 @@ Complete
|
|
|
203
216
|
| `attack-architect` | Attack strategy planning |
|
|
204
217
|
| `finding-reviewer` | Vulnerability validation |
|
|
205
218
|
|
|
219
|
+
### Agent Orchestration Flow
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
User Request → AutonomousHackingAgent
|
|
223
|
+
↓
|
|
224
|
+
Phase Change Detected (RECON → SCAN → ENUM → ...)
|
|
225
|
+
↓
|
|
226
|
+
autoSwitchAgentForPhase(phaseId)
|
|
227
|
+
├── Try YAML Agent First (SpecOrchestrator)
|
|
228
|
+
└── Fallback to Builtin Agent
|
|
229
|
+
↓
|
|
230
|
+
System Prompt = Base + Agent-Specific Instructions
|
|
231
|
+
↓
|
|
232
|
+
LLM Call with Specialized Context
|
|
233
|
+
```
|
|
234
|
+
|
|
206
235
|
---
|
|
207
236
|
|
|
208
237
|
## ⚙️ Configuration
|