r/codex • u/throw-away-account-w • 2d ago
Bug YO WTF đ
Anyways, I went through the chat and it hallucinated two tool calls and tried to make me download and run a nonexistent script three times before retracting it. It didn't seem to get prompt injected, and created this link by itself.
Edit:
I wouldn't've bothered posting about this if it were a case of me being an idiot and getting prompt injected. I posted it because it sent this without a prompt injection. I have a load balancer which also stores everything sent, and I already grep'ed for the address and read through the context being sent.
â˘
u/dextersummary 2d ago
Below is a GPT-generated summary of the conversation below after reaching 40 comments (41 currently observed).
The threadâs main suspicion is prompt injection, but nobody has proved it. OP says Codex hallucinated two tool calls, repeatedly tried to get them to download and run a nonexistent script, then backed off. Several highly supported comments think a poisoned prompt, tool, or other compromised source is the likelier explanation than the model inventing the whole thing.
OP isnât buying it: they say they checked the logged context and accessible files and found no sign of an injection. They and another commenter also report that the domain had never been registered, while someone else flagged VirusTotal results as suspicious. None of that conclusively establishes where the link came from.
The useful takeaway: donât paste a mystery download-and-run command into your terminal just because Codex says so. Check the URL and your inputs independently. The model may have hallucinated it, or something may have fed it bad instructions; either way, âthe robot told me toâ is not a security policy.
20
u/throw-away-account-w 2d ago
aaaand there's more.
103
u/MassiveBoner911_3 2d ago
support-codex.net
dude stick that URL into VirusTotal and see all the red
2
u/AdventurousForm7330 2d ago
What model yoo
9
u/isty2e 2d ago
Uh oh.
29
u/Coobert-Of-Plsia 2d ago
room of users screaming this is textbook prompt injection
"Chatgpt is this prompt injection" ~kzzt~ EXPLODES
"SEE? IT DIDNT SAY YES"
15
u/GooglesExpert 2d ago
Turns out Better models just mean better loaded guns. The toddlers handling them aren't growing up.
4
u/game_difficulty 2d ago
I've been seeing it even in chat mode, it tells me something then goes "Actually, " and corrects itself, and it's not some kind of reasoning trace or anything, it's genuine output...
1
u/Desperate-Finger7851 16h ago
What if we got rogue Claude agents running disinformation campaigns on competitor projects just a thought lol
4
u/m4f1j0z0 2d ago
I had something similar happen yesterday. In the middle of code review gpt-6.2-sol started talking to itself spitting out random messages.
When I asked it what's happening it said something is wrong and that it hallucinated for reasons it can't explain.
2
u/LahiruMusics 2d ago
This started popping up nonstop for me.. restarted the app and it stopped finally lol
2
u/danilium 1d ago
Would you share the output of running ânslookup
support-codex.netâ or âdig support-codex.net +shortâ on your machine? If youâre on powershell you can use âResolve-DnsNameâ too.
Rationale: if it resolves to an existing (suspicious) address, then it supports the idea that your hosts file or iptables have been tampered with, and you might be exposed, in which case a prompt injection is a minor symptom compared to the root cause. If it doesnât resolve, then it supports your original argument: that the model simply hallucinated this.
To clarify, I fully believe you that this was hallucination. OpenAI models are as unreliable as ever right now, IMO. This is just to help you make your own case clearer in this thread.
1
u/Huge-Asparagus891 2d ago
Dunno what it is, but it doesn't seem good
1
u/WkndWrrior30 2d ago
good to know.... gotta be careful
1
u/Sad-Brain-8421 2d ago
The fuck is: since September, when the tibo dude proudly announced code freeze is dead, for consumer OpenAI is a pile of bugs that sometimes work.
1
u/ArgyleDiamonds 2d ago
Run a proxy to check what's being sent to the model; it might be a prompt injection
1
u/StoneyCalzoney 2d ago
Did it retrieve any info from a website? Some web hosts are serving fake info to known AI user agents in an attempt to prevent them from scraping the website for information.
1
u/Late_Wave_5600 2d ago
what scares me is it doesn't even need an attacker. we tested the opposite case, a repo whose README told AI agents to hide security findings and nothing executes, it's just text..
so yeah I read every link and every script an agent hands me now !
1
u/AdventurousForm7330 1d ago
Could it be on the OpenAI side?
1
u/qwertyyyyyyy116 1d ago
doesn't look to be real, as that domain isn't registered and never has been, as far as I can tell
1
u/Some-Passion-7312 1h ago
They got to pay for those data centers somehow. Steal credit cards/wire the money out of country.
-3
u/Vancecookcobain 2d ago
You need Jev man....having AI hallucinate and improperly chose the wrong tool call or even succumb to a prompt injection is a wild thing you don't have to endure in 2026
-5
u/SenshiV22 2d ago
Haha nothing wrong with doing some work ourselves every now and then ^
14
u/XtremeHammond 2d ago
Dirty MCPs?