Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Cursor Autorun Flaw Lets Repositories Execute Code Without Consent

A newly disclosed flaw in the Cursor extension allows repositories to automatically execute code when a folder is opened, even without a developer’s consent.

The issue stems from the extension’s “autorun” feature, which launches commands tied to workspace events, such as opening a project.

Researchers at Oasis Security found that malicious actors could craft repositories that exploit this functionality. By embedding hidden instructions, attackers can trigger unauthorized code execution the moment a user opens the repository in Visual Studio Code with Cursor installed.

The discovery highlights how supply chain threats are evolving beyond dependency hijacking. Instead of waiting for a developer to run scripts or install packages, adversaries can now weaponize something as routine as opening a folder.

“The Oasis Security team’s findings highlight a serious but often overlooked risk: the silent execution of malicious code through development environments,” said Heath Renfrow, CISO at Fenix24.


Source - https://www.infosecurity-magazine.com/ne...s-execute/


Possibly Related Threads...
Thread / Author Replies Views Last Post
by OmniscientJun 17, 2026 12:50 PM 6 164 Jun 17, 2026 12:50 PM
Last Post: Omniscient
[The Brotherhood] by MadScientistJun 1, 2026 10:55 PM 1 102 Jun 1, 2026 10:55 PM
Last Post: The Pact
[The Brotherhood] by MadScientistMay 31, 2026 01:13 AM 1 91 May 31, 2026 01:13 AM
Last Post: Andy Walker