sicario-red-team 3.1.0 → 3.1.1
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 +86 -28
- package/dist/assets/index-AjX07TES.js +591 -0
- package/dist/assets/index-BXGpsvpJ.css +1 -0
- package/dist/cli/ConfigWizard-YY6J43DQ.mjs +206 -0
- package/dist/cli/{InteractiveMenu-ED2QPIDH.mjs → InteractiveMenu-2KO2253H.mjs} +1 -1
- package/dist/cli/InteractiveMenu-54RLW6GW.mjs +155 -0
- package/dist/cli/InteractiveMenu-YE4NATMF.mjs +155 -0
- package/dist/cli/LocalASTScanner-2DT35CW7.mjs +12 -0
- package/dist/cli/MissionControl-6D6K4XKL.mjs +15 -0
- package/dist/cli/MissionControl-PKP46G7S.mjs +15 -0
- package/dist/cli/SecretsEngine-6CLIZ6F7.mjs +11 -0
- package/dist/cli/advanced-config-JHNJR6L3.mjs +366 -0
- package/dist/cli/advanced-config-RXIWP6ZR.mjs +339 -0
- package/dist/cli/auth-B3W2XP5A.mjs +693 -0
- package/dist/cli/auth-SQ2WDXHB.mjs +685 -0
- package/dist/cli/boxen-IUGKAQ6K.mjs +1612 -0
- package/dist/cli/chunk-33PKSNEN.mjs +210 -0
- package/dist/cli/chunk-34TJ7JF2.mjs +83 -0
- package/dist/cli/chunk-3UC2J6H5.mjs +44 -0
- package/dist/cli/chunk-42AH2O6S.mjs +289 -0
- package/dist/cli/chunk-4VWW5YGM.mjs +393 -0
- package/dist/cli/chunk-4ZNYEZ2E.mjs +74 -0
- package/dist/cli/chunk-5FRODP6T.mjs +31408 -0
- package/dist/cli/{chunk-GWBKLSFG.mjs → chunk-5OIM4CEV.mjs} +1 -1
- package/dist/cli/chunk-67JAE42X.mjs +125 -0
- package/dist/cli/chunk-ATH5AM2I.mjs +127 -0
- package/dist/cli/chunk-BMMWRFH7.mjs +295 -0
- package/dist/cli/chunk-CRWU2XQK.mjs +655 -0
- package/dist/cli/chunk-G6OPRAOT.mjs +1787 -0
- package/dist/cli/chunk-H46HACAN.mjs +40549 -0
- package/dist/cli/chunk-JHD7DIPE.mjs +1563 -0
- package/dist/cli/chunk-JMBEGZD4.mjs +83 -0
- package/dist/cli/chunk-L5VZC6HT.mjs +43 -0
- package/dist/cli/chunk-LIWHTNR4.mjs +680 -0
- package/dist/cli/chunk-LME6MY4D.mjs +489 -0
- package/dist/cli/chunk-NPJA4J3P.mjs +1914 -0
- package/dist/cli/chunk-NXPJNZBH.mjs +31430 -0
- package/dist/cli/chunk-O3DQLH4V.mjs +483 -0
- package/dist/cli/chunk-PLGIZ4F6.mjs +24 -0
- package/dist/cli/chunk-QQP4W25B.mjs +258 -0
- package/dist/cli/{chunk-JLDDAPPR.mjs → chunk-RAANOYKA.mjs} +4 -3
- package/dist/cli/chunk-S46GLONO.mjs +40172 -0
- package/dist/cli/chunk-SV7CCKXX.mjs +417 -0
- package/dist/cli/chunk-TRDCDSG5.mjs +488 -0
- package/dist/cli/chunk-UCCYDJP7.mjs +151 -0
- package/dist/cli/chunk-VCCUI5EG.mjs +127 -0
- package/dist/cli/chunk-VKTTD2O6.mjs +1706 -0
- package/dist/cli/chunk-VXK4MPSB.mjs +25 -0
- package/dist/cli/chunk-WNKKIRG4.mjs +30 -0
- package/dist/cli/ci-setup-Q5JGVLZM.mjs +20 -0
- package/dist/cli/cli-table3-GEX7UZPC.mjs +10 -0
- package/dist/cli/completion-X3NSEVBB.mjs +27 -0
- package/dist/cli/compliance-report-DUL73XMR.mjs +383 -0
- package/dist/cli/config-YN2BZHCU.mjs +19 -0
- package/dist/cli/enhancedHelp-NPYWRDID.mjs +223 -0
- package/dist/cli/getMachineId-bsd-V7ND2SS7.mjs +44 -0
- package/dist/cli/getMachineId-darwin-2FUMOIDW.mjs +43 -0
- package/dist/cli/getMachineId-linux-LPFOYQBS.mjs +37 -0
- package/dist/cli/getMachineId-unsupported-HWHAS6T2.mjs +27 -0
- package/dist/cli/getMachineId-win-ICWQFJ7U.mjs +46 -0
- package/dist/cli/github-DGOP26TQ.mjs +18 -0
- package/dist/cli/handshake-G2STEC7I.mjs +18 -0
- package/dist/cli/handshake-VDHAZ7EZ.mjs +18 -0
- package/dist/cli/index.node-LNW4BJS4.mjs +3813 -0
- package/dist/cli/init-3JAZKTY7.mjs +211 -0
- package/dist/cli/{init-O4PVFZ7D.mjs → init-7PAS6FMF.mjs} +2 -2
- package/dist/cli/init-MHKRKY4V.mjs +26 -0
- package/dist/cli/init-NG4LEUFT.mjs +26 -0
- package/dist/cli/init-RM5TNT23.mjs +211 -0
- package/dist/cli/metrics-5R6RCTMR.mjs +235 -0
- package/dist/cli/node-figlet-WDLIQVM4.mjs +1440 -0
- package/dist/cli/patch-EJFPKYVR.mjs +31 -0
- package/dist/cli/patch-NXJEKN2T.mjs +31 -0
- package/dist/cli/picocolors-BZSBIPRE.mjs +9 -0
- package/dist/cli/recon.mjs +1 -1
- package/dist/cli/sicario.mjs +42233 -840
- package/dist/cli/triage-73JM7F3N.mjs +196 -0
- package/dist/cli/triage-OQKGQFZF.mjs +196 -0
- package/dist/cli/types-FB5454ZU.mjs +11 -0
- package/dist/cli/watch-2R7BTNHF.mjs +1964 -0
- package/dist/cli/watch-XDFDEX42.mjs +1962 -0
- package/dist/cli/web-tree-sitter.wasm +0 -0
- package/dist/cli/worker.mjs +1 -1
- package/dist/index.html +2 -2
- package/package.json +10 -1
- package/dist/assets/index-CwqwKeHw.css +0 -1
- package/dist/assets/index-NRzS2LFg.js +0 -595
package/README.md
CHANGED
|
@@ -1,60 +1,118 @@
|
|
|
1
|
-
# 🎯 Sicario:
|
|
1
|
+
# 🎯 Sicario: Developer-First Security Scanner
|
|
2
2
|
|
|
3
|
-
**The
|
|
3
|
+
**The developer-first security scanner for modern web applications.**
|
|
4
4
|
|
|
5
|
-
AI coding assistants (**Cursor, v0, GitHub Copilot**) allow you to ship full-stack applications in hours. But while they write beautiful code, they frequently
|
|
5
|
+
AI coding assistants (**Cursor, v0, GitHub Copilot**) allow you to ship full-stack applications in hours. But while they write beautiful code, they frequently introduce critical vulnerabilities — like hardcoded secrets, business logic bypasses, LLM injection vectors, and supply chain risks.
|
|
6
6
|
|
|
7
7
|
Legacy scanners (Snyk, Burp) are built for enterprise compliance, not rapid development. They output dense PDFs that nobody reads.
|
|
8
8
|
|
|
9
|
-
**Sicario
|
|
9
|
+
**Sicario** is different. It is a locally-running static analysis scanner that understands your code's semantic intent — parsing your source into an Abstract Syntax Tree to detect complex flaws that regex-based tools miss. Beautiful output. Interactive workflow. Fix with one command.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
## 🚀
|
|
13
|
+
## 🚀 Quickstart
|
|
14
14
|
|
|
15
|
-
No API keys to copy. No configuration files to edit.
|
|
15
|
+
No API keys to copy. No configuration files to edit.
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
#
|
|
19
|
-
npx sicario-red-team@latest
|
|
18
|
+
# Scan current directory (no install needed)
|
|
19
|
+
npx sicario-red-team@latest
|
|
20
20
|
|
|
21
|
-
#
|
|
21
|
+
# Or install globally
|
|
22
|
+
npm install -g sicario-red-team
|
|
23
|
+
|
|
24
|
+
# Link to cloud dashboard
|
|
25
|
+
sicario login
|
|
26
|
+
|
|
27
|
+
# Continuous scanning as you code
|
|
22
28
|
sicario watch
|
|
29
|
+
|
|
30
|
+
# AI fix + GitHub PR
|
|
31
|
+
sicario fix --pr
|
|
23
32
|
```
|
|
24
33
|
|
|
25
34
|
---
|
|
26
35
|
|
|
27
|
-
##
|
|
36
|
+
## ✨ Features
|
|
37
|
+
|
|
38
|
+
- **AST-Based Scanning** — Parses TypeScript, JavaScript, Python, Go, and Rust into ASTs for deep semantic analysis
|
|
39
|
+
- **Secrets Detection** — 30+ patterns including AWS keys, GitHub tokens, Stripe keys, and high-entropy strings
|
|
40
|
+
- **LLM Vulnerability Detection** — Prompt injection, insecure output handling, unsafe model configurations
|
|
41
|
+
- **Business Logic Analysis** — Missing auth checks, IDOR, mass assignment, rate limiting gaps
|
|
42
|
+
- **Supply Chain Auditing** — OSV database queries, typosquatting detection, SBOM generation (`--sbom`)
|
|
43
|
+
- **AI Auto-Fix (Scribe)** — Generates and applies code patches, or opens GitHub PRs with `sicario fix --pr`
|
|
44
|
+
- **Cloud Dashboard** — Sync findings to Mission Control for team visibility and compliance reporting
|
|
45
|
+
- **Beautiful Output** — Rich terminal UI with interactive post-scan menu, watch mode, and CI/CD integration
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 🔧 Core Commands
|
|
50
|
+
|
|
51
|
+
| Command | Description |
|
|
52
|
+
|---|---|
|
|
53
|
+
| `sicario scan [path]` | Scan a directory or file |
|
|
54
|
+
| `sicario fix` | Apply AI-generated patches locally |
|
|
55
|
+
| `sicario fix --pr` | Open a GitHub PR with the fix |
|
|
56
|
+
| `sicario triage` | Launch the interactive TUI Mission Control |
|
|
57
|
+
| `sicario login` | Authenticate with the cloud dashboard |
|
|
58
|
+
| `sicario watch` | Continuous scanning as you code |
|
|
59
|
+
| `sicario init` | Initialize a `.sicarioignore` config file |
|
|
60
|
+
|
|
61
|
+
### Useful Flags
|
|
62
|
+
|
|
63
|
+
| Flag | Description |
|
|
64
|
+
|---|---|
|
|
65
|
+
| `--sbom` | Generate a CycloneDX JSON Software Bill of Materials |
|
|
66
|
+
| `--baseline <file>` | Suppress findings present in a saved baseline file |
|
|
67
|
+
| `--fail-on <severity>` | Exit with code 1 at/above this severity (CI/CD gating) |
|
|
68
|
+
| `--dry-run` | Preview what would be scanned/fixed without writing files |
|
|
69
|
+
| `--incremental` | Scan only files changed since last Git commit |
|
|
70
|
+
| `--format <fmt>` | Output format: `text`, `json`, `sarif`, `markdown` |
|
|
28
71
|
|
|
29
|
-
|
|
30
|
-
Sicario v3 introduces the **Secure Handshake Protocol**. Simply run `sicario login` to pair your terminal with the cloud dashboard. No more copy-pasting raw API keys—just click "Authorize" in your browser and your local agent is ready to deploy sieges.
|
|
72
|
+
---
|
|
31
73
|
|
|
32
|
-
|
|
33
|
-
When Sicario confirms an exploit, it doesn't just give you a stack trace. The **Scribe Node** automatically generates a natural-language "AI-ready" prompt. Copy-paste the Scribe's output into Cursor or Copilot, and it will write the exact patch for you.
|
|
74
|
+
## ☁️ Cloud Dashboard
|
|
34
75
|
|
|
35
|
-
|
|
36
|
-
The updated Mission Control Dashboard provides a zero-friction view of your entire fleet. Manage connected devices, track preference persistence (Neural Engine selection, telemetry levels), and monitor real-time AI reasoning logs as the swarm attacks your code.
|
|
76
|
+
After running `sicario login`, scan results automatically sync to your Mission Control dashboard at [usesicario.xyz/dashboard](https://usesicario.xyz/dashboard).
|
|
37
77
|
|
|
38
|
-
|
|
39
|
-
|
|
78
|
+
The dashboard provides:
|
|
79
|
+
- Scan history and finding trends over time
|
|
80
|
+
- Severity distribution and OWASP category breakdown
|
|
81
|
+
- Compliance report export (OWASP, PCI-DSS, HIPAA)
|
|
82
|
+
- Remote AI remediation for GitHub-connected repositories
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# Authenticate once — all future scans sync automatically
|
|
86
|
+
sicario login
|
|
87
|
+
```
|
|
40
88
|
|
|
41
89
|
---
|
|
42
90
|
|
|
43
|
-
## 🛡️
|
|
91
|
+
## 🛡️ Detection Engines
|
|
92
|
+
|
|
93
|
+
Sicario runs 4 detection engines on every scan:
|
|
44
94
|
|
|
45
|
-
|
|
95
|
+
1. **Secrets Engine** — Detects hardcoded credentials, API keys, and high-entropy strings
|
|
96
|
+
2. **LLM Guard** — Identifies prompt injection, unsafe AI output handling, and insecure model configs
|
|
97
|
+
3. **Business Logic Engine** — Finds auth bypasses, IDOR, mass assignment, and missing rate limits
|
|
98
|
+
4. **Supply Chain Engine** — Audits dependencies against the OSV database, detects typosquatting
|
|
46
99
|
|
|
47
|
-
|
|
100
|
+
**Supported Languages:** TypeScript · JavaScript · Python · Go · Rust
|
|
48
101
|
|
|
49
102
|
---
|
|
50
103
|
|
|
51
|
-
## 💎
|
|
104
|
+
## 💎 Pricing
|
|
52
105
|
|
|
53
|
-
|
|
106
|
+
| Tier | Price | Includes |
|
|
107
|
+
|---|---|---|
|
|
108
|
+
| **Hacker** | Free | Full AST scanning, SARIF/JSON/Markdown reports, watch mode, CI/CD integration, cloud dashboard |
|
|
109
|
+
| **Pro** | Paid | Everything in Hacker + AI auto-fix, GitHub PR creation, SBOM generation, remote fix from dashboard |
|
|
110
|
+
| **Enterprise** | Coming Soon | SSO, custom SLAs, dedicated support |
|
|
111
|
+
|
|
112
|
+
Upgrade at [usesicario.xyz](https://usesicario.xyz).
|
|
113
|
+
|
|
114
|
+
---
|
|
54
115
|
|
|
55
|
-
|
|
56
|
-
* **Enterprise Auth Vaulting** (Bypass Okta/Auth0)
|
|
57
|
-
* **Full Scribe Remediation** (Automated GitHub PRs)
|
|
58
|
-
* **CI/CD Pipeline Integration**
|
|
116
|
+
## 📄 License
|
|
59
117
|
|
|
60
|
-
|
|
118
|
+
See [LICENSE](./LICENSE) for details.
|