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.
Files changed (87) hide show
  1. package/README.md +86 -28
  2. package/dist/assets/index-AjX07TES.js +591 -0
  3. package/dist/assets/index-BXGpsvpJ.css +1 -0
  4. package/dist/cli/ConfigWizard-YY6J43DQ.mjs +206 -0
  5. package/dist/cli/{InteractiveMenu-ED2QPIDH.mjs → InteractiveMenu-2KO2253H.mjs} +1 -1
  6. package/dist/cli/InteractiveMenu-54RLW6GW.mjs +155 -0
  7. package/dist/cli/InteractiveMenu-YE4NATMF.mjs +155 -0
  8. package/dist/cli/LocalASTScanner-2DT35CW7.mjs +12 -0
  9. package/dist/cli/MissionControl-6D6K4XKL.mjs +15 -0
  10. package/dist/cli/MissionControl-PKP46G7S.mjs +15 -0
  11. package/dist/cli/SecretsEngine-6CLIZ6F7.mjs +11 -0
  12. package/dist/cli/advanced-config-JHNJR6L3.mjs +366 -0
  13. package/dist/cli/advanced-config-RXIWP6ZR.mjs +339 -0
  14. package/dist/cli/auth-B3W2XP5A.mjs +693 -0
  15. package/dist/cli/auth-SQ2WDXHB.mjs +685 -0
  16. package/dist/cli/boxen-IUGKAQ6K.mjs +1612 -0
  17. package/dist/cli/chunk-33PKSNEN.mjs +210 -0
  18. package/dist/cli/chunk-34TJ7JF2.mjs +83 -0
  19. package/dist/cli/chunk-3UC2J6H5.mjs +44 -0
  20. package/dist/cli/chunk-42AH2O6S.mjs +289 -0
  21. package/dist/cli/chunk-4VWW5YGM.mjs +393 -0
  22. package/dist/cli/chunk-4ZNYEZ2E.mjs +74 -0
  23. package/dist/cli/chunk-5FRODP6T.mjs +31408 -0
  24. package/dist/cli/{chunk-GWBKLSFG.mjs → chunk-5OIM4CEV.mjs} +1 -1
  25. package/dist/cli/chunk-67JAE42X.mjs +125 -0
  26. package/dist/cli/chunk-ATH5AM2I.mjs +127 -0
  27. package/dist/cli/chunk-BMMWRFH7.mjs +295 -0
  28. package/dist/cli/chunk-CRWU2XQK.mjs +655 -0
  29. package/dist/cli/chunk-G6OPRAOT.mjs +1787 -0
  30. package/dist/cli/chunk-H46HACAN.mjs +40549 -0
  31. package/dist/cli/chunk-JHD7DIPE.mjs +1563 -0
  32. package/dist/cli/chunk-JMBEGZD4.mjs +83 -0
  33. package/dist/cli/chunk-L5VZC6HT.mjs +43 -0
  34. package/dist/cli/chunk-LIWHTNR4.mjs +680 -0
  35. package/dist/cli/chunk-LME6MY4D.mjs +489 -0
  36. package/dist/cli/chunk-NPJA4J3P.mjs +1914 -0
  37. package/dist/cli/chunk-NXPJNZBH.mjs +31430 -0
  38. package/dist/cli/chunk-O3DQLH4V.mjs +483 -0
  39. package/dist/cli/chunk-PLGIZ4F6.mjs +24 -0
  40. package/dist/cli/chunk-QQP4W25B.mjs +258 -0
  41. package/dist/cli/{chunk-JLDDAPPR.mjs → chunk-RAANOYKA.mjs} +4 -3
  42. package/dist/cli/chunk-S46GLONO.mjs +40172 -0
  43. package/dist/cli/chunk-SV7CCKXX.mjs +417 -0
  44. package/dist/cli/chunk-TRDCDSG5.mjs +488 -0
  45. package/dist/cli/chunk-UCCYDJP7.mjs +151 -0
  46. package/dist/cli/chunk-VCCUI5EG.mjs +127 -0
  47. package/dist/cli/chunk-VKTTD2O6.mjs +1706 -0
  48. package/dist/cli/chunk-VXK4MPSB.mjs +25 -0
  49. package/dist/cli/chunk-WNKKIRG4.mjs +30 -0
  50. package/dist/cli/ci-setup-Q5JGVLZM.mjs +20 -0
  51. package/dist/cli/cli-table3-GEX7UZPC.mjs +10 -0
  52. package/dist/cli/completion-X3NSEVBB.mjs +27 -0
  53. package/dist/cli/compliance-report-DUL73XMR.mjs +383 -0
  54. package/dist/cli/config-YN2BZHCU.mjs +19 -0
  55. package/dist/cli/enhancedHelp-NPYWRDID.mjs +223 -0
  56. package/dist/cli/getMachineId-bsd-V7ND2SS7.mjs +44 -0
  57. package/dist/cli/getMachineId-darwin-2FUMOIDW.mjs +43 -0
  58. package/dist/cli/getMachineId-linux-LPFOYQBS.mjs +37 -0
  59. package/dist/cli/getMachineId-unsupported-HWHAS6T2.mjs +27 -0
  60. package/dist/cli/getMachineId-win-ICWQFJ7U.mjs +46 -0
  61. package/dist/cli/github-DGOP26TQ.mjs +18 -0
  62. package/dist/cli/handshake-G2STEC7I.mjs +18 -0
  63. package/dist/cli/handshake-VDHAZ7EZ.mjs +18 -0
  64. package/dist/cli/index.node-LNW4BJS4.mjs +3813 -0
  65. package/dist/cli/init-3JAZKTY7.mjs +211 -0
  66. package/dist/cli/{init-O4PVFZ7D.mjs → init-7PAS6FMF.mjs} +2 -2
  67. package/dist/cli/init-MHKRKY4V.mjs +26 -0
  68. package/dist/cli/init-NG4LEUFT.mjs +26 -0
  69. package/dist/cli/init-RM5TNT23.mjs +211 -0
  70. package/dist/cli/metrics-5R6RCTMR.mjs +235 -0
  71. package/dist/cli/node-figlet-WDLIQVM4.mjs +1440 -0
  72. package/dist/cli/patch-EJFPKYVR.mjs +31 -0
  73. package/dist/cli/patch-NXJEKN2T.mjs +31 -0
  74. package/dist/cli/picocolors-BZSBIPRE.mjs +9 -0
  75. package/dist/cli/recon.mjs +1 -1
  76. package/dist/cli/sicario.mjs +42233 -840
  77. package/dist/cli/triage-73JM7F3N.mjs +196 -0
  78. package/dist/cli/triage-OQKGQFZF.mjs +196 -0
  79. package/dist/cli/types-FB5454ZU.mjs +11 -0
  80. package/dist/cli/watch-2R7BTNHF.mjs +1964 -0
  81. package/dist/cli/watch-XDFDEX42.mjs +1962 -0
  82. package/dist/cli/web-tree-sitter.wasm +0 -0
  83. package/dist/cli/worker.mjs +1 -1
  84. package/dist/index.html +2 -2
  85. package/package.json +10 -1
  86. package/dist/assets/index-CwqwKeHw.css +0 -1
  87. package/dist/assets/index-NRzS2LFg.js +0 -595
package/README.md CHANGED
@@ -1,60 +1,118 @@
1
- # 🎯 Sicario: High-Density Autonomous Security Swarm
1
+ # 🎯 Sicario: Developer-First Security Scanner
2
2
 
3
- **The AI Security Co-Founder for Modern Web Development.**
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 hallucinate critical **Business Logic Vulnerabilities**—like bypassing auth, mutating prices, or escalating privileges.
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 v3** is different. It is an autonomous, locally-running AI swarm that plays your application like a video game to find logic flaws and provides a **Keyless Mission Control** for real-time remediation.
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
- ## 🚀 Keyless Quickstart (v3.1.0)
13
+ ## 🚀 Quickstart
14
14
 
15
- No API keys to copy. No configuration files to edit. Just pure security.
15
+ No API keys to copy. No configuration files to edit.
16
16
 
17
17
  ```bash
18
- # 1. Install & Authenticate with Mission Control
19
- npx sicario-red-team@latest login
18
+ # Scan current directory (no install needed)
19
+ npx sicario-red-team@latest
20
20
 
21
- # 2. Launch a continuous background siege on your project
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
- ## 🔪 The vanguard Features (v3)
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
- ### 1. Keyless Mission Control
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
- ### 2. The Scribe (Autonomous Prompt-to-Patch)
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
- ### 3. High-Density Security Command Center
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
- ### 4. DOM Supremacy
39
- Sicario utilizes a headless engine to pierce React hydration and Web Component Shadow DOMs. It attacks your app exactly how a real human would, intercepting asynchronous fetch requests and manipulating state in real-time.
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
- ## 🛡️ Swarm Architecture & Safety
91
+ ## 🛡️ Detection Engines
92
+
93
+ Sicario runs 4 detection engines on every scan:
44
94
 
45
- Sicario runs locally on your machine. By default, it operates in **SHADOW TIER** (Dry-Run mode), meaning it maps your application and simulates attacks without mutating your database.
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
- To authorize active database mutations and live POST/PUT exploits on your local environment, pass the `--live-fire` flag.
100
+ **Supported Languages:** TypeScript · JavaScript · Python · Go · Rust
48
101
 
49
102
  ---
50
103
 
51
- ## 💎 Sicario Operator Tier
104
+ ## 💎 Pricing
52
105
 
53
- The free NPM package is powered by a rate-limited Critic Cascade. For professional engineering teams, the **OPERATOR TIER** provides:
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
- * **Unlimited Tokens** & Zero Rate Limits
56
- * **Enterprise Auth Vaulting** (Bypass Okta/Auth0)
57
- * **Full Scribe Remediation** (Automated GitHub PRs)
58
- * **CI/CD Pipeline Integration**
116
+ ## 📄 License
59
117
 
60
- Upgrade your license at [usesicario.xyz](https://usesicario.xyz).
118
+ See [LICENSE](./LICENSE) for details.