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-oauth (npm)

0
High
Published: 08/24/2026 (08/24/2026, 05:07:41 UTC)
Source: GCVE Database
Product: sm-oauth

Description

The sm-oauth npm package version 99.0.0 contains malicious code that executes during installation. It runs preinstall and postinstall scripts that make HTTP requests to a hardcoded IP address, leaking the installer's network information and allowing the attacker to serve additional content. The package does not provide any legitimate functionality and acts as a dependency-confusion test artifact.

Affected software

npmghsa
sm-oauth
Affected versions
=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:28:48 UTC

Technical Analysis

The sm-oauth package version 99.0.0 declares preinstall and postinstall scripts in its package.json that execute curl commands to a hardcoded IP address (http://16.192.173.5/sm-oauth/pre and /post) on every npm install. These requests leak the installer's source IP, install event, and request metadata to the attacker-controlled endpoint. The package's index.js exports no functional code and serves only to facilitate this outbound callback, enabling the operator to deliver follow-on content via HTTP responses. This behavior constitutes malicious code embedded in the npm package.

Potential Impact

Installation of sm-oauth version 99.0.0 results in leakage of the installer's network identity and metadata to an attacker-controlled server. This can expose sensitive information about the environment where the package is installed. Additionally, the attacker can serve arbitrary follow-on content during installation, potentially leading to further compromise or malicious payload delivery.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing sm-oauth version 99.0.0. Since the package performs malicious network callbacks during installation, removing or blocking access to the hardcoded IP address can mitigate data leakage. Monitor package sources carefully to avoid dependency confusion or malicious packages. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.

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-14398
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a8c4c74acd9273b499c0e3b

Added to database: 08/24/2026, 13:51:48 UTC

Last enriched: 08/24/2026, 14:28:48 UTC

Last updated: 08/25/2026, 00:56:52 UTC

Views: 20

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