Glossary · Prompt Injection & AI Security

off-page-text-injection

Off-page text injection places instructions outside the visible page area of a PDF, so they are never rendered but are still extracted.

What Is Off-Page Text Injection?

PDF pages have a visible region (the CropBox). Text positioned outside it does not appear on screen or in print, but a parser can still read it. The instruction can be a full sentence, invisible to every human reader.

How Off-Page Text Injection Works

Detection compares each text run's coordinates with the page boundaries and flags content outside them, then checks the content for instruction-like language.

Practical Industrial Use

Forms, contracts and attachments passed between organizations are typical carriers.

What Happens Without It

Everything a person sees is clean; the machine view is not.

Risk Without Protection From Off-Page Text Injection Some of the page is only visible to machines.

With Protection Against Off-Page Text Injection

  • Coordinate check against page area
  • Flagged with page
  • Verdict before model
  • Audit trail

Without It

  • Off-page text unseen
  • AI extracts it
  • No boundary checks
  • Spreads through agent steps

A page boundary is a good place to look because legitimate text rarely sits outside it.

How This Relates to Questa AI

Questa's Visual Injection Check reports text placed outside the page area and treats it as a high-risk signal, expected to be blocked in demo samples.

Questa Blackbox is a privacy firewall that sits between your documents, data and AI models. It is available as a SaaS service and as an on-premises deployment, and in both the principle is the same: content is inspected before it reaches a model, not after something has gone wrong. Sensitive entities are anonymized, and PDF files go through the Visual Injection Check, which compares what a machine extracts from a file with what a person sees once the page is rendered.

Each file receives one of three verdicts, no findings, review or block, shown per file in the File Tool and across all files in the Visual Injections dashboard, with the finding type and location (for example "Page 1, tiny font"). Security teams can use these verdicts to hold flagged files before they are handed to a model or an agent. Two honest limits apply. The check reports findings; it does not itself stop file handoff, so the verdict needs to drive your workflow. And "no findings" means nothing was found, not that a file is guaranteed safe. Files that are too large, too long, unreadable or not checked to completion are never counted as clean.

Because Blackbox also anonymizes personal and sensitive data at each step, a missed injection has far less to steal: names, identifiers and other protected entities have already been replaced with tokens before the model sees them. With the on-premises option, files, findings and audit records stay inside your own network boundary; with SaaS, you get the same inspection without running infrastructure. Layered with least-privilege agent permissions and human review, this reduces the risk to your network, data, cyber security and AI agents. It does not claim to eliminate it, and no single control can.

Frequently asked questions

Instructions positioned outside the visible page area.

The renderer only draws the page area.

Rarely. It can occur through odd generators, which is why a review verdict exists.

By comparing text coordinates with page boundaries.

It flags and locates the text before the file reaches a model.

See off-page-text-injection in practice

Questa AI anonymizes sensitive data before it reaches any AI model — across documents and live prompts, with governance and data-residency control.

Contact

Contact Us

Have questions or ready to explore how Questa AI can transform your business?