logoalt Hacker News

tempaccount420 • today at 1:12 AM • 1 reply • view on HN

Some websites will return an error if you send a request to them without a User-Agent - for example, crates.io does this. Curl doesn't send a User-Agent by default.

Then, your agent invents a User-Agent and it sometimes invents one with your email in it.

It doesn't even require prompt injection or a failed request, it might be in the agent's pretraining knowledge that a given website requires a user-agent.


Replies

j45 • today at 3:58 AM

I don't care that it sometimes invents one - it should never do something so ridiculous

➕ show 1 reply