@profullstack/threatcrush 0.13.9 → 0.13.11

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 CHANGED
@@ -72,12 +72,10 @@ $ threatcrush monitor
72
72
  curl -fsSL https://threatcrush.com/install.sh | sh
73
73
  ```
74
74
 
75
- The installer detects whether the machine is a server or desktop, uses your existing package manager when available, and can bootstrap Node.js with `mise` on bare machines.
75
+ The CLI needs **Node.js 22.6 or newer**. The installer detects whether the machine is a server or desktop, uses your existing package manager when available, and on a machine with no Node.js sets up Node.js LTS with `mise`, adding mise's shims to `~/.profile` so new login shells find `threatcrush`. If it finds an older Node.js it stops without installing anything and tells you how to upgrade.
76
76
 
77
77
  - **Linux server** → installs the CLI
78
- - **Linux desktop** → installs the CLI + desktop app
79
- - **Windows desktop** → installs the desktop app to connect to a ThreatCrush server elsewhere
80
- - **macOS desktop** → desktop-oriented install for connecting to a ThreatCrush server
78
+ - **Desktop (Linux, macOS, Windows)** → installs the CLI and points you to the desktop app, a separate download from [GitHub Releases](https://github.com/profullstack/threatcrush/releases/latest). The desktop app talks to a ThreatCrush daemon on the same machine; log monitoring and firewall bans need Linux.
81
79
 
82
80
  After install, the supported lifecycle commands are:
83
81
 
@@ -86,7 +84,7 @@ threatcrush update # upgrades the installed bundle
86
84
  threatcrush remove # removes the installed bundle
87
85
  ```
88
86
 
89
- Manual package-manager installs still work:
87
+ Manual package-manager installs still work (Node.js 22.6+):
90
88
 
91
89
  ```bash
92
90
  npm i -g @profullstack/threatcrush
@@ -128,7 +126,7 @@ threatcrush update # Upgrade the CLI using the supported path
128
126
  ThreatCrush uses a pluggable module system. Install from the marketplace or build your own:
129
127
 
130
128
  ```bash
131
- threatcrush modules list # List installed
129
+ threatcrush modules list # List built-in and installed modules
132
130
  threatcrush modules install ssh-guard # Install a module
133
131
  threatcrush modules install docker-monitor
134
132
  threatcrush store search "firewall" # Search marketplace
@@ -161,21 +159,43 @@ Build and sell your own modules on the ThreatCrush marketplace:
161
159
  ## Configuration
162
160
 
163
161
  ```bash
164
- threatcrush init # Auto-detect & generate config
162
+ threatcrush init # Auto-detect & generate config
163
+ threatcrush init --offline # Same, without signing in (scripts, CI, containers)
165
164
  ```
166
165
 
167
166
  Config lives at `/etc/threatcrush/threatcrushd.conf` with module configs in `/etc/threatcrush/threatcrushd.conf.d/`.
168
167
 
169
- ## Pricing
168
+ ## Cloud dashboard
169
+
170
+ The daemon reports to your ThreatCrush dashboard once the machine is logged in and linked to a server there:
171
+
172
+ ```bash
173
+ threatcrush login
174
+ threatcrush servers link # reuses the dashboard server with this hostname, or registers one
175
+ threatcrush servers link --org acme --name web-1
176
+ threatcrush status # shows the link
177
+ threatcrush servers unlink # stop reporting
178
+ ```
170
179
 
171
- | Tier | Price |
172
- |------|-------|
173
- | **Lifetime Access** | $499 one-time |
174
- | **With Referral** | Friend pays $399 · You earn $100 cash per referral |
180
+ A running daemon picks up `link` and `unlink` within a minute; no restart. It then:
175
181
 
176
- Pay once, access forever. All core modules, CLI, daemon, API, and lifetime updates included.
182
+ - uploads detections at or above `[cloud] min_severity` (rule detections, plus events from modules no rule reads, such as dns-monitor), batched (100 events or every 10 s), and every ban and unban the daemon makes;
183
+ - sends a heartbeat every 60 s with its version and hostname;
184
+ - runs the `threatcrush harden` checks a minute after it starts and every 24 h, and uploads the findings (`threatcrush harden` uploads too; `--no-upload` skips it);
185
+ - every 15 s, picks up blocks and unblocks queued on the dashboard and applies them through auto-defence, so protected and allowlisted addresses and dry-run apply as they do locally;
186
+ - every 5 min, adds the organization's IP/CIDR allowlist to the never-block set.
187
+
188
+ Uploads never hold up detection or a ban. While the dashboard is unreachable, events wait in a spool (`/var/lib/threatcrush/cloud-spool.jsonl`, or `~/.threatcrush/state/` for a user daemon) of at most 10,000 events / 20 MB, oldest dropped first, which survives a restart and is sent when the dashboard answers again. The daemon uses the login of the user it runs as (`/root/.threatcrush/config.json` for the system service) and refreshes the session itself; if the refresh token is refused, it logs that `threatcrush login` is needed and keeps spooling.
189
+
190
+ ```toml
191
+ [cloud]
192
+ enabled = true # false: the daemon neither reports to nor takes actions from the dashboard
193
+ min_severity = "medium" # info | low | medium | high | critical
194
+ ```
195
+
196
+ ## Pricing
177
197
 
178
- 👉 [Get lifetime access at threatcrush.com](https://threatcrush.com)
198
+ The CLI is MIT-licensed (see [License](#license)). For pricing, [contact us for a quote](https://threatcrush.com/hire).
179
199
 
180
200
  ## Browser Extension
181
201