create_attack_chain
Generate intelligent attack chains for bug bounty hunting by sequencing security tools based on target profiles and objectives like comprehensive or stealth testing.
Instructions
Create intelligent attack chain based on target profile.
Args: target: Target domain, IP, or URL objective: Attack objective (comprehensive, fast, stealth, targeted)
Returns: Intelligent attack chain with sequenced tools
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objective | No | comprehensive | |
| target | Yes |
Implementation Reference
- src/mcp_server/app.py:1564-1586 (handler)MCP tool handler implementation for 'create_attack_chain'. This function registers the tool with FastMCP and proxies requests to the backend REST API at '/api/intelligence/create-attack-chain' for generating an intelligent attack chain based on target analysis.def create_attack_chain( target: str, objective: str = "comprehensive" ) -> dict[str, Any]: """Create intelligent attack chain based on target profile. Args: target: Target domain, IP, or URL objective: Attack objective (comprehensive, fast, stealth, targeted) Returns: Intelligent attack chain with sequenced tools """ data = {"target": target, "objective": objective} logger.info(f"⚔️ Creating attack chain for {target} with {objective} objective") result = api_client.safe_post("api/intelligence/create-attack-chain", data) if result.get("success"): logger.info(f"✅ Attack chain created for {target}") else: logger.error(f"❌ Attack chain creation failed for {target}") return result