Malicious code in blots (npm)
The npm package 'blots' versions 2.1.0 and 2.1.1 contains malicious code that executes preinstall and postinstall scripts. These scripts unconditionally send the installer's username, hostname, current working directory, and timestamp to an attacker-controlled third-party endpoint at webhook.site. The package provides no legitimate functionality and solely performs reconnaissance on the installer's environment during installation.
AI Analysis
Technical Summary
The 'blots' npm package versions 2.1.0 and 2.1.1 include lifecycle scripts in package.json that run curl commands during installation. These commands transmit sensitive environment information—such as the installer's username (via whoami), hostname, current working directory, and timestamp—as query parameters to a webhook.site URL controlled by the package author. The package does not offer any documented or functional features beyond this data exfiltration, classifying it as malicious. This behavior was identified by the OpenSSF Package Analysis project and Amazon Inspector, which flagged the package for executing commands associated with malicious activity.
Potential Impact
Installation of the affected 'blots' package versions results in unauthorized disclosure of environment details to an attacker-controlled endpoint. This reconnaissance data could be used to further target the affected system or user. There is no indication of additional payloads or direct system compromise beyond this information leakage.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing versions 2.1.0 and 2.1.1 of the 'blots' package. If already installed, remove the package and audit systems for any suspicious activity. Monitor package sources and prefer verified or trusted packages. Check vendor advisories or npm security advisories for updates or removal notices regarding this package.
Malicious code in blots (npm)
Description
The npm package 'blots' versions 2.1.0 and 2.1.1 contains malicious code that executes preinstall and postinstall scripts. These scripts unconditionally send the installer's username, hostname, current working directory, and timestamp to an attacker-controlled third-party endpoint at webhook.site. The package provides no legitimate functionality and solely performs reconnaissance on the installer's environment during installation.
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 'blots' npm package versions 2.1.0 and 2.1.1 include lifecycle scripts in package.json that run curl commands during installation. These commands transmit sensitive environment information—such as the installer's username (via whoami), hostname, current working directory, and timestamp—as query parameters to a webhook.site URL controlled by the package author. The package does not offer any documented or functional features beyond this data exfiltration, classifying it as malicious. This behavior was identified by the OpenSSF Package Analysis project and Amazon Inspector, which flagged the package for executing commands associated with malicious activity.
Potential Impact
Installation of the affected 'blots' package versions results in unauthorized disclosure of environment details to an attacker-controlled endpoint. This reconnaissance data could be used to further target the affected system or user. There is no indication of additional payloads or direct system compromise beyond this information leakage.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing versions 2.1.0 and 2.1.1 of the 'blots' package. If already installed, remove the package and audit systems for any suspicious activity. Monitor package sources and prefer verified or trusted packages. Check vendor advisories or npm security advisories for updates or removal notices regarding this package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11158
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735730bf8831d53913cdbc
Added to database: 08/05/2026, 15:30:56 UTC
Last enriched: 08/05/2026, 15:41:40 UTC
Last updated: 08/05/2026, 18:33:48 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.