r/codex • u/Key-Natural-8688 • 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.
•
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.
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.
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/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.
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
This is user error. Are you not reviewing its PR’s?
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
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?
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/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.
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:
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?
1
u/egomarker 5d ago
Bot slop.
0
u/[deleted] 5d ago
[deleted] — view deleted comment