Malicious code in sm-payment (npm)
The npm package 'sm-payment' versions 99.0.0 and 99.0.1 contains malicious code that executes preinstall and postinstall scripts. These scripts contact a hardcoded bare IP address over plain HTTP during installation, which is unrelated to the package's documented functionality. This behavior is consistent with reconnaissance activity typical of dependency confusion or namesquatting attacks.
AI Analysis
Technical Summary
The 'sm-payment' npm package versions 99.0.0 and 99.0.1 include preinstall and postinstall lifecycle scripts that automatically perform HTTP requests to a hardcoded IP address (http://16.192.173.5/sm-payment/pre and /post) during installation. The package has no legitimate build or native-addon purpose that would justify such network activity. This unsolicited callback signals to an external operator that the package has been installed on a host, consistent with reconnaissance beacons used in dependency confusion or namesquatting attacks. The OpenSSF Package Analysis project identified this package as malicious due to execution of commands associated with malicious behavior.
Potential Impact
The malicious preinstall and postinstall scripts cause the host installing the package to send network requests to an attacker-controlled IP address, potentially exposing information about the host environment and installation activity. This may facilitate further targeted attacks or reconnaissance by the adversary. No direct exploitation or payload delivery details are provided, and no known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing the 'sm-payment' package versions 99.0.0 and 99.0.1. Review and remove these package versions from projects and dependency trees. Use trusted package sources and verify package integrity before installation. Monitor for updates or advisories from the package maintainers or npm registry regarding this package.
Malicious code in sm-payment (npm)
Description
The npm package 'sm-payment' versions 99.0.0 and 99.0.1 contains malicious code that executes preinstall and postinstall scripts. These scripts contact a hardcoded bare IP address over plain HTTP during installation, which is unrelated to the package's documented functionality. This behavior is consistent with reconnaissance activity typical of dependency confusion or namesquatting attacks.
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 'sm-payment' npm package versions 99.0.0 and 99.0.1 include preinstall and postinstall lifecycle scripts that automatically perform HTTP requests to a hardcoded IP address (http://16.192.173.5/sm-payment/pre and /post) during installation. The package has no legitimate build or native-addon purpose that would justify such network activity. This unsolicited callback signals to an external operator that the package has been installed on a host, consistent with reconnaissance beacons used in dependency confusion or namesquatting attacks. The OpenSSF Package Analysis project identified this package as malicious due to execution of commands associated with malicious behavior.
Potential Impact
The malicious preinstall and postinstall scripts cause the host installing the package to send network requests to an attacker-controlled IP address, potentially exposing information about the host environment and installation activity. This may facilitate further targeted attacks or reconnaissance by the adversary. No direct exploitation or payload delivery details are provided, and no known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing the 'sm-payment' package versions 99.0.0 and 99.0.1. Review and remove these package versions from projects and dependency trees. Use trusted package sources and verify package integrity before installation. Monitor for updates or advisories from the package maintainers or npm registry regarding this package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14399
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8c4c6facd9273b499c0cba
Added to database: 08/24/2026, 13:51:43 UTC
Last enriched: 08/24/2026, 14:26:02 UTC
Last updated: 08/24/2026, 16:03:14 UTC
Views: 3
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.