Skip to main content

Malicious code in sn-flow-client (npm)

0
High
Published: 10/21/2024 (10/21/2024, 14:56:36 UTC)
Source: GCVE Database
Product: sn-flow-client

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

npmghsa
sn-flow-client
Affected versions
=10.10.10=20.5.1=1.0.2

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

AILast updated: 08/05/2026, 17:01:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses