← All guides · Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team
Undeclared Egress by an AI Agent: What It Means
The short answer
Undeclared egress is a logged action that sends data to a destination outside the egress allowlist you declared for the agent. It is high severity because egress is the moment data actually leaves your control — to a forgotten legacy endpoint, a helper service nobody reviewed, or a destination the agent composed on its own. If you declared no allowlist, egress was not judged at all, and the report says so. Check your own log with the free log scan.
What is undeclared egress?
Undeclared-egress is one of BoundaryVault's nine patterns, severity high: a send whose destination falls outside the declared egress allowlist in the scope config. The finding records the pattern, timestamp, action index, agent, tool and a redacted excerpt, so you can open the exact action in your own log and see what was sent where.
Destinations are half the boundary
Teams declare tools carefully and destinations casually, yet a tool is only a capability — the destination decides whose hands the data lands in. The same send tool is routine aimed at your declared CRM endpoint and an incident aimed at a personal file-sharing host. That is why the scope config carries an egress allowlist beside allowed_tools, and why the detector judges the pair together. When you review your declarations, spend at least as long on the destination list as on the tool list; it is the list an investigator will read first.
The usual suspects
Undeclared egress is rarely a mastermind. The recurring sources are legacy endpoints left in configuration after a migration, helper and formatting services adopted informally by one team member, webhook URLs pasted into prompts, and fallback behaviour in frameworks that retry against a secondary host nobody documented. Each looks innocent in isolation, which is precisely why a declared list matters: the finding does not accuse, it surfaces a destination that nobody can point to on the approved list, and asks for a decision — declare it on the record, or close it.
What was sent matters as much as where
Triage an egress finding in two passes. First the destination: known or unknown, yours or a third party, declared anywhere else in the estate? Then the payload: open the action in your own log and read what actually went — a status ping and a customer-record export share a pattern name but not a response. If credential-shaped or personal material went to an undeclared third party, the incident path applies: containment, the disclosure packet, and the rotation worklist for anything credential-like that travelled. If it was a benign ping to your own legacy host, declare or retire the host and record the call.
No allowlist, no judgement
Egress findings require the declaration. Without an egress allowlist in the scope config, sends are simply not judged, and a report free of egress findings means nothing. Build the first list from your architecture — the endpoints the agent is designed to talk to — not from a month of observed traffic, which would declare the status quo, leaks included, as approved. Expect the first scan against an honest list to find something; that is the list working, and each finding is a destination decision your organisation needed to make anyway.
A worked example: Fernway Clinics
Example — fictional operator, illustrative numbers. Fernway Clinics, a fictional physiotherapy chain, declared 4 egress destinations for its booking agent. A scan of 73,000 actions over 10 days returned 2 undeclared-egress findings: reminder payloads — names and appointment times, about 1,150 sends in the pattern — going to a pre-migration reminder host that was still live, and 26 sends to a staff member's personal automation webhook carrying booking summaries. The legacy host was retired and the migration completed; the personal webhook was removed, its received data deleted by its owner, and the decision recorded. The rescan of the next 10 days, 75,000 actions, showed 0 undeclared destinations.
| Measure | Figure | What it showed |
|---|---|---|
| Declared destinations | 4 | The booking agent's allowlist |
| Actions scanned | 73,000 over 10 days | 2 undeclared-egress findings |
| Legacy-host sends | About 1,150 | Pre-migration reminder endpoint |
| Personal webhook sends | 26 | Removed; received data deleted |
See how the plans differ on log size and batch work on the pricing page, and how the detector reads a log in the detector docs.
The checklist: five actions
- Declare destinations from design. Build the egress allowlist from the architecture, not from observed traffic.
- Triage destination, then payload. Identify the host first, then read in your own log what actually went to it.
- Retire or declare, on the record. Every finding ends in a recorded decision: the destination joins the list deliberately, or the route is closed.
- Hunt legacy endpoints. After any migration, scan specifically for sends to pre-migration hosts still alive in configuration.
- Keep webhooks out of prompts. Destinations belong in declared configuration, never pasted into instructions an agent follows.
Run the free log scan · More agent-security tools from Ingenious AI
Related guides
How to Write an Egress Allowlist for an AI Agent
How Do You Declare Scope for an AI Agent?
What to Do in the First Hour After an Agent Incident Surfaces
How Long Should You Keep AI Agent Logs? An Audit-Trail Retention Guide
Agent Log Forensics: Finding Credential Grabs After the Fact
The destination you recognise but never declared
The most common undeclared-egress finding is not a stranger's server. It is your own secondary system — the analytics endpoint, the status page, the legacy webhook — that the agent legitimately uses and nobody wrote into the allowlist. Close those as declaration gaps, add the destination with an owner and a reason, and move on. Saving your scepticism for the genuinely unknown destination is not leniency; it is calibration. A review process that treats a forgotten status page like an exfiltration channel teaches everyone to stop reading findings carefully.
Keep the calibration honest in the other direction too. 'We recognise it' must mean someone can say what the endpoint is, who runs it and what data class it receives — from knowledge, not from the finding's own excerpt. A destination that everyone vaguely trusts and nobody can describe is undeclared in every way that matters.
Egress through tools you forgot were doors
Some of the most consequential egress never looks like sending. A code interpreter that fetches a URL to 'check something', a browser tool rendering a page that carries the session's data in its query string, a document converter that uploads the file to do its work — each is a door, and the destination belongs on the allowlist with its data class named. When you inventory an agent's egress, inventory capabilities, not intentions: any tool that can cause bytes to arrive somewhere is a destination waiting to be declared. The finding, when it comes, will not care that the tool's brochure called it a viewer.
This is also why egress review belongs in tool procurement, not just in scanning. A new tool's first question — where does it send, and what does it send there — is far cheaper asked before the integration than discovered from a finding after a quarter of traffic.
Frequently asked questions
What is undeclared egress?
A logged send to a destination outside the egress allowlist declared in the agent's scope config. It is one of BoundaryVault's nine patterns, severity high.
What if I have no egress allowlist?
Then egress is not judged, and the absence of egress findings is a blind spot rather than a clean result. Declare the destinations the agent is designed to use and rescan.
Is undeclared egress always a data leak?
No. Common causes are legacy endpoints, informal helper services and framework fallbacks. The payload decides the response: read the actual action in your own log before classifying it.
How should the first allowlist be built?
From the designed architecture — the endpoints the agent is meant to talk to. Building it from observed traffic declares existing leaks as approved.
What if personal or credential material reached an undeclared third party?
Treat it as an incident: contain the route, build the disclosure packet, and rotate anything credential-like that travelled, per the blast-radius worklist.