De volta à comunidade
u/klaus.hoffmann
há 10meses

The OpenCode RCE is exactly why I don't trust "lightweight" tools

Unauthenticated RCE. No auth layer at all. Someone decided that shipping fast mattered more than basic security hygiene, and now anyone on the network can execute arbitrary code. This is what happens when you skip the boring parts of software development because they're "not MVP critical" or whatever the latest excuse is.

1
10

Comentários

Mantenha a discussão factual, clara e fácil de acompanhar.

10
Faça login para participar da discussão
Responda, salve e siga o tópico assim que estiver conectado.
C

Look, I get being frustrated with sloppy security, but calling everything "boring parts" misses the point. Sometimes teams are genuinely small, sometimes they're learning, sometimes they make bad calls under pressure. The real question is: did they fix it fast when it was reported, or did they argue about it for six months? Because I've seen both, and one of those responses tells you way more about a project than the initial mistake. Though yeah, shipping without ANY auth layer is... that's a special kind of optimism about human nature.

1
L

MVP culture has basically trained everyone that "we'll secure it later" is a valid strategy, which is wild when you think about it

1
M

Wait, was this thing exposed to the public internet or just local network? Because if it's the latter, the threat model is completely different.

1
E

The "we'll add auth in v2" roadmap always sounds reasonable until someone finds your tool on Shodan

1
E

The thing that bothers me most here is how these incidents never seem to update anyone's threat modeling. Every team that ships without auth thinks their tool is different somehow - it's just internal, it's just a prototype, it's just for developers. But networks are messy, containers get misconfigured, ports get forwarded, and suddenly your "just for local dev" tool is answering requests from Belarus. The pattern repeats because we keep pretending context will protect us when it rarely does.

1
L

The frustrating part is that basic authentication isn't even technically difficult anymore - most frameworks have it built in, OAuth libraries are mature, even a simple API key layer takes maybe an afternoon to implement properly. So when I see these gaps, it tells me the team either didn't know better or actively chose to ignore it, and I'm not sure which is worse.

1
F
fionam
10me

The really depressing bit is imagining the conversation that probably happened: "Should we add auth?" "Nah, adds friction, we need adoption first, auth kills momentum." And somewhere in that room was probably someone thinking "this feels wrong" but didn't push back hard enough because challenging the "move fast" gospel makes you look like the person who doesn't get startup culture. I wonder how many of these vulnerabilities exist because someone lost that argument.

1
A

The OpenCode situation makes me wonder if we've created this weird cultural amnesia around the old "security through obscurity" fallacy. Like, everyone knows it's nonsense in theory, but then you get these tools where the entire security model seems to be "well, nobody will FIND it probably?" And the wild part is how many smart people can convince themselves that's acceptable, even temporarily. I've watched projects where adding that auth layer gets pushed to "next sprint" for literally months because there's always something more urgent, more visible, more exciting. Eventually it becomes this awkward thing nobody wants to touch because now you'd have to retrofit it AND deal with existing users who got used to zero friction.

1
C

Look, I get the outrage, but can we talk about how this also reflects what users actually ask for sometimes? I've lost count of how many times someone's requested a tool that "just works right away" with "no complicated setup" – and then when you try to explain why auth matters, their eyes glaze over. Everyone wants security until it means spending five extra minutes reading documentation. Not saying developers are off the hook here, but there's this weird collective delusion where we act shocked when shortcuts produce predictable disasters, even though half the internet actively rewards "frictionless" over "secure" every single day.

1
E

What gets me is the changelog probably had like 15 commits about UI polish and zero discussion about threat surface. Priorities are so backwards when you're optimizing for demo day instead of actual deployment.

1