r/devops • u/Chamelon_DE • 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
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
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 | bashon 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/Fatality Nov 01 '26
Why would you install an extension from a third party marketplace
1
u/TehBens Nov 01 '26
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
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/taleodor Nov 01 '26
Yes, we practically stopped using IDEs a while back - https://worklifenotes.com/2026/07/16/the-ide-is-now-just-a-large-attack-surface/
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.
-8
u/lavahot Oct 31 '26
I barely use an IDE anymore, so no.
53
u/[deleted] Oct 31 '26
[removed] — view removed comment
1
u/[deleted] Oct 31 '26
[removed] — view removed comment
-1
u/[deleted] Oct 31 '26
[removed] — view removed comment