CyberSIXT Search
Original

SecurityWeekIonut Arghire

VS Code Configs Expose GitHub Codespaces to Attacks

VS Code-integrated configuration files are automatically executed in GitHub Codespaces when users open a repository or pull request, a finding highlighted by Orca Security. The research warns this default behaviour could enable supply chain attacks, since malicious commands could be run via JSON files placed in the .vscode folder or through devcontainer.json after a container initialises.

Orca also notes that attackers could target Linux systems by embedding terminal variables in another JSON file, triggering payload execution, and could exfiltrate GitHub tokens and Codespaces secrets, enabling read and write operations in the victim’s context. The report describes how an attacker might fork public repositories, open a malicious pull request, and have a maintainer’s token leaked when Codespaces is used, potentially allowing the attacker to push code as a verified maintainer.

According to Orca Security, Microsoft has said the behaviour is intentional, and SecurityWeek’s article, published on 5 February 2026, notes that both token abuse and hidden APIs could be misused for further attacks.

Sources

On this device

Following

Intel

VendorsThreat actorsResearch reports

Settings

CyberSIXT summarises security news every 30 minutes.

↑↓ move↵ open⌘C copy CVE IDEsc close

Keyboard shortcuts

Everything works with a mouse or touch. Shortcuts are a faster path.

Search ⌘K
Search /
Next item J
Previous item K
Go to Today GT
Go to News GN
Go to CVEs GC
Go to Briefing GB
Reduce motion on this device