5 202
1-Click GitHub Token Stealing via a VSCode Bug
• Clicking a link in a VSCode webview can steal GitHub tokens with repo read/write access. • The attack exploits VSCode webview's message passing to fake keystrokes and install malicious extensions. • Proof-of-concept involves a GitHub repo with a Jupyter notebook and local workspace extension. • Clearing github.dev site data blocks the attack; prior approvals allow token theft without user action. • VSCode uses Content Security Policy and iframe isolation but has UI/UX tradeoffs affecting security.#VSCode #GitHubSecurity #TokenTheftRead more | Comments | @hackernws
03 июня, 00:53
