swarmhack-cli 2.0.0 → 2.3.0
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.
- package/README.md +34 -18
- package/native/linux-x64/swarmhack +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,22 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Neural swarm-based penetration testing framework.
|
|
4
4
|
|
|
5
|
-
## What's New in v2.
|
|
6
|
-
|
|
7
|
-
**v2.
|
|
8
|
-
|
|
9
|
-
- **
|
|
10
|
-
- **
|
|
11
|
-
- **
|
|
12
|
-
- **
|
|
13
|
-
-
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
16
|
-
- **
|
|
17
|
-
- **
|
|
18
|
-
- **
|
|
19
|
-
- **
|
|
20
|
-
- **Smart Pivot Optimization** -- Port-scanned reachable hosts tried first, failed hosts skipped after timeout, SSH ConnectTimeout reduced to 3s for fast iteration.
|
|
5
|
+
## What's New in v2.1.0
|
|
6
|
+
|
|
7
|
+
**v2.1.0 -- Quality, OCSF Compliance & Service-Driven Discovery Foundation**
|
|
8
|
+
|
|
9
|
+
- **Agent Plugin Registry (ADR-011)** -- Scalable plugin system: adding a new agent is one file + one registry line. 26 plugins registered (23 legacy web agents + nmap scanner + FTP probe + SSH probe). Foundation for 100+ agents.
|
|
10
|
+
- **Nmap-First Port Discovery** -- Every mission starts with nmap port/service discovery (canonical entry point). Discovered services route to the correct agents automatically via ServiceRouter. Falls back to URL-based inference when nmap is unavailable.
|
|
11
|
+
- **FTP & SSH Probe Agents** -- New non-HTTP agents: FTP anonymous login + default credential testing, SSH banner analysis + weak version CVE detection. First protocol-aware agents beyond HTTP.
|
|
12
|
+
- **OCSF 1.1.0 Full Compliance** -- `type_uid` corrected to 600105, `severity_id` added at finding level, crown jewel deduplication by (category, value), findings sorted by generation ascending + risk_score descending.
|
|
13
|
+
- **Crown Jewel Sanitization** -- 5-rule system: short values always full, api_key never truncated, credential summaries up to 200 chars, session tokens format-preserving (`PHPSESSID=abcd...wxyz`), fallback 500-char cap.
|
|
14
|
+
- **False Positive Elimination** -- LFI agent filters PHP payloads on ASP.NET/IIS targets, IDOR agent no longer fabricates synthetic parameters, Default Credentials uses discovered form field names, CVE-2021-31166 version rule narrowed.
|
|
15
|
+
- **Risk Score Calibration** -- Info=1.0, Low=3.0, Medium=5.0, High=7.5, Critical=10.0 base scores. robots.txt now scores ~0.2 (was 0.9), SQLi auth bypass scores ~9.0 (was 5.63).
|
|
16
|
+
- **Security Fixes** -- Shell injection in askpass helper patched, TLS verification restored in file_upload/xxe agents, PII redaction in OCSF reports.
|
|
17
|
+
- **CI Pipeline** -- `cargo test` + `cargo clippy` now run on every push/PR (was build-only).
|
|
18
|
+
- **Version Banner** -- Uses `CARGO_PKG_VERSION` (no more hardcoded v1.0.0).
|
|
19
|
+
- **83 new regression tests** -- 46 for v2.1.0 quality fixes + 37 for ADR-011 Phase 1.
|
|
21
20
|
|
|
22
21
|
## Installation
|
|
23
22
|
|
|
@@ -161,7 +160,7 @@ If npm installation fails, use Docker:
|
|
|
161
160
|
docker run --rm \
|
|
162
161
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
163
162
|
-v $(pwd)/reports:/app/reports \
|
|
164
|
-
prancer/swarmhack:2.
|
|
163
|
+
prancer/swarmhack:2.1.0 \
|
|
165
164
|
spawn --agents sqli --target "http://example.com" \
|
|
166
165
|
--customer "your-customer" --token "your-token"
|
|
167
166
|
```
|
|
@@ -221,7 +220,7 @@ swarmhack spawn \
|
|
|
221
220
|
- The `--header` flag is repeatable -- add as many custom headers as needed
|
|
222
221
|
- All agents (SQLi, XSS, CSRF, etc.) automatically include your custom headers in every request
|
|
223
222
|
|
|
224
|
-
## Available Agents (
|
|
223
|
+
## Available Agents (35)
|
|
225
224
|
|
|
226
225
|
| Agent | CWE | Description |
|
|
227
226
|
|-------|-----|-------------|
|
|
@@ -250,6 +249,9 @@ swarmhack spawn \
|
|
|
250
249
|
| `vulnerable_components` | CWE-1035 | Version fingerprinting + CVE lookup (30 CVEs) |
|
|
251
250
|
| `pivot` | — | SSH lateral movement, tunnel scanning, credential reuse |
|
|
252
251
|
| `idor` (enhanced) | CWE-639 | Object reference enumeration with credential correlation |
|
|
252
|
+
| `nmap_scanner` | — | Port discovery, service detection, NSE vulnerability scanning |
|
|
253
|
+
| `ftp_probe` | CWE-287 | FTP anonymous login, default credentials, banner analysis |
|
|
254
|
+
| `ssh_probe` | CWE-327 | SSH banner analysis, weak version CVE detection |
|
|
253
255
|
|
|
254
256
|
## OCSF Reports
|
|
255
257
|
|
|
@@ -291,6 +293,20 @@ Get your token from [Prancer Portal](https://portal.prancer.io) → Settings →
|
|
|
291
293
|
|
|
292
294
|
## Changelog
|
|
293
295
|
|
|
296
|
+
### v2.1.0
|
|
297
|
+
- Agent plugin registry (ADR-011): scalable plugin system for 100+ agents (one file + one registry line per agent)
|
|
298
|
+
- Nmap-first port discovery: canonical entry point, automatic service-to-agent routing
|
|
299
|
+
- FTP probe agent: anonymous login, default credential testing, banner analysis
|
|
300
|
+
- SSH probe agent: banner analysis, weak version CVE detection
|
|
301
|
+
- OCSF 1.1.0 compliance: type_uid=600105, severity_id at finding level, crown jewel dedup, finding sort order
|
|
302
|
+
- Crown jewel sanitization: 5-rule system (api_key never truncated, format-preserving session tokens)
|
|
303
|
+
- False positive elimination: LFI tech-stack filter, IDOR no synthetic params, default creds uses discovered form fields, CVE-2021-31166 narrowed
|
|
304
|
+
- Risk score calibration: Info=1.0, Low=3.0, Medium=5.0, High=7.5, Critical=10.0
|
|
305
|
+
- Security fixes: shell injection in askpass, TLS verification restored, PII redaction in reports
|
|
306
|
+
- CI pipeline: cargo test + cargo clippy (was build-only)
|
|
307
|
+
- 83 new regression tests (46 quality fixes + 37 ADR-011 Phase 1)
|
|
308
|
+
- 35 exploit agents (was 32): added nmap_scanner, ftp_probe, ssh_probe
|
|
309
|
+
|
|
294
310
|
### v2.0.0
|
|
295
311
|
- Confidence calibration system: evidence-based scoring (0.60-1.0) replacing fixed 1.0
|
|
296
312
|
- Full kill chain automation: web scan -> credential extraction -> SSH pivot -> privilege escalation -> internal scanning
|
|
Binary file
|