drogonclaw
v1.0.2
Published
ππ₯ DrogonClaw β Autonomous AI Penetration Testing Framework
Maintainers
Readme
DrogonClaw ππ₯
AI-Driven Offensive Security Framework Developed by 0xP4X π Official Website: drogonclaw.xyz
DrogonClaw is a next-generation cyber operations platform. Rather than acting as a simple wrapper for Kali tools, DrogonClaw operates as a Command-and-Control (C2) Brain. It understands objectives, plans attack workflows, adapts to new discoveries, and orchestrates a swarm of specialized autonomous agents through a unified intelligence core.
DrogonClaw focuses on high-confidence autonomous workflows, explainable findings, and reproducible evidence, avoiding the hallucinations common in early AI security tools.
[!WARNING] Linux Only DrogonClaw is strictly designed and optimized for Linux-based operating systems (such as Kali Linux, Ubuntu, or Debian). It relies heavily on Linux-specific networking APIs, native filesystem permissions, and process management. It will not function on Windows or macOS.
ποΈ Architectural Pillars
flowchart TD
subgraph UI ["User Interfaces"]
CLI["π» CLI Terminal"]
TG["π± Telegram C2 Gateway"]
end
subgraph Core ["π§ DrogonClaw Engine"]
Orchestrator["LangChain ReAct Orchestrator"]
LootDB[("LootDB (SQLite)")]
OPSEC["OPSEC Cleanup Registry"]
end
subgraph Execution ["Isolated Execution Environment"]
Docker["π³ Ephemeral Docker Sandbox"]
Tools["Nmap, Metasploit, Custom Exploits"]
end
Target((("π― Target Network")))
UI -->|Natural Language Instructions| Orchestrator
Orchestrator <-->|Decoupled Memory| LootDB
Orchestrator -->|Registers Processes| OPSEC
Orchestrator -->|Deploys Payloads| Docker
Docker --- Tools
Tools -->|Exploits & Recon| Target
OPSEC -.->|LIFO Kill Signal| ExecutionThe platform revolves around three major pillars:
1. The Orchestration Core
- Mission Planner: Breaks down objectives, reasons about paths, and delegates to specialized agents.
- Intelligence Graph: A persistent, graph-based memory system that maps out discovered assets, vulnerabilities, and context across engagements.
- Evidence Validator: An AI validation layer that demands reproducible evidence, scoring confidence from 0-100% and rejecting hallucinations.
2. The Skill Ecosystem
A modular plugin architecture allowing seamless integration of:
- OSINT modules
- Network reconnaissance scanners
- Browser automation packs
- Exploit validators
3. Autonomous Execution Layer
DrogonClaw isolates operational risk through:
- Sandboxed Tool Execution: Running command-line tools (Nmap, Metasploit, etc.) in isolated Docker environments.
- Safety Monitors: Enforcing rate limits, scope boundaries, and timeout constraints.
π Quick Start & Setup Guide
DrogonClaw operates through multiple interconnected modules. You can run it locally from source, or install it globally as a standalone CLI tool.
1. Global Installation (Recommended)
DrogonClaw is published on NPM and can be installed globally:
npm install -g drogonclawOnce installed, simply run drogonclaw from anywhere on your system to launch the setup wizard and enter the AI.
2. Local Installation (For Developers)
git clone https://github.com/0xP4X/DrogoClaw.git
cd drogonclaw
npm install
npm run build
npm run cli3. Initialization Wizard
Upon the first launch of drogonclaw, the DrogonClaw Configuration Wizard will guide you through setting up your neural pathways:
- You will be prompted to select an AI Provider (OpenAI, Anthropic, OpenRouter, or local Ollama).
- You will securely enter your API keys.
- You can optionally configure a Telegram Gateway for remote mobile C2 operations.
If you ever need to reconfigure your setup, run drogonclaw setup or type /setup inside the interactive terminal.
4. Interactive Terminal & Dynamic Execution
Inside the drogon> prompt, you can converse with the AI naturally or use specific slash commands:
/skills- List all loaded penetration testing modules/setup- Relaunch the configuration wizard/clear- Wipe the terminal screen
Graceful Action Abortion: If DrogonClaw is running a long scan or executing an exploit and you want to steer it in a different direction, simply press Ctrl+C. This will instantly sever the active thread, halt all sandboxed executions, and drop you back to the prompt, preserving the session memory so you can inject new instructions.
π± Telegram Gateway
Allows you to text instructions to your agent from your phone:
npm run gatewaySecurity Note: You must provide your TELEGRAM_CHAT_ID during initialization to whitelist your account, otherwise the agent will reject all commands.
π οΈ Modularity & Swarm Intelligence
DrogonClaw is designed to scale into collaborative agent swarms. You can inject new specialized agents (e.g., a "Web Fuzzer Agent" or an "Active Directory Hound") without modifying the core orchestrator.
π¨βπ» Author
0xP4X
- GitHub: @0xP4X
β οΈ Disclaimer
DrogonClaw is designed for authorized security testing only. Always ensure you have explicit permission before testing any system. Unauthorized access to computer systems is illegal.
π License
MIT
