@profullstack/threatcrush 0.13.69 → 0.13.71

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/dist/daemon.js CHANGED
@@ -10432,6 +10432,12 @@ var DEFAULT_PROTECTED = [
10432
10432
  "172.16.0.0/12",
10433
10433
  "192.168.0.0/16",
10434
10434
  "169.254.0.0/16",
10435
+ // RFC 6598 shared address space. Never routed on the public internet, so a
10436
+ // source here is a tailnet peer (Tailscale hands out 100.64.0.0/10) or the
10437
+ // carrier's own NAT, not an attacker. 2026-11-02: dev3's port-scan detector
10438
+ // banned a Tailscale peer four times for dialling several c0mpute ports.
10439
+ // Tailscale's IPv6 range (fd7a:115c:a1e0::/48) is already inside fc00::/7.
10440
+ "100.64.0.0/10",
10435
10441
  "fc00::/7",
10436
10442
  "fe80::/10"
10437
10443
  ];
@@ -20644,7 +20650,15 @@ var DEFAULT_RULES = [
20644
20650
  operator: "regex",
20645
20651
  // Attempts only. Matching `accepted` here meant a successful root login
20646
20652
  // banned the administrator who had just made it.
20647
- value: "failed.*\\broot\\b"
20653
+ //
20654
+ // Anchored to the start of an sshd failure ("Failed SSH login for root
20655
+ // from …" from classifySshAuth, or a raw "[sshd] Failed password for
20656
+ // root …" journal line). Unanchored, `failed.*\broot\b` matched any auth
20657
+ // event that said "failed" anywhere before "root": privilege-watch logs
20658
+ // every sudo as "sudo: <user> ran <command> as root", so a backup script
20659
+ // whose text read "the copy failed its integrity check" paged a
20660
+ // high-severity "Root SSH Login Attempt" against the admin's own account.
20661
+ value: "^(?:\\[[^\\]]*\\] )?failed (?:ssh login|password|publickey|keyboard-interactive\\S*|none) for (?:invalid user )?root\\b"
20648
20662
  },
20649
20663
  threshold: 1,
20650
20664
  window_seconds: 60,