BTC $71,807
2026 Bull Run Is Building Start trading with 5% OFF all fees
Sign Up Now
BTC $71,807
Bull Run 2026 | 5% Off Fees Open your Binance account today
Sign Up

GitHub Token Theft Via VSCode Web Vulnerability

One-click exploit steals GitHub token via VS Code web editor vulnerability.

  • A critical vulnerability in Microsoft Visual Studio Code’s GitHub.dev web editor allows attackers to steal a user’s full-access GitHub token with a single click.
  • The exploit uses malicious JavaScript to install an attacker-controlled extension, bypassing security checks to access and potentially write to all of a user’s repositories.
  • Microsoft has acknowledged the flaw and is working on a fix, but the issue does not affect the VS Code Desktop application.

Cybersecurity researchers disclosed on June 3, 2026, a severe one-click attack vector in Microsoft Visual Studio Code’s GitHub.dev web editor. This vulnerability directly threatens the security of developers’ private code repositories.

- Advertisement -

“Just by clicking a link, it’s possible for an attacker to steal a GitHub token that can read and write to your repos, including private ones,” security researcher Ammar Askar said. The token provides full access instead of being scoped to a single project.

The attack exploits a message-passing mechanism between the main editor and its webviews. Consequently, malicious JavaScript can simulate keypresses to open the Command Palette and install a rogue extension.

This extension then steals the GitHub OAuth token passed to the web-based editor. It can subsequently query the GitHub API to enumerate all accessible private repositories.

The exploit leverages a feature called local workspace extensions to bypass publisher trust checks. This allows installation directly from a workspace folder without security prompts.

- Advertisement -

Microsoft was notified of the vulnerability on June 2, 2026. Details were made public shortly thereafter, citing the company’s past handling of similar bugs.

“To clarify, this issue does not affect VS Code Desktop,” said Alexandru Dima, a partner software engineering manager at Microsoft. Meanwhile, the company has acknowledged the report and noted it is working on a fix.

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -
Ad
Altseason Is Loading. Don't watch from the sidelines.
SOL $90.51
DOGE $0.0963
LINK $9.02
SUI $1.00
5% off fees when you sign up
Start Trading
Ad
Pay Less on Every Trade. For Life.
$10K/mo volume Save $60/yr
$50K/mo volume Save $300/yr
$100K/mo volume Save $600/yr
5% off all trading fees when you sign up
Claim Your Discount

Latest News

INTERPOL nabs 58 in global takedown of West African cyber fraud rings

INTERPOL's Operation Jackal IV arrested 58 people and identified 263 suspects across 22 countriesWest...

Ex-X Head Hints Crypto Trading Coming to X Soon

X’s former head of product, Nikita Bier, indicated that cryptocurrency trading on the platform...

39 US state banking groups launch BankChain Alliance for 2027 blockchain network

Thirty-nine US state banking associations formed the BankChain Alliance to build a nationwide, industry-owned...

Stocks Rise as Cooling Oil and Yields Lift Sentiment Before Nvidia Earnings

Treasury yields fell sharply, with the 10-year note dropping over 7 basis points to...

SpaceX plans $100B Louisiana spaceport near Texas coast

SpaceX plans to invest $100 billion in a new spaceport in Vermilion Parish, Louisiana,...

Must Read

Top 10 BEST Crypto Trading Books for New Traders

If you're thinking of diving into the crypto trading space, acquiring solid knowledge isn't just recommended - it's essential to protect your investment.Learning...
Ad
Altseason Is Loading. These 4 coins are trending right now.
SOL $92.12
DOGE $0.0950
LINK $9.02
SUI $1.02
5% off spot fees when you sign up
Start Trading