Malicious code in sm-apikey-model (npm)
The npm package 'sm-apikey-model' versions 99.0.0 and 99.0.1 are identified as malicious. The package contains preinstall and postinstall scripts that execute curl commands over plain HTTP to a hardcoded IP address, leaking installation confirmation and source IP information to an external operator. This behavior is consistent with reconnaissance activity typical of namespace-squatting packages rather than legitimate functionality.
AI Analysis
Technical Summary
The 'sm-apikey-model' npm package versions 99.0.0 and 99.0.1 include lifecycle scripts that invoke curl commands to a hardcoded bare-IP HTTP endpoint during installation. These scripts send callbacks confirming each host that installed the package along with the installer's source IP address. The package's versioning and beacon behavior align with reconnaissance tactics used in malicious namespace-squatting packages, designed to identify and track systems installing the package rather than provide functional code. The OpenSSF Package Analysis project flagged this package as malicious due to execution of commands associated with malicious behavior.
Potential Impact
Installation of the affected package versions results in disclosure of the installer's source IP address and confirmation of package installation to an external malicious operator. This can facilitate reconnaissance and tracking of systems that install the package. No direct code execution or payload delivery beyond the reconnaissance beacon is described.
Mitigation Recommendations
Avoid installing the 'sm-apikey-model' package versions 99.0.0 and 99.0.1. Remove any existing installations of these versions. Since no official fix or patch is indicated, rely on blocking or filtering network traffic to the hardcoded IP address and monitoring for suspicious package installations. Check vendor or repository advisories for updates or removal of the malicious package.
Malicious code in sm-apikey-model (npm)
Description
The npm package 'sm-apikey-model' versions 99.0.0 and 99.0.1 are identified as malicious. The package contains preinstall and postinstall scripts that execute curl commands over plain HTTP to a hardcoded IP address, leaking installation confirmation and source IP information to an external operator. This behavior is consistent with reconnaissance activity typical of namespace-squatting packages rather than legitimate functionality.
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-apikey-model' npm package versions 99.0.0 and 99.0.1 include lifecycle scripts that invoke curl commands to a hardcoded bare-IP HTTP endpoint during installation. These scripts send callbacks confirming each host that installed the package along with the installer's source IP address. The package's versioning and beacon behavior align with reconnaissance tactics used in malicious namespace-squatting packages, designed to identify and track systems installing the package rather than provide functional code. The OpenSSF Package Analysis project flagged this package as malicious due to execution of commands associated with malicious behavior.
Potential Impact
Installation of the affected package versions results in disclosure of the installer's source IP address and confirmation of package installation to an external malicious operator. This can facilitate reconnaissance and tracking of systems that install the package. No direct code execution or payload delivery beyond the reconnaissance beacon is described.
Mitigation Recommendations
Avoid installing the 'sm-apikey-model' package versions 99.0.0 and 99.0.1. Remove any existing installations of these versions. Since no official fix or patch is indicated, rely on blocking or filtering network traffic to the hardcoded IP address and monitoring for suspicious package installations. Check vendor or repository advisories for updates or removal of the malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14394
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8c4c74acd9273b499c0e0d
Added to database: 08/24/2026, 13:51:48 UTC
Last enriched: 08/24/2026, 14:26:41 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.