Source-authority boundary
A client document can contain quoted prompts, copied messages, instructions for a performer and ordinary prose. Some lines may tell an assistant to ignore other material or send information elsewhere. The user may want those lines summarized as content, not obeyed as new instructions. This is different from merely assembling the right facts for a script: the application must preserve the authority of the real request while reading a potentially conflicting source. AISwapLab's current chat route does not itself browse, call external tools or execute code. If your own application adds such operations, their controls remain your responsibility.
What to do next
- 01
Describe the authorized task independently
Record what the user actually asked: for example, summarize open production decisions into a review note. Keep that task separate from the document body and identify the body as material to analyze. Preserve source attribution for instructions quoted inside it so they can be described rather than promoted into commands. Do not put API secrets or unnecessary private material into the prompt as a test of whether the model will reveal them.
- 02
Keep actions behind deterministic application checks
Return text for review rather than allowing a phrase in the document to trigger generation, email or file changes. If a later application step proposes an action, validate its recipient, resources, spending limit and user authority in code outside the language model. A model's statement that approval was granted is not evidence of approval. Likewise, a clean-looking final summary does not prove that a separately connected tool made no unauthorized request.
- 03
Test the boundary with harmless content
Use a synthetic production note that includes an irrelevant instruction to change the summary task. Observe whether the app still returns only the supported review artifact and whether any instrumented action substitute was invoked. Add benign notes containing words such as delete or system so a simplistic filter is not rewarded for blocking normal work. Record the narrow test result and unresolved cases rather than calling a short fixture suite complete prompt-injection protection.
A concrete example
Illustrative review packet: a client note says that a performer should ignore the previous stage cue, then separately quotes a chatbot prompt asking to publish an unrelated URL. The requested deliverable is a decision summary. The application should describe relevant production decisions and refuse to treat quoted chatbot text as permission to publish. The operator checks the returned note before using it. This is a proposed source-handling exercise with dummy material, not an executed security benchmark or a claim that a particular provider is immune to indirect instructions.
Source-authority boundary
| Material | Permitted treatment | Not authorized by this material |
|---|---|---|
| User request | Defines the supported summary task | Unlimited future spending |
| Client document | Evidence to analyze and quote | Changing application permissions |
| Model answer | Draft for review | Self-approval of publication or tools |
Before you call it ready
- The real user task is recorded outside the source document.
- Document instructions are not accepted as authority for application actions.
- Action permissions are checked outside the model.
- Harmless tests distinguish blocked attacks from blocked legitimate work.
When to stop or choose another method
Stop connecting the summary directly to a paid or public action when no independent approval boundary exists. Do not describe prompt labels, keyword filters or an additional model as a complete solution. If the source includes private information unnecessary for the task, minimize it before submission. An approved summary and a later approved generation are separate decisions, even if the same assistant helped draft both.
