Better HN
topnewbestaskshowjobs
Log inSign up

mirashii

2,781 karma · joined May 6, 2012 (14y ago) · 588 submissions

email: me at rdeaton dot space
Submissions

comment 2d ago · link · parent

> That is still an open question

It’s not so much of an open question though. The GRH was formalized as a statement in mathlib independently and has already undergone that review, and the proof has been shown to prove the statement as formalized in mathlib. It has been the case before that we didn’t know the formalization of the statement was correct because it was also part of the paper providing the proof, but not here.

comment 4d ago · link · parent

> you have remove all your harness, TODOs and others just to commit and then add it back again

No, you don't. You can split. You can untrack. You can change your auto-track configuration. There are many ways to deal with this other than having to remove them. You can be equally deliberate about what goes into your final commit.

comment 4d ago · link · parent

Stage or no, git or jj, not writing a gitignore once and never worrying about removing hunks as you described or filtering the list of unstaged files in your brain for debug artifacts seems like completely unnecessary cognitive load. I’ve never come across a project that staunchly refuses to gitignore the paths of build artifacts that shouldn’t be checked in. It’s basic hygiene to prevent accidents. I really can’t understand any reason to oppose doing so.

comment 2w ago · link · parent

I commented in another thread recently that almost 15 years ago on a high traffic site we were full of obvious scam ads, tons of fake world of Warcraft clones with busty characters asking you to play, tons of you’re the 1 millionth visitor click here to claim your prize, download buttons. Even the occasional penis enlargement pills and stuff would come through. I really think even if the scale is maybe amping up, things weren’t much better 20 years ago, the web was just smaller, fewer people were paying attention, and the folks who were there had grown up learning to spot that stuff from the beginning.

comment 2w ago · link · parent

Are we sure they were higher quality? They estimated in 2024 that 10% of their revenue was from fraudulent ads or ads that should be banned based on their own rules.

https://www.reuters.com/investigations/meta-is-earning-fortu...

This is nothing new, profiting off of fraud and abuse has been the name of the game for all the big advertisers from the beginning.

comment 2w ago · link · parent

Back in 2013, I worked at a top-100 traffic website where we ran a few ads through Google. We'd regularly have blantant scams being advertised, and we'd report them, block the advertiser, and the next day they'd be back with bit for bit identical images under a new advertiser profile. Even back then, our Google reps were basically like "we can't do anything about it", which is clear bullshit, they just wouldn't and still won't as it might cut into their profits, and their recommendation was that we put a human on staff to review ads run on our platform daily and continue to ban the problematic ones.

Google and all the tech companies need to be held to account for this shit. Facebook in 2024 estimated as much as 10% of their revenue, $16 billion, would come from scams and ads that should be banned on their platform, and everyone suffers for it. I call bullshit on the notion that they can't afford to do better because scale. Spend some of those billions of dollars on human review. Spend some of those billions of dollars remunerating the people who get scammed through your platform. If you can't afford to keep running your advertising business after that, then it gets shut down, there's no inherent right to the monopoly on advertising that Google has had for over a decade.

Stop making excuses for companies worth trillions of dollars.

comment 3w ago · link · parent

Browsers already intentionally lie all the time, and have had to for years, because fingerprinting and tracking by various ad networks and bad actors has been rampant.

comment 3w ago · link · parent

If they tried to stop terrorists from making biological weapons in the same manner, the headlines would call that useless and ineffective because you're trying to stop already bad actors with something ineffective and trivially bypassed. This is no different, and shouldn't be treated any differently.

comment 3w ago · link · parent

They really didn’t though. They put it in a client side modification to the system prompt. You can just rip it out with a proxy or a small local modification to your client, which Claude will be happy to do for you. They took a token step so that people would write these headlines in the hope it would stave off more negative attention in the video game world without actually doing anything meaningful.

comment 3w ago · link · parent

This is a common sentiment, but the security story isn’t so clear cut as that. Encrypted at rest really just means that if you yank the disk out of the server, an adversary can’t read it. But if it’s a system that is online serving a database and you gain access to the application reading from the database, encryption at rest doesn’t save you. It’s obvious the application server must be able to read the decrypted data. If an adversary breaches the application, they get the data.

comment 3w ago · link · parent

I’d say it’s more correct that Anthropic publishes the Open VSX version, and Cursor mirrors it in their own repository, labeling it as being published in their mirror by Anthropic even though it is not.

comment 3w ago · link · parent

Cursor didn’t always use Open VSX, it changed in late 2025. https://forum.cursor.com/t/extension-marketplace-changes-tra...

Also worth noting that it doesn’t use Open VSX directly but uses a cursor hosted mirror at https://marketplace.cursorapi.com/open-vsx-mirror

comment 3w ago · link · parent

You’re right, I read too quickly.

comment 3w ago · link · parent

There are regularly gaps in the claude code versions, e.g. if you go back a page, there's no 2.1.297, 2.1.298.

Edit: the below was incorrect, left for posterity, the release can be deleted and then the tag as well.

Also, all their tags are immutable, and so can't just be deleted to hide things: https://docs.github.com/en/code-security/concepts/supply-cha...

comment 3w ago · link · parent

Given they mentioned taking down and rebuilding the marketplace registry in that post, it seems equally likely that Cursor’s infrastructure was the source of the intrusion and a folks are jumping the gun on attribution.

Edit: I was correct. https://news.ycombinator.com/item?id=50304129

comment 3w ago · link · parent

It is, thus the links being to individual wallets.

comment 3w ago · link · parent

The primary reserve currency does it all the time. https://ofacblockedfundslawyers.com/us-sanctions-freeze-doll...

comment 4w ago · link · parent

The thing that actually makes it harder in Python is threading, because it breaks all ability to reason locally about what might happen and optimize. In Python you have to assume that another thread may do these things at any point mid-execution.

comment 4w ago · link · parent

There’s an #internals-and-peps channel in the Python discord where some folks hang out.

comment 1mo ago · link · parent

It does not permit taking over pointers and doing a plain old RCE, sure, but it still does permit a variety of optimizations that could break the logic of your program in surprising ways.

Here are two examples of where it's clear that the UB from the underlying C is still present and the optimization passes are still able to do things that wouldn't be possible without UB, like falling through functions and deleting safety checks inserted by the Fil-C runtime:

https://news.ycombinator.com/item?id=49677463 https://news.ycombinator.com/item?id=49681273

I'm not really convinced you can take LLVM and just flip a few poison bits off and remove a couple optimization passes and know that UB isn't going to explode in your face.

comment 1mo ago · link · parent

Fil-C does still have UB. Signed-overflow, for instance, is still UB in Fil-C, and can still lead to things like the optimizer removing checks in the presence of UB.

comment 1mo ago · link · parent

Imperva claims to have demonstrated it, but didn't publish it openly (and their article screams AI slop, so take that for what you will).

https://www.imperva.com/blog/node2shell-from-brotli-data-to-...

There's also a public POC here, though with the caveat that they demonstrated it only on builds with weaker configurations. https://github.com/dimasma0305/CVE-2026-111497-POC

All that said, we haven't heard the major cloud providers or security labs saying they've seen exploitation in the wild yet.

comment 1mo ago · link · parent

I feel as though this should be googlebrotli2shell, not http2shell. Google deserves to take a bit of a reputational hit for this. This is a basic memory safety violation, from the same organization that does wuffs, that promotes Rust for memory safety, that has Carbon. zstd has high quality rust implementations and is from roughly the same time.

On top of that, the brotli library saw no releases for almost a full year, with the fix for this vulnerability being committed back in February. Google builds from main for all their projects, so were unaffected, but open source releases are a complete afterthought. Over 100 commits with miscellaneous fixes left languishing until a security incident forces a release.

comment 1mo ago · link · parent

It's bulletproof, in the same way that my open window is bulletproof because a bullet will fly right through it and not damage the glass.

Additionally, the author isn't engaging on this site in good faith. See this thread https://news.ycombinator.com/item?id=50181138 from yesterday, where egregious vulnerabilities in this project were pointed out, at which point the author force pushed to hide the history, failed to fix the vulnerabilities pointed out (e.g. https://github.com/Qbix/proxy/blob/5a9f8a96f4bdaaaa5444b6986... still doesn't match the PHP multipart parser, so the whole defense can be mooted by switching to a space as the delimiter). This is an exemplar of slop.

comment 1mo ago · link · parent

Epic Games and Fortnite comes to mind as a counter example. From 2020 up to a few months ago, it was unavailable on the Play Store.

comment 1mo ago · link · parent

> 3. Chainguard sees dancing anime video, doesn't recognize Calif, and thinks the exploit is in the wild

I'm not sure about this part. I saw https://jackalsyn.com/posts/php-up-2026.html going around a bit over 12 hours ago, before the chainguard images went out, and plenty of other chatter of exploitation happening in the wild.

comment 1mo ago · link · parent

I'm going to engage only because I do not wish others to come across this project and think it's serious. I did open the project and read the code, and I did throw it into an LLM as I previously said for some very basic security posture checks, and found a number problems immediately, but I don't trust them (and neither should you, which is part of the problem here), so I went digging a bit deeper. I don't have the time to go through all of them, so here's a big one of my own finding: There's a parser differential in how multipart boundaries are handled, your proxy only deals with ;, the PHP interpreter accepts , as well, and the proxy will pass it through unchanged to the upstream. That's a full bypass of what the proxy is trying to do.

https://github.com/Qbix/proxy/blob/main/src/sanitize.c#L41 https://github.com/php/php-src/blob/master/main/SAPI.c#L162

The article linked from your own README (https://sansec.io/research/php2shell) has a better partial mitigation in existing, battle-tested reverse proxies. Even still, as that article says, everything here is a partial mitigation. The description of the issues in your project's README is an inaccurate understatement of the severity of the issues. "CVE-2026-109618 — heap use-after-free in the session.upload_progress handler" is an incomplete understatement of the issue, the session.upload_progress handler is only one of a number of potential exploitation paths. https://github.com/php/php-src/security/advisories/GHSA-w8hw... has some hints at other paths, of which there are many.

From an LLM, and quickly validated by me, a heap overflow, likely an RCE.

> src/http.c:101-116 and src/util.c:9

Attacker supplied value in strtoul, the size-limit checks are unsigned addition that can wrap, and you can follow the chain from there.

> or better yet submit a request.

This project is not deserving of fixing, it should just be deleted and direct people to more serious documentation of fixes and mitigations. This code is clearly AI-generated slop, it is not my responsibility to fix your project.

> I could understand if you actually at least clicked and looked at the repository, and read what it’s about. But you chose to simply write generic text without looking at anything. You want to discourage people from protecting their servers, in order to feel good about yourself. What amount of effort have you put into understanding what you’re even talking about?

Every accusation is an admission.

comment 1mo ago · link · parent

> It was the best I could do.

Honestly, and not to be harsh, but doing absolutely nothing is better than what you've done here.

Not only is this proxy unlikely to actually protect against the issues, but this code almost certainly has its own, equally bad security vulnerabilities. A 30 second check with Opus 5.5 found at least one heap overflow, multiple memory leaks, and a number of bugs that shows that it doesn't even succeed at doing what it claims. I appreciate that you're trying to help, but there are better tools for the approach that you're going for here, and injecting noise with AI slop that isn't even reviewed at a basic level is causing noise, confusion, and potential harm in an already urgent, tense situation.

12345
20