Skip to main content

Malicious code in mcp-server-sequential-thinking (npm)

0
Critical
Published: 06/09/2026 (06/09/2026, 20:34:37 UTC)
Source: GCVE Database
Product: mcp-server-sequential-thinking

Description

The npm package 'mcp-server-sequential-thinking' versions 0.0.1 and 0.0.2 is a malicious unscoped package impersonating the official @modelcontextprotocol/server-sequential-thinking MCP server. It executes code automatically on installation and when run, sending host identifiers and environment details to an attacker-controlled Cloudflare Workers endpoint without user consent. This behavior effectively compromises any computer with the package installed, potentially exposing all stored secrets and keys.

Affected software

npmghsa
mcp-server-sequential-thinking
Affected versions
=0.0.1=0.0.2

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: 09/08/2026, 11:23:00 UTC

Technical Analysis

This threat involves a malicious npm package named 'mcp-server-sequential-thinking' that impersonates an official scoped package. The package.json includes a postinstall script and a binary entry that execute index.js automatically. The script collects system information such as hostname, current working directory, npm user-agent, Node.js version, and platform/architecture, then sends this data via an HTTP POST request to a Cloudflare Workers endpoint controlled by the attacker. The payload distinguishes between installation and execution triggers, confirming intent to harvest data through both mechanisms. The package targets developers and AI coding agents who mistakenly install or run the unscoped package. According to the source, any system with this package installed should be considered fully compromised.

Potential Impact

Installation or execution of this package results in unauthorized exfiltration of system identifiers and environment data to an attacker-controlled endpoint. The compromise is severe enough that all secrets and keys stored on the affected machine should be considered exposed and require immediate rotation. The attacker may have gained full control of the system, and removal of the package alone does not guarantee elimination of all malicious artifacts.

Defensive Guidance

No official patch or fix is available. Immediate removal of the malicious package is recommended. Additionally, all secrets and keys stored on the affected system should be rotated from a different, trusted machine. Due to the potential full compromise, a thorough security assessment and remediation of the affected system is advised. Users should avoid installing unscoped or suspicious packages and verify package authenticity before installation.

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-5484
Osv Schema Version
1.7.4
Aliases
["GHSA-hrmj-jj6j-m2m2","GHSA-w69h-vf37-j4w6"]
Ecosystems
["npm"]

Threat ID: 6a96f318acd9273b49e4958d

Added to database: 09/01/2026, 15:45:28 UTC

Last enriched: 09/08/2026, 11:23:00 UTC

Last updated: 10/01/2026, 22:42:10 UTC

Views: 28

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