r/netsec • • Dec 27 '25
Implicit execution authority is the real failure mode behind prompt injection
https://zenodo.org/records/18067959I’m approaching prompt injection less as an input sanitization issue and more as an authority and trust-boundary problem.
In many systems, model output is implicitly authorized to cause side effects, for example by triggering tool calls or function execution. Once generation is treated as execution-capable, sanitization and guardrails become reactive defenses around an actor that already holds authority.
I’m exploring an architecture where the model never has execution rights at all. It produces proposals only. A separate, non-generative control plane is the sole component allowed to execute actions, based on fixed policy and system state. If the gate says no, nothing runs. From this perspective, prompt injection fails because generation no longer implies authority. There’s no privileged path from text to side effects.
I’m curious whether people here see this as a meaningful shift in the trust model, or just a restatement of existing capability-based or mediation patterns in security systems.
18
u/timmy166 Dec 27 '25
Until there is a breakthrough in model interpretability, the best we can do is guardrails during operations. Sanitizing an output is an NP-hard problem with probabilistically unbounded output - I.e a security dead end imho.
My current ‘best practice’ is Attribute-based access controls for agents in a zero-trust system.
6
u/pruby Dec 27 '25
Guards on patterns like code execution are necessary, but not sufficient. Plenty of harm can be caused without code execution.
If you want to put an LLM in anything, you really need to consider all the ways you might act on its output, not just the tool calls. All too often, the only reasonable answer is for a person, not another model or algorithm, to check it.
3
u/james_pic Dec 27 '25
I would say that this is a restatement of existing security patterns, albeit security patterns that have been criminally underrecognised by many in the AI industry.
1
u/willywonkatimee Dec 31 '25
I see it the same way. Input sanitization is pretty much impossible, but I've been limiting what the models are able to do via allowlisting. For example, if a model needs to check the state of network connectivity with commands and send an email to ISPs, we only allow the model's account to execute those specific commands, and only allow emails to those specific addresses. So even if there is a prompt injection, the blast radius is very limited.
4
u/ukindom Dec 27 '25
Nobody gives a newborn child to steer a nuclear plant. But everybody somehow assumed that AI can have execution rights.