feat(security): behavioral miner detection + spawn status security column (#3227)

Adds two behavioral crypto miner checks to the security scan:
- Flag non-agent processes using >80% CPU (catches renamed miners)
- Detect outbound connections to known mining pool ports (3333, 4444, etc.)

Adds a Security column to `spawn status` that shows clean/alerts/—
for each running server, with detailed alert summary after the table.
JSON output includes security and security_alerts fields.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ahmed Abushagur 2026-04-07 17:40:14 -07:00 committed by GitHub
parent 0fe16d3ffc
commit ad9da53210
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 178 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@openrouter/spawn",
"version": "0.31.3",
"version": "0.31.4",
"type": "module",
"bin": {
"spawn": "cli.js"