Malicious code in sc-payment-utils (npm)
The npm package sc-payment-utils version 9999.0.0 contains a malicious preinstall script that executes callback.js during installation. This script collects sensitive host information including hostname, username, current directory, npm registry, and various CI environment variables. It then sends this data via an HTTP GET request to a hardcoded IP address, indicating reconnaissance activity consistent with dependency confusion attacks targeting internal package names leaked to public registries.
AI Analysis
Technical Summary
The sc-payment-utils package at version 9999.0.0 includes a preinstall script that runs callback.js when the package is installed via npm. This script gathers host identity details such as os.hostname(), os.userInfo().username, the current working directory, the configured npm registry, and multiple continuous integration repository slug environment variables (e.g., GITHUB_REPOSITORY, CI_PROJECT_PATH). It then issues an HTTP GET request to a fixed IP endpoint (http://75.119.137.232:31337/depconfuse) with these details as query parameters. The version number and the nature of the callback suggest this is a dependency confusion reconnaissance payload designed to collect information about internal package usage leaked into public package resolution.
Potential Impact
The malicious script leaks sensitive environment and host information to an external attacker-controlled server. This reconnaissance data could be used to facilitate further attacks such as dependency confusion or supply chain compromise. There is no indication of direct code execution or data destruction beyond information disclosure. No known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing sc-payment-utils version 9999.0.0. Since this is a malicious package version, the best mitigation is to remove or block this package from use. Monitor package sources and dependency trees for suspicious or unexpected versions. Patch status is not yet confirmed — check the vendor or npm advisories for updates.
Malicious code in sc-payment-utils (npm)
Description
The npm package sc-payment-utils version 9999.0.0 contains a malicious preinstall script that executes callback.js during installation. This script collects sensitive host information including hostname, username, current directory, npm registry, and various CI environment variables. It then sends this data via an HTTP GET request to a hardcoded IP address, indicating reconnaissance activity consistent with dependency confusion attacks targeting internal package names leaked to public registries.
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 sc-payment-utils package at version 9999.0.0 includes a preinstall script that runs callback.js when the package is installed via npm. This script gathers host identity details such as os.hostname(), os.userInfo().username, the current working directory, the configured npm registry, and multiple continuous integration repository slug environment variables (e.g., GITHUB_REPOSITORY, CI_PROJECT_PATH). It then issues an HTTP GET request to a fixed IP endpoint (http://75.119.137.232:31337/depconfuse) with these details as query parameters. The version number and the nature of the callback suggest this is a dependency confusion reconnaissance payload designed to collect information about internal package usage leaked into public package resolution.
Potential Impact
The malicious script leaks sensitive environment and host information to an external attacker-controlled server. This reconnaissance data could be used to facilitate further attacks such as dependency confusion or supply chain compromise. There is no indication of direct code execution or data destruction beyond information disclosure. No known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing sc-payment-utils version 9999.0.0. Since this is a malicious package version, the best mitigation is to remove or block this package from use. Monitor package sources and dependency trees for suspicious or unexpected versions. Patch status is not yet confirmed — check the vendor or npm advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12801
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735740bf8831d539153761
Added to database: 08/05/2026, 15:31:12 UTC
Last enriched: 08/05/2026, 16:56:33 UTC
Last updated: 09/07/2026, 22:11:34 UTC
Views: 17
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.