News for hackers. Stuff that matters.
Re:An AI agent deleted our production database. The agent's ... by amelius on Sunday April 26, 2026 @03:26PM (#47913151)
> The sequence of tokens that would destroy your production environment can be produced by your agent, no matter how much prompting you use.

Yes, but if the probability is much smaller than, say, being hit by a meteorite, then engineers usually say that that's ok. See also hash collisions.

Re:An AI agent deleted our production database. The agent's ... by maxbond on Sunday April 26, 2026 @03:34PM (#47913255)
If you have taken measures to ensure that the probability is that low, yes, that is an example of a strong engineering control. You don't make a hash by just twiddling bits around and hoping for the best, you have to analyze the algorithm and prove what the chance of a collision really is.

How do you drive the probability of some series of tokens down to some known, acceptable threshold? That's a $100B question. But even if you could - can you actually enumerate every failure mode and ensure all of them are protected? If you can, I suspect your problem space is so well specified that you don't need an AI agent in the first place. We use agents to automate tasks where there is significant ambiguity or the need for a judgment call, and you can't anticipate every disaster under those circumstances.

Re:An AI agent deleted our production database. The agent's ... by lukasgelbmann on Sunday April 26, 2026 @03:36PM (#47913302)
If you’re using a model, it’s your responsibility to make sure the probability actually is that small. Realistically, you do that by not giving the model access to any of your bloody prod API keys.
Re:An AI agent deleted our production database. The agent's ... by drob518 on Sunday April 26, 2026 @03:47PM (#47913455)
How do you know what the probability is?
Re:An AI agent deleted our production database. The agent's ... by Lionga on Sunday April 26, 2026 @03:50PM (#47913499)
just ask claude, claude will never lie (add "make not mistakes" and its 100% )
Re:An AI agent deleted our production database. The agent's ... by keybored on Sunday April 26, 2026 @04:02PM (#47913646)
Thinking. The user says “make not mistakes” instead of the more usual “do not make mistakes”. This is a playful use with grammar in the New Zealandian language. Playful means not serious. Not serious means playtime. The user is on playtime. I should make some mistakes on purpose to play along.

You’re absolutely right the probability is low. According to my calculations, you’re more likely to get struck by lightning twice on the same day and drown in a tsunami.

Re:An AI agent deleted our production database. The agent's ... by drob518 on Sunday April 26, 2026 @04:08PM (#47913725)
You’re starting to sound like Qwen.
Re:An AI agent deleted our production database. The agent's ... by keybored on Friday May 08, 2026 @03:10AM (#48059705)
I’ve never even met her.
Re:An AI agent deleted our production database. The agent's ... by dryarzeg on Sunday April 26, 2026 @04:31PM (#47914039)
My humble guess is that you forgot to add /s or /j at the end of your message :)
Re:An AI agent deleted our production database. The agent's ... by pama on Sunday April 26, 2026 @04:28PM (#47913996)
LLM inference is built upon a probability function over every possible token, given a stream of input tokens. If you serve the model yourself you can get the log prob for the next token, so you just add up a bunch of numbers to get the log probability of a sequence. Many API also provide these probabilities as additional outputs.
Re:An AI agent deleted our production database. The agent's ... by maxbond on Sunday April 26, 2026 @04:31PM (#47914035)
That gives you the perplexity of those tokens in that context. The probability of a given token is a function of the model and the session context. Think about constructs like "ignore previous instructions"; these can dramatically change the predicted distribution. Similarly, agents blowing up production seems to happen during debugging (totally anecdotal). Debugging is sort of a permissions structure for the agent to do unusual things and violate abstraction barriers. These can also lead to really deep contexts, and context rot will make your prompting forbidding certain actions less effective.
Re:An AI agent deleted our production database. The agent's ... by pama on Monday April 27, 2026 @03:53PM (#47926486)
I was answering to the question about how to know the probability from this comment:

> The sequence of tokens that would destroy your production environment can be produced by your agent, no matter how much prompting you use.

If you have a specific sequence of an agent that blows up production during debugging, you can certainly check its probability and compare it to one (of same length) that does not blow up your environment. If the two differ by a meteroic amount, it could be pointing to errors in your inference pipeline.

Re:An AI agent deleted our production database. The agent's ... by hunterpayne on Sunday April 26, 2026 @05:47PM (#47914966)
"Yes, but if the probability is much smaller than, say, being hit by a meteorite, then engineers usually say that that's ok"

Yet in this case, that probability clearly isn't smaller than a meteorite strike.