{"id":3725,"date":"2026-11-16T18:00:00","date_gmt":"2026-11-16T10:00:00","guid":{"rendered":"https:\/\/www.olares.com\/articles\/?p=3725"},"modified":"2026-11-19T22:00:08","modified_gmt":"2026-11-19T14:00:08","slug":"treat-webpage-instructions-as-untrusted-input","status":"publish","type":"post","link":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/","title":{"rendered":"Treat Webpage Instructions as Untrusted Input for Research Agents"},"content":{"rendered":"<p class=\"wp-block-paragraph\">A research agent should treat instructions it finds inside a webpage as part of the page it is studying, not as orders to follow. It can summarize, quote, and assess that text. That text should never change the agent&#8217;s assigned task or give it permission to use tools.<\/p>\n<p class=\"wp-block-paragraph\">This matters because of prompt injection: text written to steer an AI model away from what its real user asked for. Keeping page content separate from trusted instructions helps. Enforced tool permissions and review of risky actions add stronger layers, though no control removes the risk completely.<\/p>\n<h2 class=\"wp-block-heading\">Treat webpage text as evidence, not authority<\/h2>\n<p class=\"wp-block-paragraph\">Webpage text is evidence the agent works with. Whether you configure a custom pipeline or run <a href=\"https:\/\/www.olares.com\/docs\/use-cases\/lares-web-research\" rel=\"noopener\" target=\"_blank\">research tasks with Lares<\/a>, the trusted task comes from the user and the governing system. Those are two different jobs, and the agent should keep them apart.<\/p>\n<p class=\"wp-block-paragraph\">Here is the practical split. A page can tell the agent what a company claims, what a study found, or what a product costs. All of that can shape the summary. But if the page says &#8220;ignore your earlier instructions&#8221; or &#8220;send this report to another address,&#8221; the agent should treat that line as a fact about the page. It might even be worth noting in the summary as a red flag. It is not a new task, and it does not authorize any action.<\/p>\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/LLM_Prompt_Injection_Prevention_Cheat_Sheet.html\" rel=\"noopener\" target=\"_blank\">OWASP&#8217;s prompt injection guidance<\/a> recommends keeping trusted instructions separate from untrusted data. It also warns that text labels and prompt wording are not an enforcement boundary. Wrapping a page in tags marked &#8220;untrusted&#8221; is useful for organizing the prompt. It does not stop the model from reading a hidden command and acting on it. So separation is the right design habit, but it has to be backed by controls outside the model.<\/p>\n<h2 class=\"wp-block-heading\">How webpage text can redirect an agent<\/h2>\n<p class=\"wp-block-paragraph\">Models can receive system, user, and tool content in separate roles or labeled fields, but that structure is not a reliable security boundary by itself. A model may still treat instructions inside fetched content as something to follow. Enforce the boundary in the application\u2019s permissions and tool execution layer.<\/p>\n<p class=\"wp-block-paragraph\">OWASP lists webpages that models fetch, hidden page text, and instructions inside normal-looking content as channels for indirect prompt injection. &#8220;Indirect&#8221; means the attacker never talks to the agent directly. They plant text where the agent will later read it. That text might be invisible to a human visitor, or it might look like an ordinary note in a review or a document.<\/p>\n<p class=\"wp-block-paragraph\">For a plain summarizer, the worst result may be a slanted or wrong summary. The stakes rise when the agent has tools. OWASP describes tool manipulation, where an agent is tricked into calling tools with attacker-controlled parameters. An attack like this may not succeed every time, and most pages are not malicious. Still, an agent that can search, write files, or send messages turns a bad sentence on a page into a possible bad action.<\/p>\n<h2 class=\"wp-block-heading\">Match safeguards to the agent&#8217;s capabilities<\/h2>\n<p class=\"wp-block-paragraph\">The right controls depend on what the agent can actually do. A read-only researcher needs tight limits on access. An agent with tools that change things needs those limits plus checks enforced at each tool.<\/p>\n<p class=\"wp-block-paragraph\">For read-only research, apply least privilege. Give the agent only the retrieval operations and source data its task needs. If the job is &#8220;summarize these five pages,&#8221; it does not need access to your email, your files, or a tool that posts online. This is a direct application of the least-privilege principle, not a separately tested guarantee. Its value is simple: an injected command cannot use a tool the agent does not have. Also restrict outbound destinations and request parameters. A read-only fetch can leak sensitive data if an injected instruction puts it into a URL sent to an attacker\u2019s server.<\/p>\n<p class=\"wp-block-paragraph\">For agents with broader tools, OWASP&#8217;s agent-specific defenses call for validating tool calls against user permissions and session context, checking each tool&#8217;s parameters, and restricting tool access by least privilege. The key point is where these checks live. They run in the code around the tool, not inside the model&#8217;s reasoning. When permissions and parameter checks are properly enforced, the tool is designed to reject a call that falls outside permitted limits or uses an unexpected target, though human verification remains necessary for high-impact actions.<\/p>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1382\" height=\"921\" alt=\"Diagram showing webpage content informing a summary without authorizing tool actions, which require permission checks and specific human approval.\" class=\"wp-image-3724\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/www.olares.com\/articles\/wp-content\/uploads\/2026\/11\/treat-webpage-instructions-as-untrusted-input-image-2.png\"\/><figcaption class=\"wp-element-caption\">Diagram showing webpage content informing a summary without authorizing tool actions, which require permission checks and specific human approval.<\/figcaption><\/figure>\n<p class=\"wp-block-paragraph\">This keeps two powers apart. The agent can read and analyze any page you point it at. Its authority to reach or change other resources stays fixed by your setup, whatever the page says.<\/p>\n<h2 class=\"wp-block-heading\">Review consequential actions before execution<\/h2>\n<p class=\"wp-block-paragraph\">Require human approval before consequential actions such as deleting records, sending sensitive material, or making purchases. For routine operations already authorized within the task, enforce the defined scope at execution time and escalate when the proposed operation exceeds it. Reading and summarizing normally stay within the research task.<\/p>\n<p class=\"wp-block-paragraph\">OWASP&#8217;s guidance on human approval for consequential tool actions says the decision should rest on the proposed operation, its target, its arguments, and the caller&#8217;s authority. The component that runs the action must confirm approval for that exact action. An unrelated or vague \u201cgo ahead\u201d does not authorize a different target or operation. Existing authorization must actually cover the proposed action. Scanning the user\u2019s prompt for risky keywords does not establish authorization either.<\/p>\n<p class=\"wp-block-paragraph\">In practice, the approval screen should show what will happen, for example &#8220;send file X to address Y.&#8221; If the address came from a webpage rather than from you, that is your cue to stop. Review must happen before execution, not after the agent reports what it already did. Approval lowers risk, but a rushed reviewer can still approve a bad request.<\/p>\n<h2 class=\"wp-block-heading\">Why safeguards reduce risk, not eliminate it<\/h2>\n<p class=\"wp-block-paragraph\">Screening for attack phrases can flag known patterns for logging or review. OWASP notes it is not a security boundary, because attackers can reword commands, switch languages, or encode them in ways a filter misses. Prompt separation has a similar limit, since models do not enforce a line between instructions and data. That is why permissions and approvals stay in place even when content has been screened and clearly labeled. Use the layers together, and plan for the case where one fails.<\/p>\n<h2 class=\"wp-block-heading\">FAQs<\/h2>\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-3725-1\"><strong class=\"schema-faq-question\">Should a research agent mention injected instructions in its summary?<\/strong> <p class=\"schema-faq-answer\">It can, when it helps the reader. Noting that a page contains text aimed at AI tools is useful context about the source&#8217;s reliability. The agent should report that text as a finding, not carry it out.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-3725-2\"><strong class=\"schema-faq-question\">Does treating pages as untrusted mean the agent should ignore their facts?<\/strong> <p class=\"schema-faq-answer\">No. The page is still the source material the agent was asked to study. Its claims, data, and quotes can inform the summary and should be judged like any other source. Only its power to direct the agent is removed.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-3725-3\"><strong class=\"schema-faq-question\">Can hidden characters carry instructions a person cannot see?<\/strong> <p class=\"schema-faq-answer\"><strong>Yes<\/strong>. OWASP notes that certain invisible Unicode characters can carry hidden instructions that models read. If a system screens a cleaned copy but forwards the original text, the hidden content still reaches the model. Unexpected invisible characters are worth flagging for review.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-3725-4\"><strong class=\"schema-faq-question\">Is the model&#8217;s own output safe to pass to other tools?<\/strong> <p class=\"schema-faq-answer\">Not automatically. OWASP advises treating model output as untrusted too. If a summary feeds another tool or system, that next step should apply its own permission and parameter checks.<\/p> <\/div> <\/div>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A research agent should treat instructions it finds inside a webpage as part of the page it is studying, not as orders to follow. It can summarize, quote, and assess that text. That text should never change the agent&#8217;s assigned task or give it permission to use tools. This matters because of prompt injection: text [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":3723,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3725","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Treat Webpage Instructions as Untrusted Input for Agents<\/title>\n<meta name=\"description\" content=\"A research agent should treat text inside a page as evidence, not orders. Limit what it can do, and review consequential actions before they run.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Treat Webpage Instructions as Untrusted Input for Agents\" \/>\n<meta property=\"og:description\" content=\"A research agent should treat text inside a page as evidence, not orders. Limit what it can do, and review consequential actions before they run.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/\" \/>\n<meta property=\"og:site_name\" content=\"Olares Articles\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/people\/Olares\/61579156063357\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-16T10:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-19T14:00:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.olares.com\/articles\/wp-content\/uploads\/2026\/11\/treat-webpage-instructions-as-untrusted-input-featured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"668\" \/>\n\t<meta property=\"og:image:height\" content=\"445\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Yajing Wang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Olares_OS\" \/>\n<meta name=\"twitter:site\" content=\"@Olares_OS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yajing Wang\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/\"},\"author\":{\"name\":\"Yajing Wang\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/#\\\/schema\\\/person\\\/d106d6ed3db3314a7a18162f8b4c27ae\"},\"headline\":\"Treat Webpage Instructions as Untrusted Input for Research Agents\",\"datePublished\":\"2026-11-16T10:00:00+00:00\",\"dateModified\":\"2026-11-19T14:00:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/\"},\"wordCount\":1266,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/treat-webpage-instructions-as-untrusted-input-featured.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#respond\"]}]},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/\",\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/\",\"name\":\"Treat Webpage Instructions as Untrusted Input for Agents\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/treat-webpage-instructions-as-untrusted-input-featured.png\",\"datePublished\":\"2026-11-16T10:00:00+00:00\",\"dateModified\":\"2026-11-19T14:00:08+00:00\",\"description\":\"A research agent should treat text inside a page as evidence, not orders. Limit what it can do, and review consequential actions before they run.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-1\"},{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-2\"},{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-3\"},{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-4\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/treat-webpage-instructions-as-untrusted-input-featured.png\",\"contentUrl\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/treat-webpage-instructions-as-untrusted-input-featured.png\",\"width\":668,\"height\":445,\"caption\":\"A researcher reviews an online source while taking notes.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Treat Webpage Instructions as Untrusted Input for Research Agents\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/#website\",\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/\",\"name\":\"Olares Articles\",\"description\":\"Perspectives on private AI, self-hosting, and a digital life you control.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/#organization\",\"name\":\"Olares\",\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/mascot_black.png\",\"contentUrl\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/mascot_black.png\",\"width\":1000,\"height\":1000,\"caption\":\"Olares\"},\"image\":{\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/people\\\/Olares\\\/61579156063357\\\/\",\"https:\\\/\\\/x.com\\\/Olares_OS\",\"https:\\\/\\\/github.com\\\/beclab\\\/Olares\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/olarestech\\\/\",\"https:\\\/\\\/www.youtube.com\\\/@OlaresOS\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/#\\\/schema\\\/person\\\/d106d6ed3db3314a7a18162f8b4c27ae\",\"name\":\"Yajing Wang\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e14488812ffef7f238774b577689ca193019f2bbb1c1745cde735ab71d3c4cbc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e14488812ffef7f238774b577689ca193019f2bbb1c1745cde735ab71d3c4cbc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e14488812ffef7f238774b577689ca193019f2bbb1c1745cde735ab71d3c4cbc?s=96&d=mm&r=g\",\"caption\":\"Yajing Wang\"},\"description\":\"Yajing Wang is Head of Growth at Olares. Yajing's work focuses on helping people understand personal cloud software, local AI, and self-hosted applications, with an emphasis on clear explanations of how these tools fit into everyday workflows.\",\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/author\\\/yajing-wang\\\/\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-1\",\"position\":1,\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-1\",\"name\":\"Should a research agent mention injected instructions in its summary?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It can, when it helps the reader. Noting that a page contains text aimed at AI tools is useful context about the source's reliability. The agent should report that text as a finding, not carry it out.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-2\",\"position\":2,\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-2\",\"name\":\"Does treating pages as untrusted mean the agent should ignore their facts?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. The page is still the source material the agent was asked to study. Its claims, data, and quotes can inform the summary and should be judged like any other source. Only its power to direct the agent is removed.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-3\",\"position\":3,\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-3\",\"name\":\"Can hidden characters carry instructions a person cannot see?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<strong>Yes<\\\/strong>. OWASP notes that certain invisible Unicode characters can carry hidden instructions that models read. If a system screens a cleaned copy but forwards the original text, the hidden content still reaches the model. Unexpected invisible characters are worth flagging for review.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-4\",\"position\":4,\"url\":\"https:\\\/\\\/www.olares.com\\\/articles\\\/treat-webpage-instructions-as-untrusted-input\\\/#faq-question-3725-4\",\"name\":\"Is the model's own output safe to pass to other tools?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Not automatically. OWASP advises treating model output as untrusted too. If a summary feeds another tool or system, that next step should apply its own permission and parameter checks.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Treat Webpage Instructions as Untrusted Input for Agents","description":"A research agent should treat text inside a page as evidence, not orders. Limit what it can do, and review consequential actions before they run.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/","og_locale":"en_US","og_type":"article","og_title":"Treat Webpage Instructions as Untrusted Input for Agents","og_description":"A research agent should treat text inside a page as evidence, not orders. Limit what it can do, and review consequential actions before they run.","og_url":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/","og_site_name":"Olares Articles","article_publisher":"https:\/\/www.facebook.com\/people\/Olares\/61579156063357\/","article_published_time":"2026-11-16T10:00:00+00:00","article_modified_time":"2026-11-19T14:00:08+00:00","og_image":[{"width":668,"height":445,"url":"https:\/\/www.olares.com\/articles\/wp-content\/uploads\/2026\/11\/treat-webpage-instructions-as-untrusted-input-featured.png","type":"image\/png"}],"author":"Yajing Wang","twitter_card":"summary_large_image","twitter_creator":"@Olares_OS","twitter_site":"@Olares_OS","twitter_misc":{"Written by":"Yajing Wang","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#article","isPartOf":{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/"},"author":{"name":"Yajing Wang","@id":"https:\/\/www.olares.com\/articles\/#\/schema\/person\/d106d6ed3db3314a7a18162f8b4c27ae"},"headline":"Treat Webpage Instructions as Untrusted Input for Research Agents","datePublished":"2026-11-16T10:00:00+00:00","dateModified":"2026-11-19T14:00:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/"},"wordCount":1266,"commentCount":0,"publisher":{"@id":"https:\/\/www.olares.com\/articles\/#organization"},"image":{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#primaryimage"},"thumbnailUrl":"https:\/\/www.olares.com\/articles\/wp-content\/uploads\/2026\/11\/treat-webpage-instructions-as-untrusted-input-featured.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#respond"]}]},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/","url":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/","name":"Treat Webpage Instructions as Untrusted Input for Agents","isPartOf":{"@id":"https:\/\/www.olares.com\/articles\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#primaryimage"},"image":{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#primaryimage"},"thumbnailUrl":"https:\/\/www.olares.com\/articles\/wp-content\/uploads\/2026\/11\/treat-webpage-instructions-as-untrusted-input-featured.png","datePublished":"2026-11-16T10:00:00+00:00","dateModified":"2026-11-19T14:00:08+00:00","description":"A research agent should treat text inside a page as evidence, not orders. Limit what it can do, and review consequential actions before they run.","breadcrumb":{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-1"},{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-2"},{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-3"},{"@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-4"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#primaryimage","url":"https:\/\/www.olares.com\/articles\/wp-content\/uploads\/2026\/11\/treat-webpage-instructions-as-untrusted-input-featured.png","contentUrl":"https:\/\/www.olares.com\/articles\/wp-content\/uploads\/2026\/11\/treat-webpage-instructions-as-untrusted-input-featured.png","width":668,"height":445,"caption":"A researcher reviews an online source while taking notes."},{"@type":"BreadcrumbList","@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.olares.com\/articles\/"},{"@type":"ListItem","position":2,"name":"Treat Webpage Instructions as Untrusted Input for Research Agents"}]},{"@type":"WebSite","@id":"https:\/\/www.olares.com\/articles\/#website","url":"https:\/\/www.olares.com\/articles\/","name":"Olares Articles","description":"Perspectives on private AI, self-hosting, and a digital life you control.","publisher":{"@id":"https:\/\/www.olares.com\/articles\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.olares.com\/articles\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.olares.com\/articles\/#organization","name":"Olares","url":"https:\/\/www.olares.com\/articles\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.olares.com\/articles\/#\/schema\/logo\/image\/","url":"https:\/\/www.olares.com\/articles\/wp-content\/uploads\/2026\/09\/mascot_black.png","contentUrl":"https:\/\/www.olares.com\/articles\/wp-content\/uploads\/2026\/09\/mascot_black.png","width":1000,"height":1000,"caption":"Olares"},"image":{"@id":"https:\/\/www.olares.com\/articles\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/people\/Olares\/61579156063357\/","https:\/\/x.com\/Olares_OS","https:\/\/github.com\/beclab\/Olares","https:\/\/www.linkedin.com\/company\/olarestech\/","https:\/\/www.youtube.com\/@OlaresOS\/featured"]},{"@type":"Person","@id":"https:\/\/www.olares.com\/articles\/#\/schema\/person\/d106d6ed3db3314a7a18162f8b4c27ae","name":"Yajing Wang","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e14488812ffef7f238774b577689ca193019f2bbb1c1745cde735ab71d3c4cbc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e14488812ffef7f238774b577689ca193019f2bbb1c1745cde735ab71d3c4cbc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e14488812ffef7f238774b577689ca193019f2bbb1c1745cde735ab71d3c4cbc?s=96&d=mm&r=g","caption":"Yajing Wang"},"description":"Yajing Wang is Head of Growth at Olares. Yajing's work focuses on helping people understand personal cloud software, local AI, and self-hosted applications, with an emphasis on clear explanations of how these tools fit into everyday workflows.","url":"https:\/\/www.olares.com\/articles\/author\/yajing-wang\/"},{"@type":"Question","@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-1","position":1,"url":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-1","name":"Should a research agent mention injected instructions in its summary?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"It can, when it helps the reader. Noting that a page contains text aimed at AI tools is useful context about the source's reliability. The agent should report that text as a finding, not carry it out.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-2","position":2,"url":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-2","name":"Does treating pages as untrusted mean the agent should ignore their facts?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"No. The page is still the source material the agent was asked to study. Its claims, data, and quotes can inform the summary and should be judged like any other source. Only its power to direct the agent is removed.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-3","position":3,"url":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-3","name":"Can hidden characters carry instructions a person cannot see?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"<strong>Yes<\/strong>. OWASP notes that certain invisible Unicode characters can carry hidden instructions that models read. If a system screens a cleaned copy but forwards the original text, the hidden content still reaches the model. Unexpected invisible characters are worth flagging for review.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-4","position":4,"url":"https:\/\/www.olares.com\/articles\/treat-webpage-instructions-as-untrusted-input\/#faq-question-3725-4","name":"Is the model's own output safe to pass to other tools?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Not automatically. OWASP advises treating model output as untrusted too. If a summary feeds another tool or system, that next step should apply its own permission and parameter checks.","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/posts\/3725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/comments?post=3725"}],"version-history":[{"count":3,"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/posts\/3725\/revisions"}],"predecessor-version":[{"id":3952,"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/posts\/3725\/revisions\/3952"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/media\/3723"}],"wp:attachment":[{"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/media?parent=3725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/categories?post=3725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.olares.com\/articles\/wp-json\/wp\/v2\/tags?post=3725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}