Nodebuntu Recon Agent is an autonomous AI-driven cybersecurity operator running directly on an Ubuntu server. This bot is more than just a chatbot; it's an agent with its own "thought cycle" designed for proactive reconnaissance, vulnerability analysis, and server monitoring.
- 🧠 Agentic AI Loop: Utilizes LLMs (Groq/OpenRouter) to reason, select tools, and act autonomously.
- 🛡️ Autonomous Mode: The AI works independently in the background (
/autoon) to find security flaws without manual commands. - 📡 Advanced Monitoring: Real-time server status reports with visualizations for CPU, RAM, Disk usage, and service health (Nginx, SSH, Tor, etc.).
- 🔍 Integrated Recon Toolkit: Automated orchestration for
subfinder,nuclei,httpx,naabu, andkatana. - 🔒 Security First:
- No Hardcoded Passwords: Uses the
sudoerssystem for root operations. - Injection Shielding: Protects the AI from malicious input through tool output isolation.
- Command Allowlist: Restricts executable commands for system safety.
- No Hardcoded Passwords: Uses the
The project is built with a clean modular structure:
internal/state/: Central hub for global state and AI memory.pkg/ai/: AI engine logic, command processing, and autonomous loops.pkg/tools/: System command execution layer and security validation.pkg/recon/: Core reconnaissance logic and scope management.pkg/bot/: Telegram interface and user command handling.
- Go 1.22 or newer.
- Telegram Bot Token.
- Groq or OpenRouter API Key.
git clone https://github.com/parothegreat/go-bot.git
cd go-botCreate a .env file in the root directory:
TELEGRAM_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id
AI_API_KEY=your_ai_api_key
# Optional:
# AI_BASE_URL=https://openrouter.ai/api/v1
# AI_MODEL=llama-3.3-70b-versatileTo enable the /clean feature safely, add your user to sudoers:
sudo visudo
# Add the following line at the end of the file:
username ALL=(ALL) NOPASSWD: /usr/bin/apt autoremove, /usr/bin/apt cleango build -o recon-bot main.go
./recon-bot/status- View server health and recon progress./scan- Run a full reconnaissance cycle manually./autoon- Enable Autonomous Mode (AI works independently)./missions- View autonomous AI activity logs./thought- Inspect the AI's latest reasoning/analysis./ai <query>- Interact directly with the AI Agent.
Contributions are welcome! Please open an Issue or submit a Pull Request.
This project is licensed under the MIT License.
Built with ❤️ for the Cybersecurity community.