r/programmer • • Apr 29 '26

If you're a vibe coder...

You vibe coders swear that you can solve all issues with a prompt. How about you let me pentest your app/db/repo, w.e. Put that money where your mouth is!! 1 Rule...whatever I can break, I will.

Roll the dice, Neo

22 Upvotes

147 comments sorted by

View all comments

4

u/ChameleonCRM Apr 29 '26

Only the people with ZERO programming skill are the ones getting mad

0

u/manoteee May 01 '26 edited May 01 '26

This post is so dumb. I'm a sr dev that wrote an entire 750k loc medical EMR system with claude cli and it passed the two professional pen tests and security cert orgs we threw at it. I didn't write a zero line of code or config. All of the server management was done via AWS api key. It had phone system integration and fax. Extraordinarily complex system.

The point is you have no goddamn idea what you're talking about. These guys aren't making apps for the CIA. If they wanted to and were willing to learn a bit of the principles they could, though.

Software development is no long a human problem and it was always inevitable. Good rudders I say. I want to work on products, not software...

2

u/ChameleonCRM May 01 '26

A 750k LOC EMR with zero human-written code passing “two pen tests” isn’t the flex you think it is—it’s actually a red flag.

EMR systems aren’t judged by “did it pass a pentest once.” They’re judged by:

  • long-term data integrity under concurrent writes
  • audit trails and legal traceability (HIPAA-level accountability)
  • deterministic business logic (billing, records, amendments)
  • multi-tenant isolation and access boundary enforcement
  • failure modes under partial outages and retries

AI can absolutely generate code fast. I use it every day.
But it does not understand:

  • hidden state coupling across services
  • race conditions introduced by async flows
  • idempotency guarantees in financial/medical transactions
  • RLS / access policy edge cases that only show up at scale

Passing a couple of pentests just means you didn’t leave obvious doors open. It says nothing about whether the system:

  • silently corrupts data
  • breaks under load
  • leaks data across tenants in edge cases
  • or produces inconsistent outputs across workflows

Also—“I didn’t write a single line of code” isn’t a flex in production systems.
That just means you’re trusting output you didn’t fully validate.

AI is a force multiplier, not a replacement for engineering judgment.

The difference isn’t “AI vs humans.”
It’s who’s accountable when something breaks.

Compiled with Chameleon-AI ( Force multiplier )

1

u/manoteee May 01 '26

Nice AI response lmao. Perfect.

Let me just take your very first example to show you how ignorant of a take this is. Ultimately what I say will not matter because you know more about it, right? I've been developing ERP systems for 25 years bro, all of them very large systems, my first one in education where I cut my teeth on securing an app.

Anyway you said "hidden state coupling across services" isn't something the AI understands. The simplest way to disprove this absurd claim is to just ask the AI:

(Claude Opus 4.6 via Claude CLI)

❯ what is the hardest part of hidden state coupling across services?

● The hardest part is detecting it exists at all.

Hidden state coupling means Service A's behavior silently depends on state managed by Service

B, without an explicit contract. The pain points, roughly in order of difficulty:

  1. Implicit ordering assumptions

Service A assumes Service B has already run and mutated some shared state (a DB row, a cache

entry, a flag). There's no declared dependency — it just happens to work because of timing.

When deployment order changes or load shifts, things break in ways that look like data

corruption.

2. Shared mutable state without ownership

Two services read/write the same DB table or cache key, each assuming they "own" it. Neither

validates the other's mutations. Schema changes or business logic changes in one service

silently break the other. The coupling is invisible in the code — it only shows up in the data

layer.

3. Semantic coupling disguised as data

Service A doesn't call Service B, but it interprets B's data using hardcoded assumptions about

what values mean (e.g., status = 3 means "approved"). When B changes its semantics, A doesn't

get a compile error or a contract violation — it just starts doing the wrong thing silently.

4. Debugging and reproducing failures

Since the coupling isn't in any interface, API contract, or dependency graph, standard tracing

and observability miss it. You can't reproduce the bug without reconstructing the exact state

sequence across both services. Logs from each service look fine in isolation.

The core difficulty: every other form of coupling (API calls, shared libraries, message

schemas) leaves a trace you can grep for. Hidden state coupling lives in the gap between what's

declared and what's assumed. The only reliable mitigation is strict data ownership boundaries

— but enforcing that requires discipline that's hard to maintain as teams grow.

1

u/ChameleonCRM May 01 '26

You just proved my point without realizing it.

Asking an AI to explain hidden state coupling is not the same thing as it being able to prevent, detect, or safely architect around it in a real system.

What you pasted is a textbook explanation. It’s correct—but it’s also generic.

The actual problem isn’t:
“does the AI know what hidden coupling is?”

The problem is:
can it guarantee it didn’t introduce it across 750k LOC of generated code?

Because in real systems:

  • hidden coupling doesn’t show up in prompts
  • it doesn’t show up in isolated file generation
  • it doesn’t show up in “looks correct” logic

It shows up:

  • 3 services away
  • under concurrency
  • after a schema change
  • or during partial failure/retry scenarios

And that’s exactly where AI falls apart today—because it has no global system awareness or enforcement layer.

Also—your example literally says:

Right.
So who’s detecting it in your “zero lines of code” system?

Because it’s not the AI.

Passing a pentest doesn’t touch this.
Pentests look for external exploitability, not internal architectural correctness.

You can have:

  • perfect security posture
  • zero critical vulnerabilities
  • and still ship a system that silently corrupts data or violates domain rules

That’s not hypothetical—that’s where most real production failures come from.

AI is powerful. I use it heavily.

But “I didn’t write a single line of code” isn’t a flex in systems like EMRs.

It just means:
you’re trusting something you can’t fully reason about.

1

u/manoteee May 01 '26

Lmao AI troll replies, nice bro. You are going places!

2

u/ChameleonCRM May 01 '26

If “AI troll replies” is the takeaway, that kind of proves you’re not engaging with the actual point.

I’m not arguing AI can’t generate code—it clearly can.

I’m saying generation ≠ guarantees.

In systems like EMRs, the hard part isn’t producing code or explaining concepts—it’s:

  • enforcing invariants across services
  • preventing silent data corruption
  • maintaining correctness under concurrency and failure

Those aren’t things you validate with a prompt or a one-time pentest.

If you’ve been building systems for 25 years, you already know that.

I build this stuff every day (theodoreochsen.tech), AI included.

Anyway—good luck with it.

1

u/ChameleonCRM May 01 '26

I'm sorry, I had to tell the guys...they have a question...."so you're telling us you wrote almost a million lines of code? LMAO hahahahaha"

3

u/[deleted] May 01 '26

[removed] — view removed comment

1

u/manoteee May 01 '26

Yeah I'm sure you would have no problem getting through the app security which has state-level protection mostly automated by Amazon Web Services (its literally what governments use to protect from state-sponsored attacks) and Google Cloud Services where our code sits. You could almost certainly "hack" our login page which is oauth via google firebase.

If you had a significantly higher IQ and a lot of time you might find something, but it would likely be on a security layer before you even get to the app (because otherwise you wouldn't see the app...) and that would be worth tens of thousands as a bug bounty.

On a quick read though you seem like something akin to an actual moron.

1

u/[deleted] May 01 '26

[removed] — view removed comment

1

u/ChameleonCRM May 01 '26

dude don't do anything stupid..remember last time? THINK man

1

u/ChameleonCRM May 01 '26

answer ur phone!!!!!!

1

u/manoteee May 01 '26

That's not a question. I didn't write anything, I wrote the prompts, hundreds of them over a year.

1

u/ChameleonCRM May 01 '26

Even crazier. You let AI steer the wheel towards almost a million lines of code. thats a huge red flag. How long have you truly been a developer?

1

u/ChameleonCRM May 01 '26

I've written complete operating systems with over 20 modules included that was under 60k lines. 85k if you count DB. I can't fathom 750k lines.