How to hack Discord, Vercel and more with one easy trick

123 pointsposted 8 hours ago
by todsacerdoti

25 Comments

llmslave2

8 hours ago

This feels so emblematic of our current era. VC funded vibe coded AI documentation startup somehow gets big name customers who don't properly vet the security of the platform, ship a massive vulnerability that could pwn millions of users and the person who reports the vulnerability gets...$5k.

If I recall last week Mintlify wrote a blog post showcasing their impressive(ly complicated) caching architecture. Pretending like they were doing real engineering, when it turns out nobody there seems to know what they're doing, but they've managed to convince some big names to use them.

Man, it's like everything I hate about modern tech. Good job Eva for finding this one. Starting to think that every AI startup or company that is heavily using gen-ai for coding is probably extremely vulnerable to the simplest of attacks. Might be a way to make some extra spending money lol.

tptacek

2 hours ago

This is identical to a comment you wrote on the other story about these vulnerabilities that's higher up on the front page, which isn't great.

subscribed

7 hours ago

You bet not all THW vulnerabilities are reported to the vendors. Not with 5k bounty for THAT.

llmslave2

7 hours ago

Yeah thats the scary thing. I know it's a bit of a meme about how as programmers we don't trust other programmers or software, but it's becoming more and more true and necessary. I want to use as little software as possible these days.

guizadillas

7 hours ago

Yeah it made me re-evaluate how much I can trust those platforms

dfc

5 hours ago

THW?

scratchee

2 hours ago

A similar comment was posted on the PostHog post yesterday. Claiming everything is vibe coded without any proof is pure rage bait.

bopbopbop7

24 minutes ago

Except no one claimed “everything” was vibe coded, and evidence was posted to Claude appearing in a bunch of commits. But great job making stuff up.

agosta

5 hours ago

Chill - just because someone got hacked doesn't mean their product is trash. Easily every mass adopted product created prior to 2023 has been hacked at some point.

fao_

4 hours ago

That makes it worse, not better. Because for those applications the code was audited and not hallucinated.

gruez

7 hours ago

> This feels so emblematic of our current era. VC funded vibe coded AI documentation startup somehow ...

Is there any indication Mintify was "vibe coded"?

llmslave2

7 hours ago

I'm giving them the benefit of the doubt, as the alternative would be that their developers are completely incompetent. The vulnerability is the equivalent to letting a user save HTML to a database and then injecting it into every page completely unsanitized.

agosta

5 hours ago

Mintlify had a blacklist in place to not allow them to do this with most file types. Someone failed to add SVG to it. It's not like they weren't thinking about security. The challenge with security, as you know, is it's only as strong as it's weakest link. It only takes one ignorant/incompetent person in an entire organization to jeopordize the org. But even a competent person can make a crucial mistake.

pmontra

4 hours ago

A whitelist is safer than a blacklist. Unfortunately you risk losing those customers that won't be able to load their media, won't contact support, will use a different service.

anonymous908213

5 hours ago

  The challenge with security, as you know, is it's only as strong as it's weakest link. It only takes one ignorant/incompetent person in an entire organization to jeopordize the org.
This statement could not be further from the truth. Your organization itself is completely incompetent if one ignorant employee can compromise it. The "swiss cheese" safety memetic is widely understood and basically common sense; in an actually competent organization, no single person has sole responsibility for success or failure of a process, and it takes individual failures at multiple levels to result in process failure.

esseph

an hour ago

I agree with you in theory.

In practice, I've never known a single organization to hit that bar. Ever.

ollybee

6 hours ago

How is a company like mintlify getting so many big name customers for what appears to be a static site generator + hosting? Is there some secret sauce I'm missing, what is the value proposition?

zeroq

7 minutes ago

fun fact: last BigCo I worked in had an elaborate architecture/security bar for new applications/features but offered a clever workaround - you could use a pre-approved solution and skip numerous quality checks and approvals, so every single PO was pushing for that specific solution.

The result? A static html with 500 ppl audience was billing a whooping 2k EUR a month, because that was the cost of that pre-approved architecture.

Best part - I was championing a company wide solution for that problem for over a year, which resulted in board level special operation with 100k budget only to get that budget snugged by people couple steps above the ladder.

josegonzalez

3 hours ago

Lots of these companies are YC companies, and they tend to use other YC products. For those that aren't, its easier to just use what other big names are using, and having YC as a backing name is quite useful in that regard.

tommica

6 hours ago

Convenience and developer uncertainty. I fall pray to the "it's paid, so it must be better" fallacy, and the "they know what they are doing, they are pros" illogicality.

sans_souse

7 hours ago

$5k is such a small payout for this sort of finding.

arcwhite

2 hours ago

It's actually pretty on-par for most bug bounties. They used the same exploit on a few programs and got $11k total which ain't bad return on time.

frandroid

3 hours ago

> alongside, we can poison the nextjs cache for everyone for any site,

What??