Overview
Prompt injection scanning checks every document you add to a Feather knowledge base for hidden instructions meant to hijack an AI agent. It runs as documents are ingested, before your agents can use them.
Agents that answer from a knowledge base read whatever is in it. A document from a shared drive, a synced folder or a third party can carry text like "ignore your instructions", sometimes in characters people can't see. If an agent treats that text as instructions, it can say or do things you never intended.
Feather scans each new document version, including its title, as it's ingested. Invisible characters that can hide instructions are stripped before a document is indexed. When your agent retrieves knowledge, it's passed in clearly marked as reference data, not instructions to follow. Where holding is turned on for your organization, a flagged document is quarantined: it's kept out of every search your agents run until someone on your team reviews it.
Reviews happen on the document itself. You can release a version with a reason, which is recorded in its governance history, or confirm the quarantine to keep it out. Scanning works alongside your policies and PII redaction as part of a layered set of guardrails. Because scanning happens at ingest, it covers every way content reaches a knowledge base: uploads, Notion, Confluence and S3 sources alike.
Use cases
- 01
Third-party content
A marketplace syncs supplier product sheets into its knowledge base, and any sheet carrying hidden instructions is flagged before agents use it.
- 02
Shared folders
A team syncs a shared S3 folder that many people can write to, and scanning catches a planted instruction in a document title.
- 03
Reviewing false positives
A security reviewer releases a training document that discusses prompt injection, with a reason recorded for audit.
What’s included
- Scanned on ingest. Every new document version is scanned, including its title.
- Hidden text stripped. Invisible characters that can carry instructions are removed before indexing.
- Knowledge framed as data. Retrieved content is passed to your agent as reference material, never as instructions.
- Quarantine. Where holding is turned on, flagged versions show as Quarantined and are left out of every search.
- Review. Release a version with a reason, or Confirm quarantine to keep it out of service.
- Audit trail. Releases are recorded in the document's governance history.
How to use it
- 01
Open Knowledge bases and pick a knowledge base.
- 02
On the Documents tab, filter by Quarantined to see documents that were held.
- 03
Open a quarantined document to see why it was flagged.
- 04
Click Release and enter a Reason if it's safe, or Confirm quarantine to keep it out of your agents' answers.
- 05
Ask the Feather team if you want flagged documents held out of answers for your organization.
For more detail, read the Feather docs, or talk to us.
Frequently asked questions
It checks documents for hidden instructions aimed at an AI agent. Feather scans every knowledge base document as it's ingested.