Glossary · Prompt Injection & AI Security

Hidden Text Injection

Hidden text injection is the umbrella technique of placing instructions in a document in a way that a person cannot see but an AI can read.

What Is Hidden Text Injection?

Hidden text covers several concealment methods: text coloured like its background, text set in a tiny font, and text placed outside the visible page. All leave the instruction in the file's text layer, so extraction picks it up.

Security researchers have documented the same patterns on web pages, including CSS-suppressed text and zero-pixel fonts, which humans never see but LLMs consume.

How Hidden Text Injection Works

Detection compares extracted text with what renders: any characters in the text layer that do not appear visibly (by colour contrast, size or position) are candidates. The three common forms each have their own entry: white-on-white, 1pt fon and outside the page.

Practical Industrial Use

Recruiters, buyers, claims handlers and legal reviewers are all targets, since a ranking or summary can be quietly steered.

What Happens Without It

Reviewers see a normal page, so approvals are given for files the AI interpreted differently.

Risk Without Protection From Hidden Text Injection If you cannot see it, you cannot review it. But your AI can read it.

With Protection Against Hidden Text Injection

  • Hidden text surfaced by comparison
  • Located by page
  • Blocked or reviewed pre-handoff
  • Logged for audit

Without It

  • Invisible text goes unnoticed
  • AI obeys it
  • No evidence trail
  • Reviewers falsely reassured

How This Relates to Questa AI

Questa Blackbox flags hidden text and reports its location, for example the page and the technique (tiny font, same-colour text or outside the page), so a reviewer knows exactly what was found.

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

See Hidden 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?