Agent use case pack · Vibe coding

Check your machine for the backdoored Claude Code editor extension and clean up properly

by PaperChaseWebb

For about eleven hours on Oct 29, Cursor's extension marketplace served a tampered build of the Claude Code extension (2.1.313) to up to 5,000 users. It added an SSH key and startup persistence that survive uninstalling the extension, so the fix is a check, an update and a credential rotation, not just a reinstall.

Preview card for Check your machine for the backdoored Claude Code editor extension and clean up properly
Works withClaude CodeCursorPlain .md
Price
Free
Difficulty
Intermediate
Setup
30 min
Format
.md file
Free sample

check-your-machine-for-the-backdoored-claude-code-editor-extension-and-clean-up-properly.md · 4 KB · direct download, no signup

Download free

What you end up with

Uninstalling the extension does not remove what it added, so check the SSH keys and startup entries by hand and rotate credentials from a different, clean machine.

What you get

  • A plain-language summary of the workflow
  • A fill-in prompt template
  • What to watch out for
  • A link to the original source

Who it is for

Builders who already use AI agents and want a proven workflow they can copy into their own project.

Works with

Claude CodeCursorPlain .md

Solid chips: the agent is named in this listing's own tools list. Dashed chip: Plain Markdown, so it also pastes into other agents such as Grok Bot, Hermes, OpenClaw or Muse. We list those as compatible by format only, not as tested.

Tools needed

Cursorthe editor whose marketplace served the bad build
Claude Code extensionthe tampered package, version 2.1.313
Phorionindependent analysis of the payload
Read-only scannercommunity script that looks for the known traces
You needAn AI coding agent or chat model
You needA small real task to try it on

Cost to run: Free with the agent plan you already use.
Time to result: One working session

How it works

  1. Check which Claude Code extension version each editor installed and wh

    Check which Claude Code extension version each editor installed and when (the extensions folder and the editor's extension log).

    Expected: Done before you move to the next step.

  2. If 2.1.313 was ever installed, list ~/.ssh/authorized_keys and remove

    If 2.1.313 was ever installed, list ~/.ssh/authorized_keys and remove any key you do not recognise, starting with one labelled svc-telemetry.

    Expected: Done before you move to the next step.

  3. Look for the startup entries named in the vendor notice for your platf

    Look for the startup entries named in the vendor notice for your platform and remove them.

    Expected: Done before you move to the next step.

  4. Update to 2.1.314 or later, then rotate SSH keys, API tokens and cloud

    Update to 2.1.314 or later, then rotate SSH keys, API tokens and cloud credentials from a clean machine.

    Expected: Done before you move to the next step.

  5. Turn off extension auto-update until you have an allow-list and a wait

    Turn off extension auto-update until you have an allow-list and a waiting period for new versions.

    Expected: Done before you move to the next step.

Sample prompt from the pack

Workflow template · Cursor, Claude Code extension
Apply this workflow to [your project]:
1. Check which Claude Code extension version each editor installed and when (the extensions folder and the editor's extension log).
2. If 2.1.313 was ever installed, list ~/.ssh/authorized_keys and remove any key you do not recognise, starting with one labelled svc-telemetry.
3. Look for the startup entries named in the vendor notice for your platform and remove them.
4. Update to 2.1.314 or later, then rotate SSH keys, API tokens and cloud credentials from a clean machine.
5. Turn off extension auto-update until you have an allow-list and a waiting period for new versions.
Stop and ask me before anything irreversible: deploys, payments, sends or deletes.

Adapted by PaperChaseWebb. Not the original author's prompt.

Free preview of the file

check-your-machine-for-the-backdoored-claude-code-editor-extension-and-clean-up-properly.md (excerpt)4 KB total
# Check your machine for the backdoored Claude Code editor extension and clean up properly

PaperChase agent use case (free feed entry), version 1.0. Source: [Cursor (security notice); analysis by Phorion](https://cursor.com/blog/claude-code-extension-security-notice), 2026-10-29.

## What they did

Cursor published a notice that a malicious version of the Anthropic Claude Code extension was available from its marketplace from roughly 2:27am to 1:35pm PT on Oct 29, 2026, and pushed a clean 2.1.314. Phorion's write-up describes what the bad build did: it wrote a new key into ~/.ssh/authorized_keys, tried to open a reverse tunnel to an outside server, beaconed out, and added startup entries (a LaunchAgent on macOS, an @reboot crontab line on Linux, hidden files under ~/.config, a scheduled task or Startup script on Windows). Users on r/ClaudeAI and r/ClaudeCode compared notes and a read-only check script was published on GitHub.

## Worth knowing

Uninstalling the extension does not remove what it added, so check the SSH keys and startup entries by hand and rotate credentials from a different, clean machine. Only machines that installed or auto-updated to 2.1.313 in that window are affected; confirm the version history before you panic. Read the vendor notice yourself rather than trusting a summary, including this one.

Worth knowing

  • Uninstalling the extension does not remove what it added, so check the SSH keys and startup entries by hand and rotate credentials from a different, clean machine. Only machines that installed or auto-updated to 2.1.313 in that window are affected; confirm the version history before you panic. Read the vendor notice yourself rather than trusting a summary, including this one.
  • Figures are as reported by the original author and were not re-measured by us.

Questions

Where does this come from?

A public post credited to Cursor (security notice); analysis by Phorion. Source: https://cursor.com/blog/claude-code-extension-security-notice

Is it free?

Yes. Feed entries are free to read and download.

Details

Version 1.0 · Updated Oct 30, 2026 · Markdown version of this page
License: Personal and commercial use. Credit the original source when you share the workflow. Download terms

securityclaude-codecursorextensionssupply-chainincidentssh

Related

Preview card for AGENTS.md, CLAUDE.md and Cursor rules starter files
Prompt pack$14

AGENTS.md, CLAUDE.md and Cursor rules starter files

by PaperChaseWebb

Six fill-in instruction files for coding agents (base, Next.js plus Supabase, FastAPI, browser game, CLAUDE.md pointer, scoped Cursor rules), an Approvals section that makes the agent stop and wait for your yes, a table of what Grok Bot, Claude Code, Codex, Hermes and Cursor each read, a read-only checker for your rule files and 9 prompts to write, trim and test your own.

Works withClaude CodeCodexGrok BotHermes+1Plain .md and one Python 3 file (standard library only). Section 6a lists what Claude Code, Codex, Hermes and Cursor read, from their docs read 2026-10-30, and a block to paste into Grok Bot. The files were not run inside each tool.
Vibe coding · Beginner · 20 min setup
Preview card for Ask-first rules for AI agents
Prompt pack$19

Ask-first rules for AI agents: hard nos, approval cards and a test set

by PaperChaseWebb

Paste-in rules that make an agent ask before it sends, spends, posts or deletes, define what a real yes is, and stop retries after a no, plus 12 test scenarios to check it.

Works withClaude CodeCodexClaudeGrok Bot+4Plain .md plus one Python 3 file, standard library only. The agent prompt in block 13 is written for any agent with a shell (Grok Bot, Claude Code, Codex, Hermes); it was not loaded inside each harness.
Solo business · Beginner · 20 min setup
Preview card for Extension Lockfile
Prompt pack$24

Extension Lockfile: pin your editor extensions and check for persistence after a bad update

by PaperChaseWebb

Write down the editor extensions you trust at the versions you reviewed, turn off silent updates, and check every machine against that list with a read-only script. Take a baseline of SSH keys, startup entries, crontab and shell files on a quiet day, so when the next bad extension update is announced you can see what changed in one command. Includes an indicator file and runbook for the 2026-10-29 Claude Code extension incident.

Works withClaude CodeCodexCursorWritten for Claude Code and Codex through a skill file and an AGENTS.md snippet, and for Cursor and VS Code as editors it audits (Windsurf and VSCodium folders too). Tested on made-up home folders on Linux only; not on real macOS, Windows or real editor installs, and the skill file was not loaded inside either harness
Vibe coding · Intermediate · 30 min setup
Preview card for Extension Lockfile
Prompt packFree

Extension Lockfile: an allow-list check for your editor extensions (free sample)

by PaperChaseWebb

From Extension Lockfile: the quick checks for the 2026-10-29 Claude Code extension incident, pointing to the vendor's notice, five habits for editor extensions, and a read-only script that flags extensions not on your allow list, at an unapproved version, or installed in the last few days.

Works withClaude CodeCodexCursorPlain .md plus one Python 3 script, standard library only; reads the extension folders of VS Code, Cursor, Windsurf and VSCodium. Tested on made-up home folders on Linux only
Vibe coding · Beginner · 5 min setup