AI engineering glossary · Evals guardrails AI security

What is egress filtering?

Egress filtering: Restricting which destinations and kinds of data a system can send out, for example allowing an agent to contact only approved domains. It limits the damage if an injection succeeds, because stolen information cannot easily leave the environment.

Level: advancedTopic: Evals guardrails AI security

Egress filtering: an example

An agent's sandbox permits calls only to the company's own API domain, so an injected command to post secrets to a random website fails.

Related terms

More Evals guardrails AI security terms

Where you learn it

Egress filtering is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.