automajicly/Local_Security_Model
1
๐ PenMaster Security
Autonomous AI-powered penetration testing agent โ fully local, no cloud, no API keys.
Built on Kali Linux with a local LLM (Qwen 2.5-14B via LM Studio) and a Flask-based MCP tool server. The agent runs recon, attacks, and generates professional pentest reports โ all autonomously.
What It Does
- ๐ Autonomous recon โ masscan + nmap to discover open ports and services
- โ๏ธ Autonomous attack loop โ selects and chains tools based on what it finds
- ๐ง Persistent negative experience cache โ learns what fails across ALL sessions and never repeats mistakes
- ๐ Auto-generates branded HTML pentest reports on session end (Ctrl+C)
- ๐ 100% local โ Qwen 2.5-14B running in LM Studio, nothing leaves your machine
Tool Arsenal (18 Tools)
Sovereign Agent Upgrades
- โ Autonomous tool reasoning โ agent selects tools based on discovered services
- โ Persistent negative experience cache โ SHA-256 fingerprinting blacklists failing tool/parameter combos across sessions
- โ Social Engineering Toolkit (SET) integration
- โ Auto HTML pentest report generation
Stack
- Model: Qwen 2.5-14B Instruct (abliterated) via LM Studio
- OS: Kali Linux
- Server: Flask MCP server (port 8000)
- Agent: Python autonomous loop
- Reports: Auto-generated HTML on exit
Intended Use
Designed for:
- Professional penetration testing against authorized targets only
- Security audits for small businesses, WordPress sites, and ecommerce
- Bug bounty hunting workflows
- AI/security research and development
