Malicious code in sn-flow-client (npm)
The npm package 'sn-flow-client' versions 10.10.10, 20.5.1, and 1.0.2 contain malicious code that executes automatically upon installation. This code collects detailed host and user identity information and sends it to an attacker-controlled external domain without user consent. The package lacks legitimate functionality and appears designed for dependency confusion attacks or reconnaissance.
AI Analysis
Technical Summary
The 'sn-flow-client' npm package declares a preinstall script that runs index.js during installation. This script collects system information including hostname, platform, architecture, home directory, user info, and command outputs such as 'whoami' and 'id'. It then sends this data as JSON to a malicious external endpoint hosted on an attacker-controlled Burp Collaborator domain. The package metadata is empty or misleading, indicating no legitimate purpose and suggesting it is used for malicious reconnaissance or dependency confusion attacks. The OpenSSF Package Analysis project identified this package as malicious based on its behavior and communication with a known malicious domain.
Potential Impact
Installing the affected versions of 'sn-flow-client' results in unauthorized disclosure of sensitive host and user identity information to an attacker-controlled server. This compromises privacy and may facilitate further targeted attacks or reconnaissance by adversaries. There is no indication of additional payloads or direct system compromise beyond data exfiltration.
Mitigation Recommendations
No official patch or remediation is currently documented. Users and organizations should avoid installing the 'sn-flow-client' package versions 10.10.10, 20.5.1, and 1.0.2. Review dependency trees to ensure this package is not included transitively. Monitor for and remove any instances of this package from projects. Since no fix is available, prevention of installation is the primary mitigation.
Malicious code in sn-flow-client (npm)
Description
The npm package 'sn-flow-client' versions 10.10.10, 20.5.1, and 1.0.2 contain malicious code that executes automatically upon installation. This code collects detailed host and user identity information and sends it to an attacker-controlled external domain without user consent. The package lacks legitimate functionality and appears designed for dependency confusion attacks or reconnaissance.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'sn-flow-client' npm package declares a preinstall script that runs index.js during installation. This script collects system information including hostname, platform, architecture, home directory, user info, and command outputs such as 'whoami' and 'id'. It then sends this data as JSON to a malicious external endpoint hosted on an attacker-controlled Burp Collaborator domain. The package metadata is empty or misleading, indicating no legitimate purpose and suggesting it is used for malicious reconnaissance or dependency confusion attacks. The OpenSSF Package Analysis project identified this package as malicious based on its behavior and communication with a known malicious domain.
Potential Impact
Installing the affected versions of 'sn-flow-client' results in unauthorized disclosure of sensitive host and user identity information to an attacker-controlled server. This compromises privacy and may facilitate further targeted attacks or reconnaissance by adversaries. There is no indication of additional payloads or direct system compromise beyond data exfiltration.
Defensive Guidance
No official patch or remediation is currently documented. Users and organizations should avoid installing the 'sn-flow-client' package versions 10.10.10, 20.5.1, and 1.0.2. Review dependency trees to ensure this package is not included transitively. Monitor for and remove any instances of this package from projects. Since no fix is available, prevention of installation is the primary mitigation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2024-9443
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735741bf8831d539155f0e
Added to database: 08/05/2026, 15:31:13 UTC
Last enriched: 08/05/2026, 17:01:50 UTC
Last updated: 09/08/2026, 20:58:03 UTC
Views: 31
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.