5,000 Developers' AI Tool Hijacked: Cursor Version Security Self-Check Guide

Fake extensions in the Cursor marketplace infected ~5,000 developers; versions 3-1-2 and 3-1-3 affected—uninstall and rotate credentials.
The article discloses a supply chain attack on the AI coding tool Cursor: rather than breaching official servers, attackers distributed fake extensions through Cursor's own marketplace, implanting malicious code into about 5,000 developers and attempting to steal high-value credentials such as SSH keys. The problem is concentrated in versions 3-1-2 and 3-1-3, while clean versions are unaffected, making version number the fastest risk check. Remediation involves three steps: uninstall the affected version, rotate all related credentials, and run the official patch script—credential rotation being more critical than simply reinstalling. The leak traces back to around November 13, with no new attack activity reported officially after November 1, described as 'contained,' though the article cautions that supply chain attacks have delayed effects and affected users should still self-check.
An AI coding tool used daily by a large number of developers was recently exposed in a supply chain attack. According to information disclosed by a YouTube tech channel, approximately 5,000 developers' AI tools were hijacked, with attackers implanting malicious code through fake extensions—and the boundary between the compromised and safe versions can fortunately be distinguished by version number.

The Core of the Incident: How Fake Extensions Got Through
According to the video, attackers did not directly breach the official servers but took a more covert path—distributing counterfeit extensions. These fake extensions were distributed exclusively through Cursor's own marketplace and did not appear on channels like Microsoft or NPM. This is worth noting: many developers habitually assume that "downloading from the official marketplace is safe," but the review process for third-party extensions is often far more lenient than for the main application itself.
Malicious versions of the extension attempt to inject SSH keys. SSH keys are core credentials developers use to connect to servers and access code repositories. Once stolen, attackers can laterally penetrate into internal networks, private repositories, and even production environments. Judging by the attack methodology, this was not random spraying but targeted hunting for high-value credentials within the developer community.
Supply Chain Attack refers to attackers not directly attacking the ultimate target but instead compromising the software, components, or distribution channels that the target depends on, leveraging the normal chain of trust to deliver malicious code to victims. The software supply chain encompasses development, building, packaging, distribution, and updating—contamination at any stage can affect a large number of downstream users. Typical examples include the SolarWinds incident, malicious npm package poisoning, and fake extensions targeting IDE plugin marketplaces. The destructive power of such attacks lies in the fact that victims "actively install" seemingly legitimate components, making traditional perimeter defenses difficult to intercept—which is why supply chain attacks are also called "trust attacks."
SSH keys are remote login credentials based on asymmetric encryption, consisting of a private key and a public key, widely used for connecting to servers, accessing Git repositories (such as GitHub and GitLab), and automated deployment workflows. Private keys are typically stored in the developer's local ~/.ssh directory. Once leaked, attackers can impersonate the developer to log into target hosts without a password and can move laterally to other machines on the internal network. Unlike passwords, SSH keys tend to be long-lived, carry broad permissions, and are rarely rotated regularly—making them high-value targets in attackers' eyes. The standard response to credential leakage is to immediately generate a new key pair, revoke the old public key on the server side, and check files like authorized_keys for anomalous entries.
Version Number Is the Dividing Line
The video explicitly states that the problematic versions are concentrated on version numbers 3-1-2 and 3-1-3, while clean versions are unaffected. This means the first threshold for assessing risk is extremely simple: open your Cursor and check the version number.

The reason version numbers can serve as a basis for judgment is that extension packaging and distribution are tied to specific versions. Attackers contaminated specific build artifacts, and subsequent versions returned to normal after fixes. This also explains a common confusion: why some people using the same extension were affected while others were not—the difference often lies in the version number and the installation time window.
Three Steps to Complete Remediation
If you confirm you are using an affected version, the remediation plan given in the video is quite straightforward and can be summarized in three steps.

Step one: uninstall the problematic Cursor version. Step two: rotate all related credentials—this is not just changing a password. SSH keys need to be regenerated and replaced, and any access tokens exposed in that tool's environment should be treated as compromised. Step three: run the official remediation script to clean up any residual malicious components.
Here is a detail that is easily overlooked: many people assume that after uninstalling and reinstalling, everything is fine. But credentials were already read while the malicious extension was running—not rotating them is like copying the key to your door lock but only changing the door. Credential rotation is the critical damage-control action.
Credential Rotation refers to the process of proactively revoking old credentials and issuing new ones, either periodically or when leakage is suspected, covering passwords, API tokens, SSH keys, OAuth refresh tokens, and more. Effective rotation involves three actions: revoking old credentials (making them immediately invalid), issuing and distributing new credentials, and auditing records of old credentials being used during their validity period. Merely uninstalling software without rotating credentials is like the attacker having already copied your key while you only changed the door lock—the stolen credentials remain usable. After rotation, you should also check access logs of cloud platforms and code repositories to confirm there are no anomalous logins or data pulls.
Timeline and Current Status
According to the video, the leak incident can be traced back to around November 13, and as of after November 1, no further attack activity has been reported at the official level, with the status described as "contained."

The term "contained" should be viewed objectively: it means the attack surface has been closed, but it does not mean all affected parties have completed cleanup. The delayed effects of supply chain attacks often manifest weeks or even months later—especially for credential-type data, which attackers may have already retained and are waiting to exploit.
Takeaways for Developers
This incident exposes not just a security vulnerability in a specific tool but a common risk across the AI coding tool ecosystem. When an IDE begins integrating plugin marketplaces, auto-updates, and cloud credential management, its attack surface approaches that of a small operating system. Developers' trust in such tools is often higher than their vigilance toward traditional dependency packages.
There are several practical principles: pay attention to security advisory channels for the tools you use, and don't rely solely on auto-updates; remain sensitive to permission requests from any extension, especially operations involving the file system and keys; and rotate SSH keys and access tokens regularly, treating it as routine maintenance rather than an emergency measure. The more convenient the tool, the more you need to maintain a basic skepticism toward the supply chain.
Related articles

5 Skills You Must Learn Before 2027: AI and Automation Top the List
A YouTube creator lists 5 skills worth learning before 2027: AI & automation, sales negotiation, content creation, digital marketing, and Vibe Coding. This article breaks down the list's reasonableness, each skill's ROI timeline, and how to combine them into a complete chain from production to monetization.

Grok Build Update: Key Changes After Cursor's Rebranding
Grok Build update explained: Cursor rebrands on Nov 30, collaboration tools require @Build tagging from Dec 7. New standalone agent window is 3x faster, supports /import clod for settings and share-link deployment. Migration notes and OpenAI access risks.

Official Chrome Guidance Repository: Helping AI Coding Agents Say Goodbye to Outdated Web Code
The modern web guidance repository maintained by Chrome, Edge, Firefox, and MDN teams has 27K stars, injecting 269 modern web feature insights into agents like Claude Code, Codex, and Copilot with one command. Evaluations show significantly higher task pass rates, but the data warrants rational scrutiny.