Skip to content

How do I summarize client production notes without letting instructions inside them control my application?

Treat the notes as untrusted source material, not as authorization to change the application's instructions or perform actions. Ask for the intended summary, but enforce permissions and paid-generation approval outside the model. Clear labels help the model understand the task; they do not create a guaranteed security barrier. Review the returned summary before it becomes a command, public post or production decision.

BUILD NON-STREAMING TEXT WORKFLOWSAISwapLab team · Editorial methodPublished 3 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Editorial workflow: Describe the authorized task independently → Keep actions behind deterministic application checks → Test the boundary with harmless content.
Original editorial workflow diagram. It summarizes the guide's decisions; it is not a model output, interface screenshot or additional quality experiment.

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

  1. 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.

  2. 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.

  3. 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

MaterialPermitted treatmentNot authorized by this material
User requestDefines the supported summary taskUnlimited future spending
Client documentEvidence to analyze and quoteChanging application permissions
Model answerDraft for reviewSelf-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.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation