Trum3it npm Self-Upgrade Package Overwrite via sync-peer.cjs or npm pack Post-Install
Detects malicious npm package behavior where a postinstall lifecycle hook uses 'npm pack' or similar commands to overwrite local node_modules contents with a newer version, a technique used by packages like 'decimal-format-utils' to bypass static analysis.
Microsoft Sentinel (KQL)

