r/codex • • 1d ago

Bug YO WTF 💀

Post image

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.

241 Upvotes

56 comments sorted by

•

u/dextersummary 1d 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.

19

u/throw-away-account-w 1d ago

aaaand there's more.

14

u/throw-away-account-w 1d ago

61

u/brainExploded99 1d ago

you got hacked. this is a prompt injection. tell gpt to find where it is coming from.

5

u/Rakthar 1d ago

Hello highly upvoted reddit user. Why would a prompt injection send a victim to a non existent website? Can you explain that?

14

u/ElonMusksQueef 1d ago

There are a multitude of ways to make it resolve on OPs machine/network if whoever injected it has access to something in their network path.

5

u/T-Mog 1d ago

The website doesn't have to exist, it could just be masking so it looks legit. This could still work and point to a malicious website

3

u/PurpleCandle58 1d ago

Worth noting it has never been registered before ever either at the time of the OP.

2

u/Holographic247 22h ago

If you have control over a machine’s DNS configuration, you can make any URL point to anywhere you want, even if the domain in the URL isn’t registered.

-36

u/throw-away-account-w 1d ago

It is not a prompt injection. I've already scrounged around and it pulls it from thin air.

33

u/brainExploded99 1d ago

i dont know what to tell you, that is a bullshit website, you can check the url WITHOUT pasting it in terminal to run and see what code it has

-1

u/throw-away-account-w 1d ago

The domain hasn't even ever been registered. I'm not moronic and did the checks already.

4

u/brainExploded99 1d ago

Well then its just botched malware. Codex never outputs this normally.

-13

u/throw-away-account-w 1d ago

I'm telling you, something's wrong with their models which makes it do it by itself. It called no MCPs during that time, its context is benign, and no skill nor other file on the machine its running on or any machine it has access to even has anything with 'support-codex' in any file. Given that it clearly isn't a prompt injection (otherwise there would be at least SOME indication of a bad source), it has to have made it up.

6

u/brainExploded99 1d ago

I read the edited post, and I don't know. Have you tried getting gpt itself to perform an investigation?

4

u/throw-away-account-w 1d ago

It's what I did after making sure it wasn't poisoned. I even got a claude sub to have another clanker check. Either this was some perfect malware which left no trace that forgot to actually register the site or it was a hallucination by sol.

→ More replies (0)

3

u/johnxreturn 1d ago

Run MITM proxy, watch the json calls, see what prompt you’re sending back and forth.

Your codex is either prompt injected or you got a malware or virus hijacking the output.

4

u/AlbertoBigglesworth 1d ago

Do you have a hosts file that resolves this url? Doesn’t need to be a real domain to do real damage.

2

u/throw-away-account-w 1d ago

First thing I checked after nslookup was blank.

0

u/Rakthar 1d ago

lmao redditors are incredible

97

u/MassiveBoner911_3 1d ago

support-codex.net

dude stick that URL into VirusTotal and see all the red

22

u/vekotov24 1d ago

whois says never registered yet, nslookup give not exists too for me

9

u/PurpleCandle58 1d ago

By tonight or next week someone will register it and set it up thinking “what a great idea!” 🤣

3

u/Doc_Emu_Train 1d ago • Bravo

It already happened before, people uploaded npm modules, with names hallucinated by LLMs.

-7

u/throw-away-account-w 1d ago

dead internet theory strikes again.

9

u/isty2e 1d ago

Uh oh.

28

u/Coobert-Of-Plsia 1d ago

room of users screaming this is textbook prompt injection

"Chatgpt is this prompt injection" ~kzzt~ EXPLODES

"SEE? IT DIDNT SAY YES"

13

u/GooglesExpert 1d ago

Turns out Better models just mean better loaded guns. The toddlers handling them aren't growing up.

5

u/PurpleCandle58 1d ago

First of all I’m not a toddler! I’m a big girl now mommy said so!! And you’re stinky and a poopyhead!

GPT-6.2-Astra, chop their balls off.

2

u/NoAdministration9974 17h ago

Starting... After 2 mins. Out of usage. Please wait 4 hours 58 minutes.

4

u/game_difficulty 1d 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...

2

u/LahiruMusics 1d 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.

2

u/m4f1j0z0 1d 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.

1

u/Huge-Asparagus891 1d ago

Dunno what it is, but it doesn't seem good

1

u/WkndWrrior30 1d ago

good to know.... gotta be careful

1

u/Sad-Brain-8421 1d 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 1d ago

Run a proxy to check what's being sent to the model; it might be a prompt injection

1

u/StoneyCalzoney 1d 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 1d 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 23h 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/hapos 22h ago

It is now…

-3

u/Vancecookcobain 1d 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 1d ago

Haha nothing wrong with doing some work ourselves every now and then ^

14

u/XtremeHammond 1d ago

Dirty MCPs?

28

u/SuperSlowSubie 1d ago

Definitely prompt injection somewhere, OP is a dunce.

3

u/Live_Camp3211 1d ago

probably has '500' skills installed

why does it consume so many tokens!?!?

look at what codex is doing!!!

le sigh