@profullstack/threatcrush 0.18.1 → 0.19.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 +23 -0
- package/dist/daemon.js +266 -262
- package/dist/daemon.js.map +1 -1
- package/dist/index.js +1555 -689
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -102,6 +102,7 @@ threatcrush tui # Interactive dashboard (htop for security)
|
|
|
102
102
|
threatcrush action-center # Fleet-wide detections, host health and queued actions (login required)
|
|
103
103
|
threatcrush scan ./src # Scan code for vulnerabilities & secrets
|
|
104
104
|
threatcrush scan . --format sarif --output out.sarif --fail-on critical,high
|
|
105
|
+
threatcrush scan . --verify # AI second-read of every finding; drops confident false positives
|
|
105
106
|
sudo threatcrush scan --host # Rootkit / host integrity scan of this machine (alias: host-scan)
|
|
106
107
|
sudo threatcrush respond ... # Incident response: kill sessions, ban, pull stolen keys, lock sshd (dry run unless --apply)
|
|
107
108
|
threatcrush pentest URL # Quick web security checks against a URL
|
|
@@ -112,6 +113,28 @@ threatcrush store # Browse the module marketplace
|
|
|
112
113
|
threatcrush update # Upgrade the CLI using the supported path
|
|
113
114
|
```
|
|
114
115
|
|
|
116
|
+
### AI-verified scan (`--verify`)
|
|
117
|
+
|
|
118
|
+
`threatcrush scan --verify` hands each rule hit, with about 20 lines of context,
|
|
119
|
+
to a model that must say whether it is real and quote the attacker-controlled
|
|
120
|
+
expression that reaches the sink. Confident false positives (test fixtures,
|
|
121
|
+
constant input, a match inside a regex or string, a value from your own API)
|
|
122
|
+
are dismissed from the report and from `--fail-on`; JSON output still lists
|
|
123
|
+
them under `dismissed`. A "confirmed" verdict that cites no source visible in
|
|
124
|
+
the code is downgraded to uncertain.
|
|
125
|
+
|
|
126
|
+
Opt-in, because code leaves the machine: by default masked excerpts go to a
|
|
127
|
+
[c0mpute](https://c0mpute.com) peer node (end-to-end encrypted to that worker).
|
|
128
|
+
High-entropy strings are masked first, so found secrets are described, never
|
|
129
|
+
sent. To keep everything local, point it at any OpenAI-compatible server:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
threatcrush scan . --verify --ai-url http://localhost:11434/v1 --ai-model qwen2.5-coder:7b # Ollama
|
|
133
|
+
C0MPUTE_API_KEY=ik_live_... threatcrush scan . --verify --format json # c0mpute account key
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
See [docs/scan-verify.md](docs/scan-verify.md) for flags, models and output.
|
|
137
|
+
|
|
115
138
|
### Host integrity / rootkit scan
|
|
116
139
|
|
|
117
140
|
`threatcrush scan --host` (alias `--localhost`, or `threatcrush host-scan`) checks
|