Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in sm-payment (npm)

0
Medium
Published: 08/23/2026 (08/23/2026, 19:00:47 UTC)
Source: GCVE Database
Product: sm-payment

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

npmghsa
sm-payment
Affected versions
=99.0.1=99.0.0

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/24/2026, 14:26:02 UTC

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.

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-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 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