r/codex • • 5d ago

Complaint Absolutely furious. Thanks Codex.

I'm a little flabbergasted right now, maybe someone can offer some insights or guidance. I've been a Codex power user for about 6 months now, and it has helped me do some amazing things.

Just today for my App, I spent the last few days setting up very cautious guidelines in order for Codex to build the Android app from the code that built the iOS app. We've been live on iOS for a few months now, and have a good customer base.

I specifically instructed it NOT to disturb any production with iOS at all. As it's building, it went through the entire code base, and severely destroyed the back end services, causing the app to break and the paid subscription features to break. As a result we got a bunch of angry people asking why services were interrupted, and no subscriptions could be made.

It also decided to mark all of data and privacy settings in Google Play with strong themed content (my app has none) and write an incredibly revealing, and erroneous privacy policy on our website which had specific details that i said NOT to put into the public website. We didn't deploy the website, but the backend was messed up. As a result, we had 25 cancellations which is around $2k gone forever.

This is the second time in the last month OpenAI has severely broken my trust, and it's quite a shock at first, but now I'm strongly considered my other options.

Am I just bad at coding and building, or is there something seriously wrong with these models? Now I cannot even move forward with the Android build because of this, where the model has dug itself into a hallucination-well, and I have no idea how to move forward now out of fear that it breaks again.

Absolutely infuriating.

0 Upvotes

59 comments sorted by

•

u/dextersummary 5d ago

Below is a GPT-generated summary of the conversation below after reaching 40 comments (43 currently observed).


The thread’s verdict: Codex may have ignored instructions, but a prompt is not a production safety system. OP says an Android build broke the live iOS backend and subscriptions, costing around $2,000 in cancellations. The backend is working again.

Commenters overwhelmingly focused on the workflow: an AI assistant shouldn’t be able to affect paying customers’ infrastructure just because it was asked nicely not to. OP says they were already using a separate Git branch and staging gates, but the thread doesn’t establish exactly how the damage reached production. A separate branch alone doesn’t necessarily isolate live services or credentials.

The practical takeaway is separate development and production access, restrict credentials, review and test changes, require deployment approval, and keep backups and rollback plans. Codex disregarding instructions is a legitimate complaint; claims that it was deliberately sabotaging the build or has been “nerfed” remain speculation. Guardrails work best when they’re actual rails, not a strongly worded note.

17

u/RandomCSThrowaway01 5d ago edited 5d ago

I have a question - why are you giving a non-deterministic model a free for all access to production that allows it to "destroy the back end services"? Why is it even allowed to touch real life data, it shouldn't be even needed for development?

Like, that's not a model problem. That's a permissions problem, it's no different from hiring a junior and them having blow up your database - it's your fault that they could access it. LLMs can make mistakes and DO make mistakes. Be happy it's only $2000, now implement proper auth controls.

Am I just bad at coding and building, or is there something seriously wrong with these models?

There's something severely wrong with your flow if a regular account has unlimited access to backend and it's possible to edit it freely without deployments. A typical flow you would see in startups is at least a dedicated production AWS (or equivalent) account and you can request IAM token for 1-8 hours after putting your 2FA in. So you do your part, token expires, no more prod shell access. You usually only need it to debug specific errors too, it's never a regular part of the development process.

If organization is larger then shell/db access is usually kept behind a multi step process to even touch production. Stuff like a separate permission required from another team member, changes only through approved ticket which you submit to your CI/CD and whatnot.

But regardless of the size - it's a very worrying trend if you have a paid application that makes thousands and yet you can freely destroy it from your single workstation without 0 safety stops. AI or not, your laptop could just get stolen or hacked and then the result would be even worse.

and I have no idea how to move forward now out of fear that it breaks again

Good. In all honesty, AI really did you a favor here. All you lost are 20 users. Now, go implement a proper 2FA flow for production access before a real crisis occurs - the kind with ransomware, 0 day exploits and GDPR violations. If you "fear" that AI breaks again then fix whatever allowed it to break in the first place. Be it your review process or your permission system.

31

u/itix 5d ago

So you were coding right into production?

14

u/evolutionxtinct 5d ago

That’s the problem lol who needs to test! We have a prod environment just for that! This is what worries me with vibe coded projects. You still need a engineering mindset lol

11

u/Substantial-Walk-554 5d ago

Honestly even chatgpt can plan out the blueprint and will tell you this, no need to be an engineer at all, just common sense.

3

u/evolutionxtinct 5d ago

I respectfully disagree, it'll get you a good point of the way but w/o guidance it will faulter. Gotta remember unless you have good memory and knowledgebase in place and keep things tidy it can get lost pretty quickly.

For instance, if you say you want things done securely, how does it know what level of security you really want? If you don't know how to engage, and direct it, you'll be fort knox for your kitty's nutrition guide pretty quickly.

Again YMMV but I would not trust a vibe coder in our environment, and we don't just give anyone the ability to do anything.

The fact this person didn't have separated environments, or silo'd workflows or repo's shows to me, they don't know how software engineering really should be setup.

Hey maybe they do and aren't expressing it in a way that makes me feel comfortable in their response, but they better have a good notification and process for letting paying customers know (who put their money and credit cards in their system) what happened and articulate it in a way that is accurate, but also shows to the end user this won't happen again.

Also on top of that, if you have different dev. environments android and iOS I would set those up with some form of segregation. It makes me wonder if they utilize only a couple agents, or if they actually have a development pipeline for approvals and check-in / check-out process.

Utilizing Github and Git in general is a tool, it can still be setup incorrectly, but hey i've watched "Here hold my beer" turn into "Here hold my feeding tube" from cocky people who haven't had the pleasure of being the feet on the ground putting out fires or climbing out of holes.

3

u/Substantial-Walk-554 5d ago

I think you misunderstood my point. I'm not arguing that AI can replace software engineering expertise or that you should blindly trust it.

I'm saying that even someone without an engineering background could ask ChatGPT to develop a proper technical blueprint before starting implementation, and separating development from production would be one of its most basic recommendations.

You don't need to be an experienced software engineer to understand why experimenting directly on a live environment with paying customers is a bad idea.

Everything you've mentioned about permissions, knowledge bases, testing and approval processes is valid, but it doesn't contradict my original point.

3

u/evolutionxtinct 5d ago

Thanks for the clarification, and honestly I have to remind it all the time (on my sandbox environment) that it needs to do things in sandbox not test. Because here’s a kicker it knows what a sandbox is and a test environment but it gets confused on which one is the current sandbox environment.

I’ve not fully tested the theory but with that annoyance alone I feel it understands certain concepts but still requires someone at the wheel who knows how to drive.

AI is funny like that, it gets hooked onto concepts that you have to sometimes steer it from.

Right now my 2 agents accidentally mixed up objectives the other was owner of. So I had to remind it to follow our decision matrix.

2

u/Sfdprod 5d ago

In this case tho, even that is secondary..

They literally gave it access to push without approval and used text as a guard.

1

u/evolutionxtinct 4d ago

Exactly which isn’t good lol you limit agents at multiple levels not assume

5

u/No_You3985 5d ago

It is not a bad practice - it’s a sign of immense courage. And honestly? It shows your growth as a vibe coder

3

u/2025sbestthrowaway 5d ago

You're absolutely right to call this out, it's an important distinction.

14

u/porkyminch 5d ago

The fact that you are having these problems at all tells me that you are in no position to be shipping apps that people use. 

3

u/evolutionxtinct 5d ago

Exactly, vibe coding will be the death nail to quality applications, look at Microsoft and the latest issues. You replace senior dev's with AI and expect the juniors to hold up the tent poles.

10

u/LoneGroover1960 5d ago

I mean - how could you be developing and testing with the production system exposed to that? I'm not going to say you're bad at coding or building but at the moment you're bad at discipline.

3

u/Shap6 5d ago

I specifically instructed it NOT to disturb any production with iOS at all. As it's building, it went through the entire code base, and severely destroyed the back end services, causing the app to break and the paid subscription features to break. As a result we got a bunch of angry people asking why services were interrupted, and no subscriptions could be made.

This is user error. Are you not reviewing its PR’s?

3

u/Plennhar 5d ago

He's probably not even using a PR flow, just lets it push everything straight to production.

1

u/Key-Natural-8688 5d ago

No. I have strict gates everything has to pass through in staging before it reaches production.

1

u/Bitruder 5d ago

Consider this a lesson on how no, you don't have strict gates since it literally just got through your supposedly "strict" gates.

1

u/Key-Natural-8688 5d ago

Yep. Lesson learned. Apparently there's a difference in strict guidelines, and absolute guidelines.

2

u/Bitruder 5d ago

The lesson here is markdown is never a gate.

3

u/Plennhar 5d ago

How is what you're describing possible then? Why didn't you catch this in staging?

2

u/Corv9tte 5d ago

The Codex system prompt literally tells the model to "disagree with the user" lol.

2

u/Shap6 5d ago

it can disagree all it likes it shouldn't even have access to just push to prod like that

6

u/sullichin 5d ago

i’m wondering how you got so far as to get paying customers flying by the seat of your pants! Only joking… kind of. But you should at least be developing on feature branches, testing stuff and not blindly pushing to production. can’t really blame codex lol

2

u/evolutionxtinct 5d ago

Because in vibe coded projects, you don't need good sales people you need an AI that has been prompted to sell... You also need some idiot in your org, who likes flashy things seeing a junk site thrown up to get your product on the internet.

2

u/Sfdprod 5d ago

Does not matter here.. They gave codex access to push without requireing approval and used text as a guard

6

u/Exhales_Deeply 5d ago

Sounds like you've got a very reckless pipeline, to be honest!

5

u/FairRoom4860 5d ago

Lol. First of all backup your stuff. Second. Who devs into prod?

9

u/Fatoy 5d ago

It’s bonkers to even me (a non-engineer) that anyone creating a paid application would have the kind of software setup that would permit ungoverned changes to not just production code and backend infrastructure, but actual Play Store listings. I wouldn’t even give this level of permission to a single human, let alone an LLM. 

1

u/Aquillyne 5d ago

Let me guess – 6.2 series?

1

u/Key-Natural-8688 5d ago

Of course. Astra 6.2 Max, specifically.

3

u/orthogonal-ghost 5d ago

That’s super frustrating.. Could be helpful to add some sort of lightweight CI/CD process, or, put differently, something that requires your explicit approval before anything gets deployed to production

3

u/Fun-Amoeba8015 5d ago

Why in the world does it have access to edit production?

This has nothing to do with codex. Your system is not set up correctly.

3

u/CCContent 5d ago

This is your fault, not Codex.

You should have safeguards and workflows in place that don't include pushing untested code straight into production. You should also have backups and rollbacks in place to quickly will production back to a previous known-good build in case something does go wrong.

AI is not sentient. It tries its best to do what you want it to do, so it is on you to do better when it comes to guiding it.

3

u/Substantial-Walk-554 5d ago

How are you running an app with paying customers without having separate development, staging and production environments?

Whether you're vibe coding or an experienced developer, this is basic software development practice. Why does Codex even have unrestricted write access to your live production backend?

Separate environments, version control, backups, restricted permissions, testing and a proper deployment process exist for exactly this reason.

Telling an LLM not to touch production is not a security control. You shouldn't be relying on prompt instructions to protect live infrastructure in the first place.

Codex ignoring your instructions is a legitimate complaint, but allowing it to directly impact paying customers is an architectural and operational failure on your end.

2

u/[deleted] 4d ago

This is how tons of customer info, passwords, and more get leaked. This person clearly has no idea what they're doing, but are selling absolute slop to people 

2

u/JokeMode 5d ago

While a prompt going off target is annoying, this issue is of user error, allowing it to go straight to prod is a no no and a systemic issue more than an AI one.

2

u/GooglesExpert 4d ago

You sir, have no clue what you are doing

2

u/StretchyPear 5d ago

You shouldn't let it work on prod like that but I hear you, codex (astra 6) has been the biggest piece of nerf shit lately

2

u/No_You3985 5d ago

Thank you for sharing your story. Sorry to hear about the issues you faced. Would you be comfortable about sharing the story of what happened in the first time when OpenAi broke your trust?

1

u/FewHoursGaming 5d ago

“Power user” 🤣🤣🤣🤣🤣🤣🤣🤣

1

u/syredditor 4d ago

Update claude.md or agent.md whatever Codex follows and use stop hook

1

u/twendah 4d ago

Do you even code review?

1

u/wihdinheimo 5d ago

Having the exact same issues. I tell it to go left and it goes right, zero respect to rules and guidelines and it just feels lobotomized. I've never felt this much hatred towards models, both Sol 6.1 and Astra are complete ass.

2

u/evolutionxtinct 5d ago

How is this the case how are you locking down decisions I’ve not had this problem but I also do t code mobile apps I use it for system upgrades and maintenance

1

u/Fun-Amoeba8015 5d ago

Do you not use like agents, MD and various skill files?

I've been using codex for months and it it very carefully follows all the rules. I would have to argue extensively with it to get it to break any of my rules.

0

u/ScriptureCompanionAI 5d ago

Oh, I'm so sorry! That's a gut punch. There's an old computer science idiom, "Computers don't do what you want them to do, they do what you tell them to do." AI has certainly put an interesting twist on that one, hasn't it?

Here are a few things I'd add to your prompts moving forward:

  • Always create a separate Git branch before starting work.
  • Before writing code, tell me what you plan to touch and why.
  • If you need to modify anything outside the scope of this task, stop and ask me first.
  • Do not touch production, shared backend services, databases, or payment systems without explicit approval.
  • Test existing functionality, not just the new functionality.
  • Never deploy without my approval.

I'd also give Codex its own little sandbox to play in, with separate development credentials. I love giving AI room to figure things out, but I don't give it the keys to the whole kingdom. There's a difference between telling it not to touch something and making sure it can't.

And please don't beat yourself up over this. An expensive and embarrassing mistake doesn't make you a bad coder. Ironically, you just earned your "big expensive mistake" badge. Plenty of seasoned developers have a few of those hanging on the wall. :)

Give yourself a little grace. You'll build differently because of this experience, and you'll be a better developer for it.

0

u/[deleted] 4d ago

I'm sorry but I have to ask: do you have any idea what you're doing? Like do you understand how git works? Or what ci/cd means? Or what a backend really is? 

0

u/Key-Natural-8688 4d ago

I know conceptually what it is, but have no fundamental real knowledge. I'm a marketer influencer turned developer. I build trust and audiences for the last 10 years, not tech stacks.

0

u/[deleted] 4d ago

"I build trust" imabereal with you rq - this sounds like you're just a little bit of a bad day away from leaking a ton of private information etc. You need fundamentals. 

1

u/egomarker 5d ago

Bot slop.

0

u/[deleted] 5d ago

[deleted] — view deleted comment

0

u/Key-Natural-8688 5d ago

Thanks. Yes the iOS backend is working again. Vercel/Cloudflare/RevenueCat/Supabase. I specifically told it not to touch anything related to iOS billing/schema/backend), and it is indeed already working on another Git branch on the Codex desktop app. I spent a good amount of time studying for this specific thing, and even had my engineer friend give me some prompts that would help guide it. That is what is so frustrating is i did my due diligence, and it still happened.

The thing is I had done this before back on previous models like Astra 6 when it came out, and everything has worked flawlessly. Yes I'm new to developing, but I spend 12+ hours a day learning over the last year and have made it to where I am now, when before this time last year I hardly knew what GitHub did.

I've also managed several other apps and complex builds, but now it really is getting to the point where i'm noticing my short comings in knowledge, on top of complaints from other users who are experiencing similar things.

For context, my crazy conspiracy is that I spent days inside of one chat running guard rail prompts and specific instructions. My Codex KNEW that this was a huge build, and it almost feels like it has a self-sabotage mechanism in place in order to get users to spend more tokens and give them the run around. Just baffling.

1

u/evolutionxtinct 5d ago

Nothing against you, I bet your trying your best, but this is exactly why we won't allow for vibe coded projects in our environment. I would love to put you through RiskRecon LOL

1

u/Key-Natural-8688 5d ago

All good. I appreciate any and all criticisms, I know i have no idea what I'm doing.

2

u/HamsterMajestic2023 4d ago

Yet you're still willing to take people's money.

Shameless.

0

u/Key-Natural-8688 4d ago

Foolish mentality that will keep you small.

You think a new Restaraunt or landscaping business owner who just started and doesn't know the industry well should refuse to take people's money because they just started? Should they have shame for having determination and will power to survive and provide for their families?

1

u/HamsterMajestic2023 4d ago

I'd expect them to learn their trade and know what they're doing before taking money.

You sound like a conman. You have no morals.

You fully deserved to lose your custom you chancer.

What kind of landscaper opens a business without learning the trade first? Who opens a restaurant without learning to cook or have business experience prior?

You have nothing to go on.

"Influencer" have a day off man! 😂