<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: ammar2</title><link>https://news.ycombinator.com/user?id=ammar2</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 15 Jun 2026 14:43:06 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=ammar2" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by ammar2 in "Web Browsers on Video Game Consoles"]]></title><description><![CDATA[
<p>The PS5 also runs apps (games/browser) under a hypervisor. There was a hypervisor escape though coupled with webkit as an entrypoint:<p>* <a href="https://ps5dev.github.io/ps5-wiki/hypervisor" rel="nofollow">https://ps5dev.github.io/ps5-wiki/hypervisor</a><p>* <a href="https://github.com/PS5Dev/Byepervisor" rel="nofollow">https://github.com/PS5Dev/Byepervisor</a><p>* <a href="https://github.com/PS5Dev/PS5-UMTX-Jailbreak/blob/main/README.md" rel="nofollow">https://github.com/PS5Dev/PS5-UMTX-Jailbreak/blob/main/READM...</a></p>
]]></description><pubDate>Thu, 11 Jun 2026 17:48:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=48493807</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48493807</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48493807</guid></item><item><title><![CDATA[New comment by ammar2 in "1-Click GitHub Token Stealing via a VSCode Bug"]]></title><description><![CDATA[
<p>> GitHub runs a great program on HackerOne<p>I agree, for the record here's my HackerOne profile <a href="https://hackerone.com/ammar2/hacktivity?type=user" rel="nofollow">https://hackerone.com/ammar2/hacktivity?type=user</a><p>Just for context, that 2023 bug was initially reported to GitHub's HackerOne program and they explicitly told me it was out of scope for them and to take it to MSRC:<p>> We have reviewed the report and determined that the vulnerabilities is in VS code and the fix will be implemented by Microsoft. As a result, it is not eligible for reward under the Bug Bounty program. Please follow-up with Microsoft via the report you submitted.<p>There was also an additional bug that allowed an attacker to exfiltrate private repo contents with a github.dev link that MSRC also marked as not having security impact.<p>I absolutely loved working with GitHub folks on the GitHub bug bounty program, they're responsive, go into technical details with you and are awesome to deal with. MSRC is like the polar opposite of that.</p>
]]></description><pubDate>Wed, 03 Jun 2026 18:48:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=48388102</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48388102</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48388102</guid></item><item><title><![CDATA[New comment by ammar2 in "1-Click GitHub Token Stealing via a VSCode Bug"]]></title><description><![CDATA[
<p>heh, a friend actually pointed out a typo on a first draft and said "maybe you shouldn't fix it to show it's not LLM written".</p>
]]></description><pubDate>Wed, 03 Jun 2026 16:43:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=48386371</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48386371</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48386371</guid></item><item><title><![CDATA[New comment by ammar2 in "1-Click GitHub Token Stealing via a VSCode Bug"]]></title><description><![CDATA[
<p>It's not just based on that, if you read the linked report from 2023 (<a href="https://blog.ammaraskar.com/vscode-rce/" rel="nofollow">https://blog.ammaraskar.com/vscode-rce/</a>), I had a bug with the exact same impact of token exfiltration (It did need one additional click on the VSCode interface). They marked it as low severity, fixed it silently, didn't acknowledge that it had security impact and did not provide me any credit much less a bounty.</p>
]]></description><pubDate>Wed, 03 Jun 2026 15:36:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=48385519</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48385519</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48385519</guid></item><item><title><![CDATA[New comment by ammar2 in "1-Click GitHub Token Stealing via a VSCode Bug"]]></title><description><![CDATA[
<p>Update as of 3rd June: Microsoft has fixed this with a stopgap  fix by adding a confirmation when opening notebooks in web VSCode and not allowing trusted publisher to be skipped by commands (<a href="https://github.com/microsoft/vscode/pull/319705" rel="nofollow">https://github.com/microsoft/vscode/pull/319705</a>).<p>That's probably one of the fastest responses I've seen from a vendor.</p>
]]></description><pubDate>Wed, 03 Jun 2026 13:27:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=48383729</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48383729</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48383729</guid></item><item><title><![CDATA[New comment by ammar2 in "1-Click GitHub Token Stealing via a VSCode Bug"]]></title><description><![CDATA[
<p>You cannot, it doesn't go through the regular OAuth flow. GitHub just automatically grants it a token.</p>
]]></description><pubDate>Wed, 03 Jun 2026 13:06:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=48383489</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48383489</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48383489</guid></item><item><title><![CDATA[New comment by ammar2 in "1-Click GitHub Token Stealing via a VSCode Bug"]]></title><description><![CDATA[
<p>1 and 2 are correct, take a look at the PoC repo here: <a href="https://github.com/ammaraskar/github-dev-token-steal-poc/tree/main/.vscode/extensions/my-extension" rel="nofollow">https://github.com/ammaraskar/github-dev-token-steal-poc/tre...</a><p>We can try to just put a `my-extension/extension.js` for the most direct execution but the CSP blocks that. It's only a script-src CSP blocking it though, so fetching the package.json is still kosher. So we end up using it to contribute a keybinding instead.</p>
]]></description><pubDate>Wed, 03 Jun 2026 04:43:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=48379993</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48379993</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48379993</guid></item><item><title><![CDATA[New comment by ammar2 in "1-Click GitHub Token Stealing via a VSCode Bug"]]></title><description><![CDATA[
<p>Thank you, that's a very kind comment.<p>I have no interest in selling these vulnerabilities or sitting on them. At the same time, it feels really bad to have a vendor disrespect the hours it can take to make a proof-of-concept by just patching it silently and not crediting you or acknowledging it.</p>
]]></description><pubDate>Wed, 03 Jun 2026 04:24:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=48379881</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48379881</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48379881</guid></item><item><title><![CDATA[New comment by ammar2 in "1-Click GitHub Token Stealing via a VSCode Bug"]]></title><description><![CDATA[
<p>> instead of clout<p>I'm catching up on the infosec twitter side but it seems like it was even worse. A lot of people have the same story as me in 2023 of "they silently patch the bug and don't even credit you" which really stinks.</p>
]]></description><pubDate>Wed, 03 Jun 2026 03:42:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=48379625</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48379625</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48379625</guid></item><item><title><![CDATA[New comment by ammar2 in "1-Click GitHub Token Stealing via a VSCode Bug"]]></title><description><![CDATA[
<p>> it'd be awesome if the in-browser IDE launched with a temporary per-repo permission scope<p>That's actually exactly what they do for codespaces. The token only has read/write on the repo you activated for the codespace [1]. They should definitely consider doing that for github.dev as well.<p>[1] <a href="https://orca.security/resources/blog/hacking-github-codespaces-rce-supply-chain-attack/#h-what-is-the-immediate-impact" rel="nofollow">https://orca.security/resources/blog/hacking-github-codespac...</a></p>
]]></description><pubDate>Wed, 03 Jun 2026 03:38:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=48379598</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48379598</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48379598</guid></item><item><title><![CDATA[1-Click GitHub Token Stealing via a VSCode Bug]]></title><description><![CDATA[
<p>Article URL: <a href="https://blog.ammaraskar.com/github-token-stealing/">https://blog.ammaraskar.com/github-token-stealing/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=48371562">https://news.ycombinator.com/item?id=48371562</a></p>
<p>Points: 660</p>
<p># Comments: 101</p>
]]></description><pubDate>Tue, 02 Jun 2026 15:29:05 +0000</pubDate><link>https://blog.ammaraskar.com/github-token-stealing/</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48371562</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48371562</guid></item><item><title><![CDATA[New comment by ammar2 in "GitHub is investigating unauthorized access to their internal repositories"]]></title><description><![CDATA[
<p>Also, the Github enterprise code is "obfuscated" but it uses a trivially reversible method just meant to be a minor roadblock. After you get past that you get the full ruby source code, no minification or anything.<p>For a while the key was literally:<p>> This obfuscation is intended to discourage GitHub Enterprise customers from making modifications to the VM. We know this 'encryption' is easily broken.</p>
]]></description><pubDate>Wed, 20 May 2026 16:07:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=48209994</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48209994</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48209994</guid></item><item><title><![CDATA[New comment by ammar2 in "Composer leaks contents of tokens configured as GitHub OAuth tokens"]]></title><description><![CDATA[
<p>Aah, the newlines were the thing I was missing. That makes sense then.</p>
]]></description><pubDate>Wed, 13 May 2026 20:16:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=48126903</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48126903</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48126903</guid></item><item><title><![CDATA[New comment by ammar2 in "Reverting the incremental GC in Python 3.14 and 3.15"]]></title><description><![CDATA[
<p>PEPs aren't necessarily just for language changes, e.g <a href="https://peps.python.org/pep-0436/" rel="nofollow">https://peps.python.org/pep-0436/</a> which is largely a CPython implementation detail.</p>
]]></description><pubDate>Wed, 13 May 2026 20:09:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=48126802</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48126802</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48126802</guid></item><item><title><![CDATA[New comment by ammar2 in "Composer leaks contents of tokens configured as GitHub OAuth tokens"]]></title><description><![CDATA[
<p>Could you elaborate on this bit on why Github's secret masking doesn't work here:<p>> GitHub Actions' built-in secret masker matches registered values as exact substrings. When the exception message is rendered by Symfony Console it may wrap, embed in In BaseIO.php line N: framing, or interleave with ANSI control sequences. So the masker does not redact, and the plaintext token reaches the log.<p>What does this log rendering look like such that the token from that code snippet becomes interleaved enough to not be a substring match?<p>I'm not familiar with composer/Symfony but I would expect something like:<p><pre><code>  Line 34: Foo bar
  Line 34: <red>Foo bar</red></code></pre></p>
]]></description><pubDate>Wed, 13 May 2026 19:55:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=48126623</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=48126623</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48126623</guid></item><item><title><![CDATA[New comment by ammar2 in ""cat readme.txt" is not safe if you use iTerm2"]]></title><description><![CDATA[
<p>> (and agents)<p>Ironically, agents have the exact same class of problem.</p>
]]></description><pubDate>Sat, 18 Apr 2026 00:48:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=47812203</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=47812203</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47812203</guid></item><item><title><![CDATA[New comment by ammar2 in "Cloudflare is sponsoring Ladybird and Omarchy"]]></title><description><![CDATA[
<p>> Microsoft would fork it within hours<p>I haven't trudged through Chromium's commit statistics but has Microsoft been upstreaming many contributions? I'm skeptical that they are ready to take on the full brunt of Chromium maintenance on a whim, it would take a decent while to build up the teams and expertise for it.</p>
]]></description><pubDate>Mon, 22 Sep 2025 16:05:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=45335398</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=45335398</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45335398</guid></item><item><title><![CDATA[New comment by ammar2 in "Airpass – Easily overcome WiFi time limits"]]></title><description><![CDATA[
<p>Glad this feature is built into most modern operating systems these days.<p>For MacOS (Sequoia+) you can just forget the network and reconnect to get a new MAC address [1].<p>Android's documentation for if it decides to generate a new address per connection is a little vague [2], but I'm guessing forgetting and reconnecting works as well, you may also need to flip the "Wi-Fi non-persistent MAC randomization" bit in developer settings.<p>On Windows, flipping the "Random hardware address" switch seems to cause it to generate a new seed/address for me.<p>[1] <a href="https://support.apple.com/en-euro/102509" rel="nofollow">https://support.apple.com/en-euro/102509</a><p>[2] <a href="https://source.android.com/docs/core/connect/wifi-mac-randomization-behavior#non-persistent" rel="nofollow">https://source.android.com/docs/core/connect/wifi-mac-random...</a></p>
]]></description><pubDate>Sat, 21 Jun 2025 15:45:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=44338415</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=44338415</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44338415</guid></item><item><title><![CDATA[New comment by ammar2 in "Show HN: I built a hardware processor that runs Python"]]></title><description><![CDATA[
<p>> it includes instructions for stack manipulation, binary operations<p>Your example contains some integer arithmetic, I'm curious if you've implemented any other Python data types like floats/strings/tuples yet. If you have, how does your ISA handle binary operations for two different types like `1 + 1.0`, is there some sort of dispatch table based on the types on the stack?</p>
]]></description><pubDate>Mon, 28 Apr 2025 20:21:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=43825671</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=43825671</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43825671</guid></item><item><title><![CDATA[New comment by ammar2 in "Show HN: I built a hardware processor that runs Python"]]></title><description><![CDATA[
<p>Aah, neat! Yeah, piggy-backing off pypy's work here would probably make the most sense.<p>It'll also be interesting to see how OP deals with things like dictionaries and lists.</p>
]]></description><pubDate>Mon, 28 Apr 2025 20:11:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=43825573</link><dc:creator>ammar2</dc:creator><comments>https://news.ycombinator.com/item?id=43825573</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43825573</guid></item></channel></rss>