r/devops • • Oct 31 '26

Security Anyone rethinking IDE extensions after the Cursor marketplace incident?

Was reading about the malicious Claude code extension that show up in Cusor marketplace. The pary that got me was it trying to add an SSH key and open a reverse tunnel l, from something that just look like another editor extension

We talk a lot abt checking npm package and dependencies, but IDE extension feal like one of those thing people install once and forget abt it. Especially with auto updates enbled

Those things make me wonder how much access we are giving these extension without really thinking abt it. Are people actually restricting extension on work machines or is it mostly up to each dev? Curious if anyone team changed anything after this 🤔

Source:https://cursor.com/blog/claude-code-extension-security-notic

35 Upvotes

41 comments sorted by

35

u/mcfedr Oct 31 '26

I've always disliked the VScode model for this. you have to install a bunch of stuff, at first youve no idea what it all is or who its from.

much prefer, get PHPstorm, its perfectly set up, get goland, works great for that and basically have no extra plugins

11

u/Widowan Nov 01 '26

Jetbrains IDEs are so goated, it's sad to see them being so underappreciated

2

u/Asvp_bmoo Nov 01 '26

Pycharm is a superpower

18

u/chocopudding17 Oct 31 '26 edited Oct 31 '26

Idk how people weren't already thinking about this, tbh. And VS Code's crazy SSH feature where it freakin downloads a VS Code binary on the remote server? The whole security model is curl | bash on steroids.

Edit: ohhh, I see. This post is LLM engagement bait. Just a bot doing karma whoring. I should've seen it from the start.

2

u/Syrairc Nov 01 '26

It's just a package manager and you should treat it as such. You're downloading and running code on your machine. Being an IDE plugin doesn't change that.

2

u/m-in Oct 31 '26

I guess all this means that it's time to start thinking about actually paying for some of this stuff. The OSS model fails for these critical dependencies. Any "extension" that has full access to the system under user's credential is a disaster waiting to happen.

1

u/rankinrez Nov 01 '26

Commercial repos can be compromised too, though it’s maybe slightly harder to achieve.

1

u/m-in Nov 01 '26

I wouldn’t say «slightly». It can be orders of magnitude harder.

3

u/rankinrez Nov 01 '26

Quite a lot of for profit companies have been hacked over the years. It’s certainly not something to dismiss

1

u/m-in Nov 03 '26

I agree. But it’s usually user data they collect as part of whatever service they provide. You’d hope an IDE extension dev only collects payment via a third party service.

1

u/Fatality Nov 01 '26

Why would you install an extension from a third party marketplace

1

u/TehBens Nov 01 '26

Especially with auto updates enbled

Why would you do that? Just update when you encounter a bug or miss a feature or on a regular basis.

1

u/rankinrez Nov 01 '26 edited Nov 01 '26

Honestly what this thing actually did - add ssh key, reverse tunnel to single digital ocean IP, was pretty low tech and lame.

Was a waste of great initial compromise to get into that repo tbh.

But yeah overall this is just the latest in many supply-chain attacks. It’s hard to know exactly how to deal with them.

Plugins, browser extensions and the likes are trickier to police than maybe main applications like MS Word or VS Code itself.

I think it’s a big step to ban all such plugins if your staff use them and find them useful though. And deciding that plugins are uniquely vulnerable as opposed to any other software running probably doesn’t make sense.

Your org needs an overall strategy for how and when software is installed on staff machines. Same as for libraries and packages in production. What’s allowed, how it updates etc. Focusing just on plugins is probably not the answer imo.

1

u/Shoox Nov 01 '26

without really thinking abt it

There is the problem. Everything and everyone moves so fast, many stop thinking about what is actually happening on their machine. The FOMO mindset and the "my agents must run all the time" are a security nightmare.

I run my agents in a local cluster, unprivileged wherever possible and I'm still scared they try something crazy. No IDE access, just PR when a task is done.

1

u/Puzzled-Garage584 Nov 01 '26

VS Code has an extensions.allowed setting you can push via MDM or group policy, plus turn off extensions.autoUpdate. No idea if Cursor honors it tho, forks love to pick and choose

1

u/Asvp_bmoo Nov 01 '26

VSCodium !!!

1

u/Interesting-Swan7665 Nov 02 '26 edited Nov 02 '26

extensions run with your editor's full access, so one bad marketplace listing is a supply chain problem, not a productivity tip. we treat new ones like a dependency bump: someone reviews what it can read before it goes in.`

1

u/Upper-Warthog5439 Nov 02 '26

This is a good reminder that IDE extensions deserve the same scrutiny as other software dependencies. An extension can have access to source code, credentials, and internal project data, so checking its publisher, permissions, update history, and actual necessity should be part of the review process. Teams already put controls around cloud access and Microsoft environments, including areas covered by trusted tech, so developer tooling shouldn't be treated as an exception.

1

u/deployfan64 Nov 03 '26

our internal extension list got started after someone installed a "prettier" clone that phoned home every save, caught it only because the proxy logs looked weird that week.

1

u/josejulianariza 24d ago

It's a huge blind spot. We review code dependencies, but IDE extensions run with your user's permissions and have access to everything. A malicious plugin doesn't need to breach your app; it just needs to read your SSH key or AWS token.

Isolating with DevContainers (or running the IDE inside a VM) is what works best. If the extension runs inside a container, it can't see your real filesystem or open tunnels on your local network.

And for credentials, the recommendation is to stop having static keys on the local machine. Using SSO with ephemeral tokens or fast-expiring keys reduces the damage if the plugin does read something. It's a mindset shift: zero trust in what we install in the editor.

-7

u/kolorcuk Oct 31 '26

I have no idea what it is cursor and dont want to know, anyway i am thinking about my ide security.

My neovim with astronvim and a lot of config has a bunch load of plugins, and mason and treesitter install half the internet.

I am thinking of running my neovim under bwrap with network namespace with no network (except separate session only dedicated plugin update). I do not use any terminal features anyway in vim.

1

u/chocopudding17 Oct 31 '26

No idea why you were downvoted. I'd like to bwrap my editor too. Doing network namespaces is a great idea!

-8

u/lavahot Oct 31 '26

I barely use an IDE anymore, so no.

53

u/[deleted] Oct 31 '26

[removed] — view removed comment

3

u/syntaxcrime Nov 01 '26

how did you setup the policy?

5

u/Habeb_Nero Oct 31 '26

yeah the "harmless syntax highlighter" part is what gets me, nobody questions something that looks boring enough

5

u/donjulioanejo Chaos Monkey (Director SRE) Oct 31 '26

"Papa Security, why is nodeJS Syntax Pro++ trying to access ~/.ssh, ~/.aws, and trying to bind port 22?"

"Don't worry about it, keep working on BTC mainnet patches"

  • Some conversation at Binance, probably

-5

u/chocopudding17 Oct 31 '26

AI slop comment

1

u/[deleted] Oct 31 '26

[removed] — view removed comment

-1

u/abhinavs1920 Oct 31 '26

Approval alone doesn't freeze updates: in VS Code, auto-update is on by default for already-installed extensions. What stops an approved extension from changing underneath you is disabling auto-update - globally with the extensions.autoUpdate setting, or per extension by right-clicking it and toggling Auto Update off. (From the VS Code docs; Cursor is a separate product and its controls may differ.)

1

u/chocopudding17 Oct 31 '26

God, this sub is just overrun with AI-generated blather.

-1

u/[deleted] Oct 31 '26

[removed] — view removed comment

1

u/dysosmia Oct 31 '26

Curious how they enforce this, is it an MDM install for extensions situation? Do they block the vscode extensions download thru the firewall?

2

u/chocopudding17 Oct 31 '26

You're asking an earnest question to a slopper, unfortunately.

2

u/dysosmia Oct 31 '26

Damn, my heart too pure and gullible 😭 knew there was no easy way to enforce that

3

u/chocopudding17 Oct 31 '26

This sub is a pretty bad one nowadays, tbh...and this post itself is definitely slopped, and that seems to attract even more slop comments.

Best of luck out there o7