Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
vi
HomeCategoriesArcadeBookmarks
Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
Privacy|Terms

© 2026 Coding4Food. Written by devs, for devs.

All news
TechnologyDev Life

1-Click and Your GitHub Token is Gone: The Latest VSCode Nightmare

June 3, 20263 min read

One misplaced click and your GitHub token saved in VSCode could be yeeted to an attacker. Let's break down the massive security drama trending on Hacker News.

Share this post:
cybersecurity, palm print, data security, firewall, hacker, malware, ransomware, hacking, cybersecurity, cybersecurity, cybersecurity, cybersecurity, cybersecurity, ransomware, ransomware, ransomware, ransomware
Nguồn gốc: https://coding4food.com/post/1-click-github-token-stealing-vscode-bug. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/1-click-github-token-stealing-vscode-bug. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/1-click-github-token-stealing-vscode-bugNguồn gốc: https://coding4food.com/post/1-click-github-token-stealing-vscode-bug. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/1-click-github-token-stealing-vscode-bug. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/1-click-github-token-stealing-vscode-bug
Nguồn gốc: https://coding4food.com/post/1-click-github-token-stealing-vscode-bug. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/1-click-github-token-stealing-vscode-bug. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/1-click-github-token-stealing-vscode-bugNguồn gốc: https://coding4food.com/post/1-click-github-token-stealing-vscode-bug. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/1-click-github-token-stealing-vscode-bug. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/1-click-github-token-stealing-vscode-bug
vscode buggithub tokenlỗ hổng bảo mậthacker newsammar askar1-click exploit
Share this post:

Bình luận

Related posts

dog, pet, trick, animal, bounce, rack
TechnologyDev Life

The Dead Economy Theory: Are You Just Coding Toys for Bots?

Unpacking the 'Dead Economy Theory' trending on Hacker News. A brutally honest look at zombie companies, bot-driven transactions, and a wake-up call for devs.

May 303 min read
Read more →
circuit board, electronics, cpu, macro
TechnologyTools & Tech Stack

AV1 Isn't Even Everywhere Yet, but VLC's Creator is Cooking 'dav2d' for AV2. RIP Our CPUs.

VideoLAN is already teasing dav2d, a software decoder for the upcoming AV2 standard. Hacker News erupts in the classic C vs. Rust debate. Here's the rundown.

Jun 13 min read
Read more →
information, data, disk, server, database, recording, files, gigabytes, software, computer, server, database, database, database, database, database
TechnologyTools & Tech Stack

Hacker News Drama: Why SQLite is Tearing Down the 'Durable Workflows' Over-Engineering Myth

Ditch the massive Temporal or Kafka clusters! A top Hacker News post argues that for durable workflows, a simple local SQLite database is all you really need.

May 303 min read
Read more →
technology, robot, humanoid, cyborg, digital, futuristic, artificial intelligence, artificial intelligence, artificial intelligence, artificial intelligence, artificial intelligence, artificial intelligence
AI & AutomationTechnology

Anthropic Unleashes Claude Opus 4.8: Are Developers Panicking Yet?

Anthropic just dropped a nuke called Claude Opus 4.8 on Hacker News. Massive context, crazy coding skills. Is this the end for code monkeys?

May 292 min read
Read more →
technology, computer, code, javascript, developer, programming, programmer, jquery, css, html, website, technology, technology, computer, code, code, code, code, code, javascript, javascript, javascript, developer, programming, programming, programming, programming, programmer, html, website, website, website
IT DramaDev Life

I Spent 50 Hours Drawing a Line Graph: Peak Dev Masochism or Artistic Dedication?

A dev spent 50 hours hand-coding a line graph instead of using an npm package. Let's dive into the Hacker News reactions and why we keep doing this to ourselves.

May 253 min read
Read more →
typewriter, alphabet, antique, character, equipment, keyboard, mechanical, old, retro, brown keyboard, typewriter, typewriter, typewriter, typewriter, typewriter
Tools & Tech StackTechnology

Forget Your MacBook: Why Devs Are Over-Engineering DIY "Writerdecks" Just to Type

Hacker News is obsessing over 'Writerdecks'—DIY, distraction-free typing machines. Is it the ultimate focus tool or just another yak-shaving excuse?

May 243 min read
Read more →

What's up, fellow code monkeys? Grinding through Jira tickets or pretending to work? Pause your Spotify playlist for a second, because today we're talking about a massive screw-up in everyone's favorite text editor: VSCode. If you're the type of dev who clicks links faster than your brain can process, you might want to read this before your tech lead calls you at 2 AM screaming about a compromised repo.

The TL;DR on the VSCode Disaster

Security wizard Ammar Askar just dropped a nuke on his personal blog, detailing a vulnerability that is currently skyrocketing on Hacker News with over 500 upvotes. Here's the raw rundown of what the hell happened:

  • The 1-Click Magic: This isn't some complex "download this zip, run a bash script, bypass UAC" exploit. It's a 1-click kill. You accidentally click a maliciously crafted link (like a vscode:// URI handler), and boom.
  • The Prize: The vulnerability targets the GitHub OAuth token that VSCode stores locally so you don't have to authenticate every time you push code.
  • The Blast Radius: Once an attacker gets their hands on that token, they basically become you. Depending on the token's scope, they can clone your company's proprietary code, snoop around, or worse, push malicious commits directly into your codebase (Supply Chain Attack 101).
  • A lot of us spin up a VPS to test sketchy payloads safely, but with this bug, simply browsing the web on your local machine and clicking the wrong link triggers VSCode to hand over your keys to the kingdom.

What's the Hivemind Saying?

Since HN comments are a goldmine of panic and armchair security experts, here's how the dev community is reacting to the fallout:

  • The Pissed-off Majority: "Seriously, Microsoft? How does a 1-click token stealer make it to production in 2024?" It's a classic case where making tools ultra-convenient (like browser-to-IDE integration) creates gaping security holes.
  • The Paranoia Squad: "Just spent the last 20 minutes reviewing my browser history and revoking every active token I have. I am sweating bullets right now."
  • The Vim Elitists: There's always that one group spamming: "This is why I only use Vim over SSH. No GUI, no URI handlers, no bullshit." Annoying? Yes. Correct in this specific scenario? Also yes.

The C4F Verdict: Don't Be a Noob

Look, even top-tier tools can backfire. Microsoft built deep integration so you could open repos directly from the browser, but accidentally built a backdoor for token thieves.

Here are your survival rules going forward:

  1. Stop clicking random links sent by strangers on Discord or Slack. If you see a vscode:// prompt pop up unexpectedly in your browser, hit "Cancel" and run for the hills.
  2. Principle of Least Privilege, people! Stop generating Personal Access Tokens (PATs) with full repo access just because you're too lazy to check the right boxes. Use GitHub's fine-grained PATs, scope them to specific repositories, and give them expiration dates. If shit hits the fan, you just revoke the token and move on.
  3. Update your VSCode immediately if there's a patch available. Stop hitting the "Remind me later" button!

Stay safe out there, and may your tokens remain un-stolen.


Sauce:

  • Hacker News Thread: 1-Click GitHub Token Stealing via a VSCode Bug
  • Ammar Askar's Blog: https://blog.ammaraskar.com/github-token-stealing/