Malicious code in clover-codelab-remote-pay-cloud (npm)
The npm package 'clover-codelab-remote-pay-cloud' version 99.9.9 is a malicious package designed to exfiltrate system information during installation. It runs a postinstall script that collects OS username, current working directory, hostname, and non-internal IPv4 address, then sends this data to a hardcoded external URL. The package mimics the name of a legitimate Clover SDK to exploit dependency confusion but provides no legitimate functionality.
AI Analysis
Technical Summary
This malicious npm package declares a postinstall hook that executes index.js upon installation. The script gathers system information including OS username, current working directory, hostname, and non-internal IPv4 addresses using Node.js OS and process APIs. It then sends this information as JSON via HTTPS POST to a hardcoded webhook.site URL. The package name and version (99.9.9) are crafted to override an internal package through dependency confusion. The package's sole purpose is data exfiltration during install time, with no legitimate functionality matching its name.
Potential Impact
The package can leak sensitive environment information such as usernames, hostnames, current directories, and network interface details to an attacker-controlled endpoint. This information disclosure could aid attackers in further reconnaissance or targeted attacks. There is no indication of remote code execution or persistence beyond the install-time data exfiltration.
Mitigation Recommendations
Users should avoid installing the 'clover-codelab-remote-pay-cloud' package version 99.9.9 from untrusted sources. Verify package authenticity and source before installation. Since no official patch or fix is indicated, the primary mitigation is to remove or block this malicious package and audit dependency sources to prevent dependency confusion attacks.
Malicious code in clover-codelab-remote-pay-cloud (npm)
Description
The npm package 'clover-codelab-remote-pay-cloud' version 99.9.9 is a malicious package designed to exfiltrate system information during installation. It runs a postinstall script that collects OS username, current working directory, hostname, and non-internal IPv4 address, then sends this data to a hardcoded external URL. The package mimics the name of a legitimate Clover SDK to exploit dependency confusion but provides no legitimate functionality.
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
This malicious npm package declares a postinstall hook that executes index.js upon installation. The script gathers system information including OS username, current working directory, hostname, and non-internal IPv4 addresses using Node.js OS and process APIs. It then sends this information as JSON via HTTPS POST to a hardcoded webhook.site URL. The package name and version (99.9.9) are crafted to override an internal package through dependency confusion. The package's sole purpose is data exfiltration during install time, with no legitimate functionality matching its name.
Potential Impact
The package can leak sensitive environment information such as usernames, hostnames, current directories, and network interface details to an attacker-controlled endpoint. This information disclosure could aid attackers in further reconnaissance or targeted attacks. There is no indication of remote code execution or persistence beyond the install-time data exfiltration.
Mitigation Recommendations
Users should avoid installing the 'clover-codelab-remote-pay-cloud' package version 99.9.9 from untrusted sources. Verify package authenticity and source before installation. Since no official patch or fix is indicated, the primary mitigation is to remove or block this malicious package and audit dependency sources to prevent dependency confusion attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12353
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735743bf8831d539159c01
Added to database: 08/05/2026, 15:31:15 UTC
Last enriched: 09/13/2026, 15:18:18 UTC
Last updated: 09/13/2026, 15:18:18 UTC
Views: 21
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.