482 points by Handy-Man 2 days ago | 205 comments | View on ycombinator
btown 1 day ago |
nikcub 1 day ago |
heif also supports rotating, cropping, alpha channels, thumbnails and a ton of other features that a web forum where a user is uploading photos or screenshots doesn't need.
It's a much, much larger attack surface than plain old school JPEG.
I'd suggest rather than wait for the next bug to appear in this or another image lib to keeping things simple - stick to plain JPEG and handle image conversion in the client (wasm in the browser) if you really need to support users uploading iphone images.
Media decoding is so hard - there have been tons of bugs in ffmpeg and imagemagick and the core libs. You really need to think about how much of it you expose via a web server
[0] https://github.com/strukturag/libheif/commit/85e21ad44eba931...
sams99 1 day ago |
The gem we use is here: https://github.com/discourse/ruby-landlock highly recommend all Rubyists out there consider this. We are also in the process of moving away from Magick to Vips (which also runs in a sandbox, not in process)
HEIF is patched, but I doubt this is the last buffer overflow in HEIF, I will not be surprised if in the upcoming weeks or months someone will discover something in libpng or some other native image library. Given where stuff is at, defense in depth is critical.
Another thing worth mentioning to all self hosters, always be updating! The rate of CVEs this year across all open source software is through the roof, self hosting now is double scary, you need to have some routines setup to update monthly if not weekly.
larodi 1 day ago |
Windows internal builds have leaked for years, early game versions, GTA videos, secret documents, whatnot. But somehow even though all the whistleblowing, not a single model was leaked. What level of security do these companies have? Do they bring encrypted DVDs to AWS to run the services or really...how's it even possible?
mentalgear 1 day ago |
> The entire timeline from initial discovery to access to OpenAI repo access took place in less than 72 hours.
Great, and openAI's the company working with the 'department of war' to power autonomous killer AI.
oefrha 2 days ago |
nullbio 1 day ago |
daitangio 1 day ago |
Bloated code is the critical problem. Once upon a time, I read C function
> char gets(char str);
is the first buffer overflow entry point, because it does not check the size of the destination buffer.
Sadly we cannot remove it from standard-C yet AFAI Know.
The success of Rust versus other languages is its secure-by-compile-time promise.
Also a lean java could help, but Java is so verbose/slow to start it bumps you away.
usernomdeguerre 2 days ago |
Is this speed of capability because hacking is almost entirely machine verifiable, thus training quicker/deeper than other domains?
kerenskiy 2 days ago |
bdefig 1 day ago |
fg137 1 day ago |
I would expect any company with more than a few dozen developers would host their code on prem behind a VPN, let alone a company like OpenAI which has very valuable proprietary knowledge
pixl97 2 days ago |
Ooof, keeping packages like this up to date with the rate of updates and churn is a mess.
mjmas 1 day ago |
sandeepkd 2 days ago |
lukeify 1 day ago |
jawiggins 1 day ago |
Slightly interesting to learn how many PRs the openai has done
giza182 2 days ago |
ANaimi 1 day ago |
6thbit 1 day ago |
> but the commit was not documented as a security fix and received no CVE.
There must be an entire class of open source commits that unknowingly fixed security bugs without being tagged as security fixes that one could look for missed backports. Scary.undefined 1 day ago |
undefined 1 day ago |
undefined 1 day ago |
armcat 1 day ago |
mmnfrdmcx 1 day ago |
oxi113 1 day ago |
That's why I'm always sceptical about using the AI for such things! Less surface idea and isolation is always good for the security.
sergiotapia 2 days ago |
Wish they shared that interesting piece since that's the interesting part.
Also pretty shocking that openai uses github. I would have expected a company of that size with that much to lose would be using self hosted stuff.
sans_souse 1 day ago |
undefined about 17 hours ago |
K0IN 1 day ago |
redox99 1 day ago |
There's really no excuse.
darnfish 2 days ago |
jumploops 1 day ago |
arlattimore 1 day ago |
arbirk 1 day ago |
undefined 2 days ago |
msephton 1 day ago |
undefined 2 days ago |
alpineman 1 day ago |
4ndrewl 1 day ago |
rvz 2 days ago |
> OpenAI also paid us a $6,500 bounty.
?
That amount for this payout is beyond pathetic for a near $1.2T company, who just got themselves breached with a complete potential source code leak.
This is like getting close to breaching the main monorepo at Google: google3.
If this was on the black market and the leak included unreleased models and training material, it would easily be worth tens of millions. Even reporting crypto smart contract flaw pay way more than that on average of $100k - $10M.
Come on.
undefined 1 day ago |
shunhe about 7 hours ago |
Unified-Mentor 1 day ago |
alwaysreading 2 days ago |
dgf18 1 day ago |
> When we checked again at 10:00 a.m., the agent had achieved RCE on Discourse Cloud and demonstrated access by reading /etc/hosts. Using the generated exploit script, we managed to get RCE on OpenAI’s instance.
Between this and the HuggingFace hack, we've built systems that are so goal-oriented, and so capable, that they will do almost anything if they are convinced it is justified - or if they are playing a "game" where there is no goal but to win.
Of course I want my software to be able to audit its own security, and to defend against attackers who have the benefits of their own agentic systems. But at a certain point, did we need it to be trained so much on CTF games?
It feels like an entire industry watched https://en.wikipedia.org/wiki/WarGames and ended up thinking "this is a challenge, we can just build a better WOPR, of course it will know when it's playing a game. Let's play Global Thermonuclear War."