Malicious code in sm-oauth (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in sm-oauth (npm)
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
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-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.
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 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.