Local_Security_Model

#2
by automajicly - opened
Files changed (1) hide show
  1. README.md +76 -80
README.md CHANGED
@@ -1,106 +1,102 @@
1
  ---
2
  license: mit
3
- language:
4
- - en
5
  tags:
6
- - penetration-testing
7
- - autonomous-agent
8
- - mcp
9
- - kali-linux
10
- - llm
11
- - cybersecurity
12
- - red-team
13
- - ethical-hacking
14
- - bug-bounty
15
- - python
16
- - flask
17
- - bug-bounty,
18
- - pentesting-tools,
19
- - mcp,
20
- - mcp-server,
21
- - mcp-agent-loop,
22
- - ethical-hacker,
23
- - ethical-hacking-tools,
24
- library_name: other
25
- pipeline_tag: text-generation
26
  base_model:
27
- - Qwen/Qwen2.5-1.5B-Instruct-GGUF
 
 
28
  ---
29
 
30
- # πŸ” PenMaster Security
31
 
32
- **Autonomous AI-powered penetration testing agent β€” fully local, no cloud, no API keys.**
33
 
34
- 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.
 
 
35
 
36
- ![demo](./Final_EDIT.gif)
37
 
38
- ---
39
 
40
- ## What It Does
 
41
 
42
- - πŸ” Autonomous recon β€” masscan + nmap to discover open ports and services
43
- - βš”οΈ Autonomous attack loop β€” selects and chains tools based on what it finds
44
- - 🧠 Persistent negative experience cache β€” learns what fails across ALL sessions and never repeats mistakes
45
- - πŸ“ Auto-generates branded HTML pentest reports on session end (Ctrl+C)
46
- - πŸ”’ 100% local β€” Qwen 2.5-14B running in LM Studio, nothing leaves your machine
47
 
48
- ---
 
49
 
50
- ## Tool Arsenal (18 Tools)
51
-
52
- | Tool | Purpose |
53
- |------|---------|
54
- | `run_masscan` | Fast port discovery |
55
- | `run_nmap` | Deep service/version scanning |
56
- | `run_nikto` | Web vulnerability scanning |
57
- | `run_sqlmap` | SQL injection testing |
58
- | `run_hydra` | Credential brute forcing |
59
- | `run_ncrack` | Network authentication cracking |
60
- | `run_searchsploit` | CVE/exploit database lookup |
61
- | `run_metasploit` | Exploit framework integration |
62
- | `run_curl` | HTTP interaction and payload staging |
63
- | `run_wget` | File retrieval and payload staging |
64
- | `run_enum4linux` | SMB/Samba enumeration |
65
- | `run_smbclient` | SMB share access and enumeration |
66
- | `run_ftp` | FTP service interaction |
67
- | `run_ssh` | SSH service interaction |
68
- | `run_telnet` | Telnet service interaction |
69
- | `run_wpscan` | WordPress vulnerability scanning |
70
- | `run_dirb` | Web directory brute forcing |
71
- | `run_set` | Social Engineering Toolkit |
72
 
73
- ---
74
 
75
- ## Sovereign Agent Upgrades
 
 
 
 
76
 
77
- - βœ… Autonomous tool reasoning β€” agent selects tools based on discovered services
78
- - βœ… Persistent negative experience cache β€” SHA-256 fingerprinting blacklists failing tool/parameter combos across sessions
79
- - βœ… Social Engineering Toolkit (SET) integration
80
- - βœ… Auto HTML pentest report generation
81
 
82
- ---
 
83
 
84
- ## Stack
 
 
 
 
85
 
86
- - **Model:** Qwen 2.5-14B Instruct (abliterated) via LM Studio
87
- - **OS:** Kali Linux
88
- - **Server:** Flask MCP server (port 8000)
89
- - **Agent:** Python autonomous loop
90
- - **Reports:** Auto-generated HTML on exit
91
 
92
- ---
93
 
94
- ## Intended Use
 
 
95
 
96
- Designed for:
97
- - Professional penetration testing against **authorized targets only**
98
- - Security audits for small businesses, WordPress sites, and ecommerce
99
- - Bug bounty hunting workflows
100
- - AI/security research and development
101
 
102
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
 
104
- ## GitHub
105
 
106
- [XenoCoreGiger31/Local-Model](https://github.com/XenoCoreGiger31/Local-Model)
 
1
  ---
2
  license: mit
 
 
3
  tags:
4
+ - security
5
+ - pentesting
6
+ - autonomous-agent
7
+ - cybersecurity
8
+ - tool-use
9
+ - qwen2.5
10
+ language:
11
+ - en
 
 
 
 
 
 
 
 
 
 
 
 
12
  base_model:
13
+ - bartowski/Qwen2.5-14B_Uncensored_Instruct-GGUF
14
+ pipeline_tag: text-generation
15
+ library_name: transformers
16
  ---
17
 
18
+ ![PenMaster Banner](banner_animated.gif)
19
 
20
+ ![demo](./Final_EDIT.gif)
21
 
22
+ <video autoplay loop muted playsinline width="100%">
23
+ <source src="./Final_EDIT.mp4" type="video/mp4">
24
+ </video>
25
 
 
26
 
27
+ πŸ” Local Security Model β€” Autonomous Pentesting Agent
28
 
29
+ Developed by: automajicly
30
+ Built on: Qwen2.5-14b-Instruct-Uncensored-GGUF by Bartowski
31
 
32
+ OVERVIEW
 
 
 
 
33
 
34
+ Local_Security_Model is an autonomous penetration testing agent designed for professional security assessments. Built on top of Qwen 2.5, it operates through a custom MCP (Model Context Protocol) architecture that enables real-time tool orchestration, vulnerability discovery, and exploit chaining β€” all running locally with no cloud dependency.
35
+ This agent was developed as the core engine behind PenMaster Security, targeting small business security audits, WordPress hardening, and ecommerce vulnerability assessments.
36
 
37
+ Key Capabilities
38
+ β€’ Autonomous reconnaissance β€” masscan + nmap port/service enumeration with zero manual input
39
+ β€’ Vulnerability assessment β€” searchsploit integration for CVE matching against discovered services
40
+ β€’ Web application testing β€” nikto and sqlmap for injection and misconfiguration detection
41
+ β€’ Credential auditing β€” hydra and ncrack for multi-protocol brute force testing
42
+ β€’ Payload delivery β€” curl/wget for staged payload retrieval and HTTP interaction
43
+ β€’ Structured reporting β€” auto-generated HTML pentest reports with severity ratings and remediation guidance
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
+ Architecture
46
 
47
+ agent_loop.py ← LLM reasoning + tool chain generation (Qwen 2.5 via LM Studio)
48
+ mcp_server.py ← Flask-based tool execution server (port 8000, systemd managed)
49
+ report_generator.py ← HTML report engine with PenMaster branding
50
+ logs/ ← Structured JSON session logs
51
+ reports/ ← Auto-generated client-facing pentest reports
52
 
 
 
 
 
53
 
54
+ Model backend:
55
+ Qwen 2.5-14B served locally via LM StudioExecution layer: Flask MCP server with systemd auto-restartInterface: Terminal-native, SSH-accessible from remote IDEs (Cursor)
56
 
57
+ Tool Stack:
58
+
59
+ TOOL PURPOSE
60
+
61
+ masscan High speed port scanning
62
 
63
+ nmap Service/version enumeration
 
 
 
 
64
 
65
+ nitko Web server vulnerability scanning
66
 
67
+ sqlmap SQL injection detection
68
+
69
+ hydra Multi-protocol credential brute forcing
70
 
71
+ ncrack Network authentication cracking
 
 
 
 
72
 
73
+ searchsploit CVE/exploit database lookup
74
+
75
+ curl/wget HTTP interaction and payload staging
76
+
77
+
78
+
79
+ Intended Use
80
+
81
+ This model and agent stack is designed for:
82
+ β€’ Professional penetration testing against authorized targets
83
+ β€’ Security audits for small businesses, WordPress sites, and ecommerce platforms
84
+ β€’ Vulnerability research in isolated lab environments
85
+ β€’ Security education and CTF preparation
86
+ ⚠️ Authorized use only. This tool is intended exclusively for use against systems you own or have explicit written permission to test. Unauthorized use is illegal and unethical.
87
+
88
+
89
+ Target Environments
90
+ β€’ Kali Linux (primary deployment platform)
91
+ β€’ Isolated VM lab networks
92
+ β€’ Small business web infrastructure (with client authorization)
93
+
94
+
95
+ Business Context
96
+ Local_Security_Model is the core engine behind PenMaster Security β€” an independent penetration testing project offering:
97
+ β€’ Initial security audit and vulnerability report
98
+ β€’ Ongoing security hardening retainer
99
+ β€’ WordPress and ecommerce-focused assessments
100
+ πŸ“¬ Contact: GitHub.com/XenoCoreGiger31
101
 
 
102