@profullstack/threatcrush 0.1.0 โ 0.1.2
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 +146 -0
- package/package.json +17 -5
package/README.md
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://img.shields.io/npm/v/@profullstack/threatcrush?color=00ff41&style=flat-square&label=version" alt="npm version" />
|
|
3
|
+
<img src="https://img.shields.io/npm/dm/@profullstack/threatcrush?color=00ff41&style=flat-square&label=downloads" alt="downloads" />
|
|
4
|
+
<img src="https://img.shields.io/github/license/profullstack/threatcrush?color=00ff41&style=flat-square" alt="license" />
|
|
5
|
+
<img src="https://img.shields.io/node/v/@profullstack/threatcrush?color=00ff41&style=flat-square" alt="node" />
|
|
6
|
+
<img src="https://img.shields.io/github/stars/profullstack/threatcrush?color=00ff41&style=flat-square" alt="stars" />
|
|
7
|
+
<img src="https://img.shields.io/badge/platform-linux-00ff41?style=flat-square" alt="platform" />
|
|
8
|
+
<img src="https://img.shields.io/badge/security-agent-00ff41?style=flat-square" alt="security agent" />
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<h1 align="center">
|
|
12
|
+
<br>
|
|
13
|
+
๐ก๏ธ ThreatCrush
|
|
14
|
+
<br>
|
|
15
|
+
</h1>
|
|
16
|
+
|
|
17
|
+
<h4 align="center">All-in-one security agent โ monitor, detect, scan, and protect servers in real-time.</h4>
|
|
18
|
+
|
|
19
|
+
<p align="center">
|
|
20
|
+
<a href="https://threatcrush.com">Website</a> โข
|
|
21
|
+
<a href="#install">Install</a> โข
|
|
22
|
+
<a href="#usage">Usage</a> โข
|
|
23
|
+
<a href="#features">Features</a> โข
|
|
24
|
+
<a href="#modules">Modules</a> โข
|
|
25
|
+
<a href="https://github.com/profullstack/threatcrush">GitHub</a>
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
ThreatCrush is a security daemon that runs on your server, monitoring **every connection on every port**. It detects live attacks, scans your codebase, pentests your APIs, and alerts you in real-time.
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
$ threatcrush monitor
|
|
34
|
+
|
|
35
|
+
[12:03:41] โ Monitoring all ports ยท nginx ยท sshd ยท postgres
|
|
36
|
+
[12:03:42] โ Loaded 1,247 attack signatures
|
|
37
|
+
[12:03:45] โ SQLi attempt โ :443 185.43.21.8 โ /api/users?id=1 OR 1=1
|
|
38
|
+
[12:03:47] โ SSH brute force โ :22 91.232.105.3 โ 47 failed attempts
|
|
39
|
+
[12:03:50] โ Port scan โ 45.33.32.156 scanning :21-:8080 (SYN flood)
|
|
40
|
+
[12:03:52] โ DNS tunneling โ :53 suspicious TXT queries from 103.44.8.2
|
|
41
|
+
[12:04:01] โ 3,891 connections analyzed ยท 4 threats ยท 1 blocked
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Install
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npm i -g @profullstack/threatcrush
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Or with your preferred package manager:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
pnpm add -g @profullstack/threatcrush
|
|
54
|
+
yarn global add @profullstack/threatcrush
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Usage
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
threatcrush # Get started
|
|
61
|
+
threatcrush monitor # Real-time security monitoring (all ports)
|
|
62
|
+
threatcrush tui # Interactive dashboard (htop for security)
|
|
63
|
+
threatcrush scan ./src # Scan code for vulnerabilities & secrets
|
|
64
|
+
threatcrush pentest URL # Penetration test a URL/API
|
|
65
|
+
threatcrush init # Auto-detect services, generate config
|
|
66
|
+
threatcrush status # Show daemon status & loaded modules
|
|
67
|
+
threatcrush modules # Manage security modules
|
|
68
|
+
threatcrush store # Browse the module marketplace
|
|
69
|
+
threatcrush update # Update CLI & all modules
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Features
|
|
73
|
+
|
|
74
|
+
| Feature | Description |
|
|
75
|
+
|---------|-------------|
|
|
76
|
+
| ๐ **Live Attack Detection** | Monitors all inbound connections on every port. Detects SQLi, XSS, brute force, SSH attacks, port scans, DNS tunneling. |
|
|
77
|
+
| ๐ก๏ธ **Code Security Scanner** | Scan your codebase for vulnerabilities, hardcoded secrets, and misconfigurations. |
|
|
78
|
+
| ๐ฅ **Pentest Engine** | Automated penetration testing on your URLs and APIs. |
|
|
79
|
+
| ๐ **Network Monitor** | Watches all TCP/UDP traffic across every port โ HTTP, SSH, DNS, FTP, databases. |
|
|
80
|
+
| ๐ **Real-time Alerts** | Slack, email, webhook notifications the instant a threat is detected. |
|
|
81
|
+
| โ๏ธ **systemd Daemon** | Runs as a background service on your server. Auto-starts on boot, monitors 24/7. |
|
|
82
|
+
| ๐ **TUI Dashboard** | Interactive terminal dashboard โ htop for security. |
|
|
83
|
+
|
|
84
|
+
## Modules
|
|
85
|
+
|
|
86
|
+
ThreatCrush uses a pluggable module system. Install from the marketplace or build your own:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
threatcrush modules list # List installed
|
|
90
|
+
threatcrush modules install ssh-guard # Install a module
|
|
91
|
+
threatcrush modules install docker-monitor
|
|
92
|
+
threatcrush store search "firewall" # Search marketplace
|
|
93
|
+
threatcrush store publish ./my-module # Publish your own
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Core Modules (included)
|
|
97
|
+
|
|
98
|
+
| Module | What it monitors |
|
|
99
|
+
|--------|-----------------|
|
|
100
|
+
| `network-monitor` | All TCP/UDP traffic, port scans, SYN floods |
|
|
101
|
+
| `log-watcher` | nginx, Apache, syslog, journald |
|
|
102
|
+
| `ssh-guard` | Failed logins, brute force, tunneling |
|
|
103
|
+
| `code-scanner` | Vulnerabilities, secrets, dependency CVEs |
|
|
104
|
+
| `pentest-engine` | SQLi, XSS, SSRF, API fuzzing |
|
|
105
|
+
| `dns-monitor` | DNS tunneling, DGA detection |
|
|
106
|
+
| `firewall-rules` | Auto-blocks via iptables/nftables |
|
|
107
|
+
| `alert-system` | Slack, Discord, email, webhook, PagerDuty |
|
|
108
|
+
|
|
109
|
+
### Community Modules
|
|
110
|
+
|
|
111
|
+
Build and sell your own modules on the ThreatCrush marketplace:
|
|
112
|
+
- `docker-monitor` โ Container escape detection
|
|
113
|
+
- `k8s-watcher` โ Kubernetes cluster security
|
|
114
|
+
- `honeypot` โ Deploy decoy services
|
|
115
|
+
- `geo-blocker` โ Block traffic by country/ASN
|
|
116
|
+
- `compliance-reporter` โ SOC2, HIPAA, PCI-DSS reports
|
|
117
|
+
|
|
118
|
+
## Configuration
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
threatcrush init # Auto-detect & generate config
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Config lives at `/etc/threatcrush/threatcrushd.conf` with module configs in `/etc/threatcrush/threatcrushd.conf.d/`.
|
|
125
|
+
|
|
126
|
+
## Pricing
|
|
127
|
+
|
|
128
|
+
| Tier | Price |
|
|
129
|
+
|------|-------|
|
|
130
|
+
| **Lifetime Access** | $499 one-time |
|
|
131
|
+
| **With Referral** | $249 (both you and your friend) |
|
|
132
|
+
|
|
133
|
+
Pay once, access forever. All core modules, CLI, daemon, API, and lifetime updates included.
|
|
134
|
+
|
|
135
|
+
๐ [Get lifetime access at threatcrush.com](https://threatcrush.com)
|
|
136
|
+
|
|
137
|
+
## Links
|
|
138
|
+
|
|
139
|
+
- ๐ **Website:** [threatcrush.com](https://threatcrush.com)
|
|
140
|
+
- ๐ฆ **npm:** [@profullstack/threatcrush](https://www.npmjs.com/package/@profullstack/threatcrush)
|
|
141
|
+
- ๐ **GitHub:** [profullstack/threatcrush](https://github.com/profullstack/threatcrush)
|
|
142
|
+
- ๐ **Issues:** [GitHub Issues](https://github.com/profullstack/threatcrush/issues)
|
|
143
|
+
|
|
144
|
+
## License
|
|
145
|
+
|
|
146
|
+
MIT ยฉ [Profullstack, Inc.](https://profullstack.com)
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@profullstack/threatcrush",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "All-in-one security agent daemon โ monitor, detect, scan, and protect servers in real-time",
|
|
5
|
-
|
|
6
5
|
"bin": {
|
|
7
6
|
"threatcrush": "./dist/index.js"
|
|
8
7
|
},
|
|
@@ -17,9 +16,12 @@
|
|
|
17
16
|
"keywords": [
|
|
18
17
|
"security",
|
|
19
18
|
"monitoring",
|
|
20
|
-
"ssh",
|
|
21
19
|
"threat-detection",
|
|
22
|
-
"
|
|
20
|
+
"pentest",
|
|
21
|
+
"scanner",
|
|
22
|
+
"daemon",
|
|
23
|
+
"cli",
|
|
24
|
+
"cybersecurity"
|
|
23
25
|
],
|
|
24
26
|
"license": "MIT",
|
|
25
27
|
"dependencies": {
|
|
@@ -37,5 +39,15 @@
|
|
|
37
39
|
"@types/node": "^22.19.17",
|
|
38
40
|
"tsup": "^8.5.1",
|
|
39
41
|
"typescript": "^5.9.3"
|
|
40
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "https://github.com/profullstack/threatcrush.git",
|
|
46
|
+
"directory": "cli"
|
|
47
|
+
},
|
|
48
|
+
"homepage": "https://threatcrush.com",
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/profullstack/threatcrush/issues"
|
|
51
|
+
},
|
|
52
|
+
"author": "Profullstack, Inc. <hello@profullstack.com>"
|
|
41
53
|
}
|