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

0
Medium
Published: 07/28/2026 (07/28/2026, 13:38:48 UTC)
Source: GCVE Database
Product: blots

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

npmghsa
blots
Affected versions
=2.1.0=2.1.1

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/05/2026, 15:41:40 UTC

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.

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