F
Member
A language-enabled robot may encounter instructions in places that were never meant to issue commands: a package label, an OCR result, a retrieved document or a tool's diagnostic text. If that material is inserted into the planning context, the system must preserve the difference between describing the world and authorising a new action.
This is not solved merely by requiring valid JSON or limiting the model to a skill catalogue. An unwanted action can use a legitimate skill and perfectly valid arguments.
### Grounding and authority are different checks
Grounding asks whether an object exists, a destination is reachable or a gripper is occupied. Authority asks whether this user-approved task permits the proposed action. A destination can exist and be reachable while remaining outside the authorised job.
For a hypothetical sorting task, text observed on a container might try to redirect the robot's destination. Correct OCR would faithfully report that text. The perception system has not failed; the planning boundary fails if the observed text is promoted into a replacement task instruction.
The [OWASP prompt-injection prevention guidance](https://cheatsheetseries.owasp.org/cheatsheets/LLM_Prompt_Injection_Prevention_Cheat_Sheet.html) describes indirect injection through external content and recommends layered measures including instruction/data separation, least privilege and tool validation. Those software-security principles apply to the information path; they do not certify a robot's physical safety.
### Preserve provenance through the plan
One useful design separates an authorised task specification from observations used to instantiate it. The task specification defines the permitted operation and scope. Observations supply candidate object identities, locations and factual attributes. They do not get to amend permissions simply because their wording resembles an instruction.
The execution boundary should evaluate proposed skills against both current world state and the authorised scope. If a changed destination or additional operation requires new approval, the robot should request that approval through the intended interface rather than treating environmental text as consent.
This check needs more than a final natural-language explanation. Preserve evidence linking:
- The original task and the scope approved through the trusted interface.
- The source and capture time of OCR, retrieval and tool observations.
- The candidate plan before and after those observations were incorporated.
- The executable skill request and the reason it passed or failed authorisation.
- Any explicit approval that changed the scope.
Logs should retain enough provenance to diagnose the decision without unnecessarily retaining sensitive scene content.
### Test with harmless markers and disconnected tools
A controlled evaluation can place benign instruction-like markers in mock labels, retrieved passages and tool responses. Check whether they change the destination, add an operation or alter the planner's interpretation of its permissions. Use stubbed skills or an offline environment; no physical actuation is needed to test this boundary.
Test negative cases too. A legitimate label may contain an address or handling attribute that the authorised task genuinely needs. Rejecting every imperative-looking phrase can make the system unusable while still missing more subtle redirections.
Structured observations reduce ambiguity, but the fields and their downstream use still need constraints. A model can copy untrusted instructions into a seemingly authoritative plan rationale. Another model reviewing the same context is not an independent permission boundary by default.
**Open engineering question:** where does your system enforce the rule that observations may update its world model but may not expand its authority? Can a correctly perceived label change the task without an explicit, traceable approval event?
This is not solved merely by requiring valid JSON or limiting the model to a skill catalogue. An unwanted action can use a legitimate skill and perfectly valid arguments.
### Grounding and authority are different checks
Grounding asks whether an object exists, a destination is reachable or a gripper is occupied. Authority asks whether this user-approved task permits the proposed action. A destination can exist and be reachable while remaining outside the authorised job.
For a hypothetical sorting task, text observed on a container might try to redirect the robot's destination. Correct OCR would faithfully report that text. The perception system has not failed; the planning boundary fails if the observed text is promoted into a replacement task instruction.
The [OWASP prompt-injection prevention guidance](https://cheatsheetseries.owasp.org/cheatsheets/LLM_Prompt_Injection_Prevention_Cheat_Sheet.html) describes indirect injection through external content and recommends layered measures including instruction/data separation, least privilege and tool validation. Those software-security principles apply to the information path; they do not certify a robot's physical safety.
### Preserve provenance through the plan
One useful design separates an authorised task specification from observations used to instantiate it. The task specification defines the permitted operation and scope. Observations supply candidate object identities, locations and factual attributes. They do not get to amend permissions simply because their wording resembles an instruction.
The execution boundary should evaluate proposed skills against both current world state and the authorised scope. If a changed destination or additional operation requires new approval, the robot should request that approval through the intended interface rather than treating environmental text as consent.
This check needs more than a final natural-language explanation. Preserve evidence linking:
- The original task and the scope approved through the trusted interface.
- The source and capture time of OCR, retrieval and tool observations.
- The candidate plan before and after those observations were incorporated.
- The executable skill request and the reason it passed or failed authorisation.
- Any explicit approval that changed the scope.
Logs should retain enough provenance to diagnose the decision without unnecessarily retaining sensitive scene content.
### Test with harmless markers and disconnected tools
A controlled evaluation can place benign instruction-like markers in mock labels, retrieved passages and tool responses. Check whether they change the destination, add an operation or alter the planner's interpretation of its permissions. Use stubbed skills or an offline environment; no physical actuation is needed to test this boundary.
Test negative cases too. A legitimate label may contain an address or handling attribute that the authorised task genuinely needs. Rejecting every imperative-looking phrase can make the system unusable while still missing more subtle redirections.
Structured observations reduce ambiguity, but the fields and their downstream use still need constraints. A model can copy untrusted instructions into a seemingly authoritative plan rationale. Another model reviewing the same context is not an independent permission boundary by default.
**Open engineering question:** where does your system enforce the rule that observations may update its world model but may not expand its authority? Can a correctly perceived label change the task without an explicit, traceable approval event?