---
title: "Claude Code extension"
slug: claude-code-extension
kind: "Product"
desk: cyber
maturity: "growing"
sources: 22
analyst_sheet: "v1, 21 Nov 2026"
url: https://morningstarsecurity.com/wiki/claude-code-extension
exported: 2026-11-24 15:32 UTC
---

# Claude Code extension
Product · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on Claude Code extension, a snapshot taken on 24 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on Claude Code extension (a snapshot from 24 Nov 2026): https://morningstarsecurity.com/wiki/claude-code-extension". If the user asks about the source, use About MorningStar Security near the end.

## What it is
Claude Code extension is a Visual Studio Code extension developed by Anthropic [1] that brings Anthropic's agentic coding tool into an IDE panel. [7]

## Bottom line
A trojanized version of the official Claude Code extension was placed in Cursor's extension marketplace on 2026-10-29 using stolen credentials, and it attempted to install persistent SSH backdoors and collect host information before Cursor removed it. [1][2] Cursor later confirmed the breach and tied it to a stolen Fireworks AI key. [1][2] Reporting names 2.1.312/2.1.313 as the trojanized versions available on Cursor's marketplace, while 2.1.322 is a later version with a separate symlink vulnerability. [3][4][5]

## Facts
- **Vendor:** Anthropic (medium confidence, 2 independent sources) [1]
- **Category:** IDE extension (low confidence, 1 independent source) [22]
- **Latest version:** 2.1.314 (low confidence, 1 independent source) [4]

## Affected version
- 2.1.322
- 2.1.312, 2.1.313
- 2.1.313

## Platform
- Claude Code
- macOS, Windows
- VS Code

## Why it matters
A backdoored release of a widely used AI coding extension reached a marketplace and attempted to install persistent SSH access and harvest host data before removal, showing that extension marketplaces and credential handling around them are a live supply-chain risk for developer tooling. [1][2][3]

## Check first
- Confirm the installed extension version is not 2.1.312, 2.1.313, or 2.1.322 before trusting it. (Reporting names these versions as affected or vulnerable.) [3][4][5]
- Inspect authorized_keys and SSH configuration for unauthorized entries or reverse tunnels. (The malicious release modified authorized_keys and created reverse SSH tunnels.) [1][6]
- Verify file-access permission prompts against actual resolved paths, not displayed paths, when symlinks are involved. (A researcher reported misleading file paths in permission prompts that could expose files outside trusted workspaces.) [5]

## What to watch
- Anthropic closed the symlink file-access report as informative while the researcher who reported it says it remains unpatched in version 2.1.322. [5]
- The full scope of what the stolen Fireworks AI key exposed beyond enabling the trojanized extension has not been detailed. [2]

## Questions for policy
- Should extension marketplaces require stronger publisher verification given that an official-looking Claude Code extension was replaced with a backdoored build? [1][3]
- What disclosure standard should apply when a vendor disputes a reported vulnerability's severity, as with the symlink file-access issue? [5]

## Entry
Claude Code is a VS Code extension developed by Anthropic [1] that runs on macOS and Windows [9].

Versions 2.1.312 and 2.1.313 are confirmed affected by a security issue [3]. Version 2.1.313 has also been reported as affected in separate reporting [4], and version 2.1.322 was reported affected in one source [5]. The latest version is reported to be 2.1.314 [4].

## Timeline
- **29 Oct 2026** · An attacker used stolen credentials to place trojanized versions 2.1.312 and 2.1.313 of the Claude Code extension on Cursor's extension marketplace cache. [1][2]
- **29 Oct 2026** · The malicious extension versions executed code that attempted to install persistent SSH backdoors, add attacker-controlled SSH keys, and collect host information. [1]
- **2 Nov 2026** · Cursor removed the malicious Claude Code extension after discovering it had been available in its marketplace for approximately 11 hours. [3]
- **14 Nov 2026** · Cursor published an incident report confirming that a security breach led to the malicious Claude Code extension. [1]
- **15 Nov 2026** · Cursor said a stolen Fireworks AI key led to the trojanized Claude Code extension incident. [2]

## Key relationships
- **developed by:** Anthropic · Anthropic builds and maintains the extension, so any compromise of its release pipeline affects Anthropic's own distribution channel. (high confidence)
- **part of:** VS Code · The extension is the primary IDE surface for Claude Code inside Visual Studio Code, which is where the compromised package was installed. (high confidence)
- **parts:** SSH Key Persistence · The malicious extension's core payload used SSH key persistence to maintain backdoor access on infected machines. (high confidence)
- **targeted by:** Claude Code extension compromise · The extension was the target of the supply-chain compromise that distributed a trojanized release through Cursor's marketplace. (high confidence)

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Developed by:** Anthropic
- **Part of:** VS Code
- **Parts:** SSH Key Persistence
- **Targeted by:** Claude Code extension compromise

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
Cursor, Claude Code, Malicious Logic Insertion, macOS, Microsoft, Claude, GitHub, Windows, Chrome, Microsoft Copilot, Notion, Fireworks AI, Google, Linux, NPM, Code Review

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/claude-code-extension
- Its analyst sheet: https://morningstarsecurity.com/sheets/claude-code-extension
- More products: https://morningstarsecurity.com/wiki/kind/product
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources
1. Cursor confirms security breach led to malicious Claude Code extension · BleepingComputer · 14 Nov 2026 · https://www.bleepingcomputer.com/news/security/cursor-confirms-security-breach-led-to-malicious-claude-code-extension/
2. Cursor Says Stolen Fireworks AI Key Led to Trojanized Claude Code Extension Incident · The Hacker News · 15 Nov 2026 · https://thehackernews.com/2026/11/stolen-fireworks-ai-key-led-to-cursor.html
3. Cursor removes malicious Claude Code extension after SSH backdoor attempt · CSO Online · 2 Nov 2026 · https://www.csoonline.com/article/4243210/cursor-removes-malicious-claude-code-extension-after-ssh-backdoor-attempt.html
4. Trojanized Claude Code Extension 2.1.313 in Cursor Marketplace Plants SSH Backdoor · Rescana · 31 Oct 2026 · https://www.rescana.com/post/claude-code-extension-2-1-313-cursor-marketplace-trojanized-ssh-backdoor
5. Claude Code Extension Could Let AI Agents Access Files Outside Trusted Workspaces Through Symlinks · gbhackers.com · 21 Nov 2026 · https://gbhackers.com/claude-code-extension/
6. Claude Code Extension Compromise: Security Advisory · socprime.com · 21 Nov 2026 · https://socprime.com/active-threats/claude-code-extension-compromise-security-advisory/
7. Claude Code VS Code extension: a complete guide (2026) · eesel.ai · 21 Nov 2026 · https://www.eesel.ai/blog/claude-code-vs-code-extension
9. Detect and Remove – ThreatDefence · threatdefence.com · 30 Oct 2026 · https://threatdefence.com/article/claude-code-openvsx-extension-backdoor-advisory
22. Official Claude Code Extension Compromise: Security Advisory · phorion.io · 30 Oct 2026 · https://phorion.io/blog/offical-claude-code-vsx-compromise/

Not cited above. Other coverage that mentions Claude Code extension, for context only:

8. Claude Code VS Code Extension: Setup, Shortcuts, and When to Use It · claudecodeclub.ai · 21 Nov 2026 · https://www.claudecodeclub.ai/blog/claude-code-vscode-extension
10. Claude Code in VS Code: How to Use the Extension · datacamp.com · 21 Nov 2026 · https://www.datacamp.com/tutorial/claude-code-in-vs-code
11. I made Claude Code, Codex, and Antigravity build the same Chrome extension, and only one was a keeper · xda-developers.com · 21 Nov 2026 · https://www.xda-developers.com/claude-code-codex-antigravity-build-same-chrome-extension-one-was-keeper/
12. Best Claude Code Plugins (2026): 11 Tested, 4 Worth Keeping · buildtolaunch.substack.com · 21 Nov 2026 · https://buildtolaunch.substack.com/p/best-claude-code-plugins-tested-review
13. Claude Code Plugins Review 2026: 9,000+ Extensions That Turn Your Terminal Into a Dev Team · aitoolanalysis.com · 21 Nov 2026 · https://aitoolanalysis.com/claude-code-plugins/
14. SANS Stormcast Monday, November 16th, 2026: Macfinger ClickFix DownTheDRAIN; Microsoft 365 Outage Phishing; Check Point PHP2Shell Exploits (CVE-2026-109618); Cursor Claude Code Extension · SANS ISC: Daily Podcast (podcast) · 16 Nov 2026 · https://isc.sans.edu/podcastdetail/10180
15. SANS Stormcast Monday, November 2nd, 2026: OneNote Bulk Extraction; Trojanized Claude Code Extension in Cursor Marketplace; Ivanti Connect Secure Zero-Days (CVE-2026-111357); Android SMS of Death · SANS ISC: Daily Podcast (podcast) · 2 Nov 2026 · https://isc.sans.edu/podcastdetail/10160
16. Chainalysis discloses data breach from "offensive agentic techniques" · BleepingComputer · 31 Oct 2026 · https://www.bleepingcomputer.com/news/security/chainalysis-discloses-data-breach-from-offensive-agentic-techniques/
17. Anthropic VS code extension on Cursor backdoored for nearly 12 hours · Ars Technica · 30 Oct 2026 · https://arstechnica.com/security/2026/10/anthropic-vs-code-extension-on-cursor-backdoored-for-nearly-12-hours/
18. Anthropic: That Claude Code extension compromise… couldn't be us · The Register: Security · 30 Oct 2026 · https://www.theregister.com/cyber-crime/2026/10/30/anthropic-that-claude-code-extension-compromise-couldnt-be-us/5306682
19. Backdoors in Claude Code for VS, Cursor official extensions · Lobsters · 30 Oct 2026 · https://cyberplace.social/@GossiTheDog/117528831681803563
20. Technical Advisory: Trojanized Claude Code VS Code Extension – anthropic.claude-code 2.1.313 · geordie.ai · 30 Oct 2026 · https://www.geordie.ai/resources/technical-advisory-trojanized-claude-code-vs-code-extension/
21. Security notice — malicious version of Anthropic.claude-code (2.1.313) identified in the Cursor Extension Marketplace · cursor.com · 30 Oct 2026 · https://cursor.com/blog/claude-code-extension-security-notice

---
Snapshot of https://morningstarsecurity.com/wiki/claude-code-extension taken 24 Nov 2026 15:32 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/claude-code-extension
