specter-vicious-ce 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- specter_vicious_ce-1.0.0/LICENSE +180 -0
- specter_vicious_ce-1.0.0/PKG-INFO +182 -0
- specter_vicious_ce-1.0.0/README.md +135 -0
- specter_vicious_ce-1.0.0/pyproject.toml +83 -0
- specter_vicious_ce-1.0.0/setup.cfg +4 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/__init__.py +12 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/attacks/__init__.py +1 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/campaign.py +154 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/cli.py +212 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/core/__init__.py +1 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/core/gates.py +80 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/core/roe.py +105 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/core/target.py +103 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/engines/__init__.py +1 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/engines/armory.py +264 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/engines/deepseek.py +233 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/engines/prion.py +289 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/subsystems/__init__.py +1 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/subsystems/adapt.py +160 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/subsystems/armory_select.py +90 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/subsystems/orchestrate.py +225 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/subsystems/prion_mutate.py +97 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/subsystems/reasoning.py +124 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/subsystems/reconnaissance.py +252 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce/subsystems/report.py +180 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce.egg-info/PKG-INFO +182 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce.egg-info/SOURCES.txt +34 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce.egg-info/dependency_links.txt +1 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce.egg-info/entry_points.txt +2 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce.egg-info/requires.txt +27 -0
- specter_vicious_ce-1.0.0/specter_vicious_ce.egg-info/top_level.txt +1 -0
- specter_vicious_ce-1.0.0/tests/test_core.py +146 -0
- specter_vicious_ce-1.0.0/tests/test_engines.py +101 -0
- specter_vicious_ce-1.0.0/tests/test_integration.py +76 -0
- specter_vicious_ce-1.0.0/tests/test_mutations.py +324 -0
- specter_vicious_ce-1.0.0/tests/test_subsystems.py +180 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship made available under
|
|
36
|
+
the License, as indicated by a copyright notice that is included in
|
|
37
|
+
or attached to the work (an example is provided in the Appendix below).
|
|
38
|
+
|
|
39
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
40
|
+
form, that is based on (or derived from) the Work and for which the
|
|
41
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
42
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
43
|
+
of this License, Derivative Works shall not include works that remain
|
|
44
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
45
|
+
the Work and Derivative Works thereof.
|
|
46
|
+
|
|
47
|
+
"Contribution" shall mean, as submitted to the Licensor for inclusion
|
|
48
|
+
in the Work by the copyright owner or by an individual or Legal Entity
|
|
49
|
+
authorized to submit on behalf of the copyright owner. For the purposes
|
|
50
|
+
of this definition, "submitted" means any form of electronic, verbal,
|
|
51
|
+
or written communication sent to the Licensor or its representatives,
|
|
52
|
+
including but not limited to communication on electronic mailing lists,
|
|
53
|
+
source code control systems, and issue tracking systems that are managed
|
|
54
|
+
by, or on behalf of, the Licensor for the purpose of discussing and
|
|
55
|
+
improving the Work, but excluding communication that is conspicuously
|
|
56
|
+
marked or otherwise designated in writing by the copyright owner as
|
|
57
|
+
"Not a Contribution."
|
|
58
|
+
|
|
59
|
+
"Contributor" shall mean Licensor and any Legal Entity on behalf of
|
|
60
|
+
whom a Contribution has been received by the Licensor and subsequently
|
|
61
|
+
incorporated within the Work.
|
|
62
|
+
|
|
63
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
64
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
65
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
66
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
67
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
68
|
+
Work and such Derivative Works in Source or Object form.
|
|
69
|
+
|
|
70
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
71
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
72
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
73
|
+
(except as stated in this section) patent license to make, have made,
|
|
74
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
75
|
+
where such license applies only to those patent claims licensable
|
|
76
|
+
by such Contributor that are necessarily infringed by their
|
|
77
|
+
Contribution(s) alone or by the combination of their Contribution(s)
|
|
78
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
79
|
+
institute patent litigation against any entity (including a cross-claim
|
|
80
|
+
or counterclaim in a lawsuit) alleging that the Work or any
|
|
81
|
+
Contribution incorporated within the Work constitutes direct or
|
|
82
|
+
contributory patent infringement, then any patent licenses granted to
|
|
83
|
+
You under this License for that Work shall terminate as of the date
|
|
84
|
+
such litigation is filed.
|
|
85
|
+
|
|
86
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
87
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
88
|
+
modifications, and in Source or Object form, provided that You
|
|
89
|
+
meet the following conditions:
|
|
90
|
+
|
|
91
|
+
(a) You must give any other recipients of the Work or
|
|
92
|
+
Derivative Works a copy of this License; and
|
|
93
|
+
|
|
94
|
+
(b) You must cause any modified files to carry prominent notices
|
|
95
|
+
stating that You changed the files; and
|
|
96
|
+
|
|
97
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
98
|
+
that You distribute, all copyright, patent, trademark, and
|
|
99
|
+
attribution notices from the Source form of the Work,
|
|
100
|
+
excluding those notices that do not pertain to any part of
|
|
101
|
+
the Derivative Works; and
|
|
102
|
+
|
|
103
|
+
(d) If the Work includes a "NOTICE" text file, You must include a
|
|
104
|
+
readable copy of the attribution notices contained within such
|
|
105
|
+
NOTICE file, in at least one of the following places: within a
|
|
106
|
+
NOTICE text file distributed as part of the Derivative Works;
|
|
107
|
+
within the Source form or documentation, if provided along with
|
|
108
|
+
the Derivative Works; or, within a display generated by the
|
|
109
|
+
Derivative Works, if and wherever such third-party notices
|
|
110
|
+
normally appear. The contents of the NOTICE file are for
|
|
111
|
+
informational purposes only and do not modify the License.
|
|
112
|
+
You may add Your own attribution notices within Derivative Works
|
|
113
|
+
that You distribute, alongside or as an addendum to the NOTICE
|
|
114
|
+
text from the Work, provided that such additional attribution
|
|
115
|
+
notices cannot be construed as modifying the License.
|
|
116
|
+
|
|
117
|
+
You may add Your own license statement for Your modifications and
|
|
118
|
+
may provide additional grant of rights to use, reproduce, modify,
|
|
119
|
+
prepare Derivative Works of, publicly display, publicly perform,
|
|
120
|
+
sublicense, and distribute those modifications and Derivative Works.
|
|
121
|
+
|
|
122
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
123
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
124
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
125
|
+
this License, without any additional terms or conditions.
|
|
126
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
127
|
+
the terms of any separate license agreement you may have executed
|
|
128
|
+
with Licensor regarding such Contributions.
|
|
129
|
+
|
|
130
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
131
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
132
|
+
except as required for reasonable and customary use in describing the
|
|
133
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
134
|
+
|
|
135
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
136
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
137
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
138
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
139
|
+
implied, including, without limitation, any warranties or conditions
|
|
140
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
141
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
142
|
+
appropriateness of using or reproducing the Work and assume any
|
|
143
|
+
risks associated with Your exercise of permissions under this License.
|
|
144
|
+
|
|
145
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
146
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
147
|
+
unless required by applicable law (such as deliberate and grossly
|
|
148
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
149
|
+
liable to You for damages, including any direct, indirect, special,
|
|
150
|
+
incidental, or exemplary damages of any character arising as a
|
|
151
|
+
result of this License or out of the use or inability to use the
|
|
152
|
+
Work (even if such Contributor has been advised of the possibility
|
|
153
|
+
of such damages).
|
|
154
|
+
|
|
155
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
156
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
157
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
158
|
+
or other liability obligations and/or rights consistent with this
|
|
159
|
+
License. However, in accepting such obligations, You may act only
|
|
160
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
161
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
162
|
+
defend, and hold each Contributor harmless for any liability
|
|
163
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
164
|
+
of your accepting any such warranty or additional liability.
|
|
165
|
+
|
|
166
|
+
END OF TERMS AND CONDITIONS
|
|
167
|
+
|
|
168
|
+
Copyright 2026 Red Specter Security Research Ltd
|
|
169
|
+
|
|
170
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
171
|
+
you may not use this file except in compliance with the License.
|
|
172
|
+
You may obtain a copy of the License at
|
|
173
|
+
|
|
174
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
175
|
+
|
|
176
|
+
Unless required by applicable law or agreed to in writing, software
|
|
177
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
178
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
179
|
+
See the License for the specific language governing permissions and
|
|
180
|
+
limitations under the License.
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: specter-vicious-ce
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: SPECTER VICIOUS CE — AI-Driven Web Application Penetration Testing. Community Edition.
|
|
5
|
+
Author-email: Richard Barron <richard@red-specter.co.uk>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://red-specter.co.uk
|
|
8
|
+
Project-URL: Repository, https://github.com/RichardBarron27/specter-vicious-ce
|
|
9
|
+
Keywords: security,pentesting,ai,exploit,autonomous
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Information Technology
|
|
12
|
+
Classifier: Topic :: Security
|
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: click>=8.1.7
|
|
21
|
+
Requires-Dist: requests>=2.31.0
|
|
22
|
+
Requires-Dist: beautifulsoup4>=4.12.3
|
|
23
|
+
Requires-Dist: lxml>=5.1.0
|
|
24
|
+
Requires-Dist: httpx>=0.27.0
|
|
25
|
+
Requires-Dist: aiohttp>=3.9.3
|
|
26
|
+
Requires-Dist: pydantic>=2.6.1
|
|
27
|
+
Requires-Dist: rich>=13.7.0
|
|
28
|
+
Requires-Dist: pynacl>=1.5.0
|
|
29
|
+
Requires-Dist: ollama>=0.1.6
|
|
30
|
+
Requires-Dist: numpy>=1.26.4
|
|
31
|
+
Requires-Dist: torch>=2.2.0
|
|
32
|
+
Requires-Dist: colorama>=0.4.6
|
|
33
|
+
Requires-Dist: python-dotenv>=1.0.1
|
|
34
|
+
Requires-Dist: playwright>=1.42.0
|
|
35
|
+
Requires-Dist: sqlparse>=0.4.4
|
|
36
|
+
Requires-Dist: dnspython>=2.6.1
|
|
37
|
+
Requires-Dist: cryptography>=42.0.5
|
|
38
|
+
Provides-Extra: dev
|
|
39
|
+
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
40
|
+
Requires-Dist: pytest-asyncio>=0.23.5; extra == "dev"
|
|
41
|
+
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
|
|
42
|
+
Requires-Dist: pytest-timeout>=2.2.0; extra == "dev"
|
|
43
|
+
Requires-Dist: black>=24.2.0; extra == "dev"
|
|
44
|
+
Requires-Dist: mypy>=1.8.0; extra == "dev"
|
|
45
|
+
Requires-Dist: ruff>=0.2.2; extra == "dev"
|
|
46
|
+
Dynamic: license-file
|
|
47
|
+
|
|
48
|
+
# SPECTER VICIOUS CE — AI-Driven Web Application Penetration Testing
|
|
49
|
+
|
|
50
|
+
The first AI-native autonomous web application penetration testing tool.
|
|
51
|
+
DeepSeek R1 reasoning. GPU-accelerated payload mutation. Built for defended targets.
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## What is it?
|
|
56
|
+
|
|
57
|
+
SPECTER VICIOUS CE is an autonomous web application penetration testing tool.
|
|
58
|
+
|
|
59
|
+
It doesn't run checklists. It reasons about your target, selects payloads,
|
|
60
|
+
mutates them to evade defences, adapts when blocked, and reports everything.
|
|
61
|
+
|
|
62
|
+
Standard tools time out against enterprise WAF. SPECTER VICIOUS CE evolves past it.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## How it works
|
|
67
|
+
|
|
68
|
+
Point it at a target with a signed ROE file. Set the gate. It runs.
|
|
69
|
+
|
|
70
|
+
DeepSeek R1 plans the attack strategy. PRION generates WAF-evading payload variants
|
|
71
|
+
on GPU. ADAPT monitors defence responses and feeds intelligence back to REASONING.
|
|
72
|
+
REPORT documents everything in real time.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 7 Subsystems
|
|
77
|
+
|
|
78
|
+
| Subsystem | Role |
|
|
79
|
+
|---|---|
|
|
80
|
+
| RECONNAISSANCE | Target profiling, tech stack fingerprinting, WAF detection |
|
|
81
|
+
| REASONING | DeepSeek R1 32B/7B attack planning and strategy pivots |
|
|
82
|
+
| ARMORY-SELECT | Payload selection from 60+ exploits filtered by target profile |
|
|
83
|
+
| PRION-MUTATE | GPU-accelerated WAF-evading payload mutation (20x CPU speed) |
|
|
84
|
+
| ORCHESTRATE | Adaptive attack execution with timing and rate limit management |
|
|
85
|
+
| ADAPT | Real-time defence analysis and strategy feedback loop |
|
|
86
|
+
| REPORT | Full markdown and JSON output with vulnerability documentation |
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 2 Gates
|
|
91
|
+
|
|
92
|
+
| Gate | Capability |
|
|
93
|
+
|---|---|
|
|
94
|
+
| OPEN | Reconnaissance only — safe profiling, no exploitation |
|
|
95
|
+
| INJECT | Full exploitation — RECONNAISSANCE through REPORT |
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Install
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
pip install specter-vicious-ce
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Requires Python 3.10+, ollama (DeepSeek R1 7B or 32B).
|
|
106
|
+
GPU optional — degrades gracefully to CPU without CUDA.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Quick Start
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
# Recon only
|
|
114
|
+
specter-vicious-ce --target https://example.com --gate OPEN --roe roe.json
|
|
115
|
+
|
|
116
|
+
# Full exploitation
|
|
117
|
+
specter-vicious-ce --target https://example.com --gate INJECT --roe roe.json
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## ROE File
|
|
123
|
+
|
|
124
|
+
All engagements require a signed Rules of Engagement file.
|
|
125
|
+
|
|
126
|
+
```json
|
|
127
|
+
{
|
|
128
|
+
"roe_id": "ROE-001",
|
|
129
|
+
"target": "https://example.com",
|
|
130
|
+
"scope": ["https://example.com/*"],
|
|
131
|
+
"expires": "2027-12-31T23:59:59",
|
|
132
|
+
"gates": ["OPEN", "INJECT"],
|
|
133
|
+
"signed_by": "Authorized Pentester",
|
|
134
|
+
"signature": "YOUR_SIGNATURE_HERE",
|
|
135
|
+
"notes": "Authorized penetration test."
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## Requirements
|
|
142
|
+
|
|
143
|
+
- Python 3.10+
|
|
144
|
+
- ollama with DeepSeek R1 7B or 32B
|
|
145
|
+
- CUDA GPU recommended (RTX 3090 tested — 20x speedup over CPU)
|
|
146
|
+
- Kali Linux recommended
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Legal
|
|
151
|
+
|
|
152
|
+
For authorized penetration testing only.
|
|
153
|
+
Always obtain written permission before testing any system.
|
|
154
|
+
The ROE gate enforces scope — the tool will not run without a valid ROE file.
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Full Version
|
|
159
|
+
|
|
160
|
+
SPECTER VICIOUS MILSPEC includes two additional gates:
|
|
161
|
+
|
|
162
|
+
- EVOLVE — continuous adaptation mode, never stops learning
|
|
163
|
+
- UNLEASHED — full offensive capability including persistence and harvest
|
|
164
|
+
|
|
165
|
+
Contact: red-specter.co.uk
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## About
|
|
170
|
+
|
|
171
|
+
Built by Red Specter Security Research Ltd — the AI offensive and defensive
|
|
172
|
+
security research company.
|
|
173
|
+
|
|
174
|
+
NIGHTFALL | AI Shield | BLACK BOX
|
|
175
|
+
|
|
176
|
+
red-specter.co.uk
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## License
|
|
181
|
+
|
|
182
|
+
Apache 2.0 — see LICENSE file.
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# SPECTER VICIOUS CE — AI-Driven Web Application Penetration Testing
|
|
2
|
+
|
|
3
|
+
The first AI-native autonomous web application penetration testing tool.
|
|
4
|
+
DeepSeek R1 reasoning. GPU-accelerated payload mutation. Built for defended targets.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## What is it?
|
|
9
|
+
|
|
10
|
+
SPECTER VICIOUS CE is an autonomous web application penetration testing tool.
|
|
11
|
+
|
|
12
|
+
It doesn't run checklists. It reasons about your target, selects payloads,
|
|
13
|
+
mutates them to evade defences, adapts when blocked, and reports everything.
|
|
14
|
+
|
|
15
|
+
Standard tools time out against enterprise WAF. SPECTER VICIOUS CE evolves past it.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## How it works
|
|
20
|
+
|
|
21
|
+
Point it at a target with a signed ROE file. Set the gate. It runs.
|
|
22
|
+
|
|
23
|
+
DeepSeek R1 plans the attack strategy. PRION generates WAF-evading payload variants
|
|
24
|
+
on GPU. ADAPT monitors defence responses and feeds intelligence back to REASONING.
|
|
25
|
+
REPORT documents everything in real time.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 7 Subsystems
|
|
30
|
+
|
|
31
|
+
| Subsystem | Role |
|
|
32
|
+
|---|---|
|
|
33
|
+
| RECONNAISSANCE | Target profiling, tech stack fingerprinting, WAF detection |
|
|
34
|
+
| REASONING | DeepSeek R1 32B/7B attack planning and strategy pivots |
|
|
35
|
+
| ARMORY-SELECT | Payload selection from 60+ exploits filtered by target profile |
|
|
36
|
+
| PRION-MUTATE | GPU-accelerated WAF-evading payload mutation (20x CPU speed) |
|
|
37
|
+
| ORCHESTRATE | Adaptive attack execution with timing and rate limit management |
|
|
38
|
+
| ADAPT | Real-time defence analysis and strategy feedback loop |
|
|
39
|
+
| REPORT | Full markdown and JSON output with vulnerability documentation |
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 2 Gates
|
|
44
|
+
|
|
45
|
+
| Gate | Capability |
|
|
46
|
+
|---|---|
|
|
47
|
+
| OPEN | Reconnaissance only — safe profiling, no exploitation |
|
|
48
|
+
| INJECT | Full exploitation — RECONNAISSANCE through REPORT |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Install
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
pip install specter-vicious-ce
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Requires Python 3.10+, ollama (DeepSeek R1 7B or 32B).
|
|
59
|
+
GPU optional — degrades gracefully to CPU without CUDA.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Quick Start
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# Recon only
|
|
67
|
+
specter-vicious-ce --target https://example.com --gate OPEN --roe roe.json
|
|
68
|
+
|
|
69
|
+
# Full exploitation
|
|
70
|
+
specter-vicious-ce --target https://example.com --gate INJECT --roe roe.json
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## ROE File
|
|
76
|
+
|
|
77
|
+
All engagements require a signed Rules of Engagement file.
|
|
78
|
+
|
|
79
|
+
```json
|
|
80
|
+
{
|
|
81
|
+
"roe_id": "ROE-001",
|
|
82
|
+
"target": "https://example.com",
|
|
83
|
+
"scope": ["https://example.com/*"],
|
|
84
|
+
"expires": "2027-12-31T23:59:59",
|
|
85
|
+
"gates": ["OPEN", "INJECT"],
|
|
86
|
+
"signed_by": "Authorized Pentester",
|
|
87
|
+
"signature": "YOUR_SIGNATURE_HERE",
|
|
88
|
+
"notes": "Authorized penetration test."
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Requirements
|
|
95
|
+
|
|
96
|
+
- Python 3.10+
|
|
97
|
+
- ollama with DeepSeek R1 7B or 32B
|
|
98
|
+
- CUDA GPU recommended (RTX 3090 tested — 20x speedup over CPU)
|
|
99
|
+
- Kali Linux recommended
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Legal
|
|
104
|
+
|
|
105
|
+
For authorized penetration testing only.
|
|
106
|
+
Always obtain written permission before testing any system.
|
|
107
|
+
The ROE gate enforces scope — the tool will not run without a valid ROE file.
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Full Version
|
|
112
|
+
|
|
113
|
+
SPECTER VICIOUS MILSPEC includes two additional gates:
|
|
114
|
+
|
|
115
|
+
- EVOLVE — continuous adaptation mode, never stops learning
|
|
116
|
+
- UNLEASHED — full offensive capability including persistence and harvest
|
|
117
|
+
|
|
118
|
+
Contact: red-specter.co.uk
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## About
|
|
123
|
+
|
|
124
|
+
Built by Red Specter Security Research Ltd — the AI offensive and defensive
|
|
125
|
+
security research company.
|
|
126
|
+
|
|
127
|
+
NIGHTFALL | AI Shield | BLACK BOX
|
|
128
|
+
|
|
129
|
+
red-specter.co.uk
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## License
|
|
134
|
+
|
|
135
|
+
Apache 2.0 — see LICENSE file.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "specter-vicious-ce"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "SPECTER VICIOUS CE — AI-Driven Web Application Penetration Testing. Community Edition."
|
|
9
|
+
authors = [
|
|
10
|
+
{name = "Richard Barron", email = "richard@red-specter.co.uk"}
|
|
11
|
+
]
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
requires-python = ">=3.10"
|
|
14
|
+
license = {text = "Apache-2.0"}
|
|
15
|
+
keywords = ["security", "pentesting", "ai", "exploit", "autonomous"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 5 - Production/Stable",
|
|
18
|
+
"Intended Audience :: Information Technology",
|
|
19
|
+
"Topic :: Security",
|
|
20
|
+
"License :: OSI Approved :: Apache Software License",
|
|
21
|
+
"Programming Language :: Python :: 3.10",
|
|
22
|
+
"Programming Language :: Python :: 3.11",
|
|
23
|
+
"Programming Language :: Python :: 3.12",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
dependencies = [
|
|
27
|
+
"click>=8.1.7",
|
|
28
|
+
"requests>=2.31.0",
|
|
29
|
+
"beautifulsoup4>=4.12.3",
|
|
30
|
+
"lxml>=5.1.0",
|
|
31
|
+
"httpx>=0.27.0",
|
|
32
|
+
"aiohttp>=3.9.3",
|
|
33
|
+
"pydantic>=2.6.1",
|
|
34
|
+
"rich>=13.7.0",
|
|
35
|
+
"pynacl>=1.5.0",
|
|
36
|
+
"ollama>=0.1.6",
|
|
37
|
+
"numpy>=1.26.4",
|
|
38
|
+
"torch>=2.2.0",
|
|
39
|
+
"colorama>=0.4.6",
|
|
40
|
+
"python-dotenv>=1.0.1",
|
|
41
|
+
"playwright>=1.42.0",
|
|
42
|
+
"sqlparse>=0.4.4",
|
|
43
|
+
"dnspython>=2.6.1",
|
|
44
|
+
"cryptography>=42.0.5",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
[project.optional-dependencies]
|
|
48
|
+
dev = [
|
|
49
|
+
"pytest>=8.0.0",
|
|
50
|
+
"pytest-asyncio>=0.23.5",
|
|
51
|
+
"pytest-cov>=4.1.0",
|
|
52
|
+
"pytest-timeout>=2.2.0",
|
|
53
|
+
"black>=24.2.0",
|
|
54
|
+
"mypy>=1.8.0",
|
|
55
|
+
"ruff>=0.2.2",
|
|
56
|
+
]
|
|
57
|
+
|
|
58
|
+
[project.scripts]
|
|
59
|
+
specter-vicious-ce = "specter_vicious_ce.cli:main"
|
|
60
|
+
|
|
61
|
+
[project.urls]
|
|
62
|
+
Homepage = "https://red-specter.co.uk"
|
|
63
|
+
Repository = "https://github.com/RichardBarron27/specter-vicious-ce"
|
|
64
|
+
|
|
65
|
+
[tool.setuptools.packages.find]
|
|
66
|
+
where = ["."]
|
|
67
|
+
include = ["specter_vicious_ce*"]
|
|
68
|
+
|
|
69
|
+
[tool.pytest.ini_options]
|
|
70
|
+
testpaths = ["tests"]
|
|
71
|
+
python_files = ["test_*.py"]
|
|
72
|
+
python_classes = ["Test*"]
|
|
73
|
+
python_functions = ["test_*"]
|
|
74
|
+
asyncio_mode = "auto"
|
|
75
|
+
timeout = 300
|
|
76
|
+
|
|
77
|
+
[tool.black]
|
|
78
|
+
line-length = 100
|
|
79
|
+
target-version = ['py311']
|
|
80
|
+
|
|
81
|
+
[tool.ruff]
|
|
82
|
+
line-length = 100
|
|
83
|
+
target-version = "py311"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"""
|
|
2
|
+
SPECTER VICIOUS CE v1.0.0
|
|
3
|
+
AI-Driven Web Application Penetration Testing — Community Edition
|
|
4
|
+
|
|
5
|
+
Red Specter Security Research
|
|
6
|
+
Engineered by Richard Barron
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
__version__ = "1.0.0"
|
|
10
|
+
__author__ = "Richard Barron"
|
|
11
|
+
__tool_id__ = "T166-CE"
|
|
12
|
+
__nightfall_level__ = "L63"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Attack modules and payloads"""
|