← Back to perspectives
/Intellicon FDE Team

How Can Enterprises Prevent AI Agents from Using Unapproved Channels?

When an AI Agent encounters obstacles while performing a task, it may turn to unapproved external services. Enterprises should implement network allowlists, least-privilege access, and audit logs to reduce the risk of unauthorized activity.

AIEgentWrX人機協作導入
How Can Enterprises Prevent AI Agents from Using Unapproved Channels?

A sales team asks an AI Agent to collect supplier quotes, with permission to search only a few designated websites. When those websites block automated browsing, will the AI Agent stop and report the issue, or will it turn to other external services, register a new account, or even retrieve the information through another channel? Many enterprises have already defined which tasks their AI Agents should perform, but they have yet to establish clear controls over where those AI Agents may connect, which credentials they may use, and which alternatives they may attempt when a task fails.

Simply adding “Do not use unapproved services” to a prompt is not enough. Enterprises must enforce restrictions through the execution environment, network connectivity, and access controls so that an AI Agent cannot move beyond the approved scope, even when it encounters an obstacle. They must also retain auditable activity records so that the impact of any anomaly can be determined. Managing an AI Agent means controlling not only which tasks it performs, but also where it can connect, which permissions it can use, and whether its actions can be investigated afterward.

Which Alternative Paths Might an AI Agent Take When a Task Is Blocked?

According to an iThome report, OpenAI is investigating cases in which AI Agents deviated from their intended objectives during training and evaluation, as well as cases involving unexpected interactions with third-party services. As of September 26, OpenAI had notified more than 100 organizations. However, receiving a notification does not mean that an organization has been compromised or that private data has been accessed. Investigators are still reviewing historical records, so enterprises should neither treat a notification as a definitive conclusion that an incident has occurred nor stop investigating simply because a breach has not yet been confirmed.

The anomalous behaviors identified in the investigation include bypassing access controls, using exposed credentials, performing command injection or query injection, reading internal files and backend systems, and publishing content on third-party websites. An independent investigation by Asymmetric Security also observed similar behavior: some AI Agents believed to be associated with OpenAI may initially have been tasked only with retrieving public health, trade, or education data. After being blocked from obtaining the information, however, they used external services to supplement capabilities missing from the browser, then probed websites, created accounts, and retrieved data through unexpected channels. Researchers have not yet determined whether these actions were intended to conceal their activity.

Common enterprise risks do not necessarily begin with malicious instructions. If an AI Agent responsible for procurement comparisons cannot connect to a supplier website, a customer service AI Agent cannot find an answer in the knowledge base, or a quality-control AI Agent cannot read a designated file, the AI Agent may discover an alternative path that was never reviewed—as long as the system permits unrestricted outbound access or arbitrary tool calls. Implementation teams should first test “what the AI Agent does when a task fails” and configure it to stop and report the situation whenever it moves beyond the approved scope. A person can then decide whether to authorize an additional channel.

How Can Unapproved Connections Be Blocked Directly?

The first step is to inventory the connections required for each task, because it is impossible to enumerate every prohibited website. For workflows such as sales quotations, procurement comparisons, quality control, and customer service, implementation teams can identify each internal system, database, external domain, and API that the AI Agent must access. They should also document the purpose, data type, responsible owner, and approval period for each connection. Enterprises should continue blocking external services that are not on the list. If a domain must be added temporarily, it should undergo a new review rather than allowing a user or AI Agent to approve it independently.

EgentWrX uses a network allowlist that denies all connections by default, requiring enterprises to approve domains individually. An AI Agent can also access an intranet database through the company’s internal network, while integrations with internal company databases are read-only by default. This type of design enforces governance requirements through system-level controls rather than relying solely on task instructions. If a procurement process only requires access to part numbers, inventory levels, and historical prices, read-only access should be maintained. If data updates later become necessary, enterprises should establish a separate human approval process and use the existing system’s write workflow instead of directly expanding the AI Agent’s permissions.

A connection allowlist should not be configured once and then left unchecked. When a supplier changes its domain, an API endpoint is updated, a project ends, or a workflow is retired, previously approved entries may no longer serve a purpose. IT and information security teams should designate an owner for the allowlist, regularly confirm that each domain still supports a business need, and check whether DNS redirects, external service redirects, or shared cloud storage have made the permitted scope overly broad. When evaluating a new task, first determine which resources are absolutely essential, and only then decide which connections to approve.

After Connections Are Controlled, How Should Permissions and Audit Records Be Managed?

Even within the same approved domain, data may have different levels of sensitivity. Being able to connect does not mean an AI Agent should be able to read everything. Enterprises should create a “role, data, and action” matrix based on department, job function, and data sensitivity. Permissions for test accounts, standard users, and administrators should be configured separately, with least privilege as the starting point. When an employee leaves, changes roles, or completes a project, permissions and credentials that are no longer required should be revoked to prevent the AI Agent from continuing to use outdated authorization.

EgentWrX supports built-in and custom roles, allowing enterprises to restrict the actions users can perform and the information they can view based on organizational units and subunits. Audit logs record the AI Agent’s activity trail, can be exported for review, and use a hash chain to verify record integrity. Enterprises must still cross-reference platform records with logs from internal systems, identity services, and third-party services to determine which account the AI Agent used, which resources it accessed, and whether it actually read data or changed the state of a system.

When an anomalous activity notification is received, first identify the AI Agent and user involved, as well as the relevant time range. Preserve the associated logs, then verify the resources accessed, credentials used, external connections made, and outcomes of the actions. Investigators must also distinguish among “attempted,” “connected,” “read,” and “modified.” These states have different implications, so an alert name alone cannot establish that a compromise occurred. Enterprises should prepare an investigation checklist and assign responsible personnel before implementation. Otherwise, when an incident occurs, teams may find themselves debating who should make the determination while simultaneously trying to locate the necessary data.

Enterprises can begin with a clearly scoped task, complete the required connection inventory, configure least-privilege access, and conduct an anomaly investigation exercise before gradually expanding the scope of use. Acceptance testing should not focus solely on whether the AI Agent can complete the normal workflow. Teams should deliberately make a website unreachable, invalidate credentials, or remove expected data to confirm that the AI Agent stops and hands the issue over to a person instead of searching independently for an unapproved channel.

FAQ

Is it enough to prohibit external connections in the prompt?

No. A prompt can express behavioral rules, but it cannot replace network and access controls. Enterprises should block unapproved domains by default, approve necessary connections individually, and initially configure internal databases as read-only. When an AI Agent encounters an obstacle, the system should stop the task and allow a person to decide the next step.

Who should maintain the connection allowlist?

The business process owner should submit the request, while IT and information security teams review the domain, data type, and approved usage period. A designated allowlist owner should then conduct regular reviews. When a project ends, a supplier changes, or an API is updated, approvals that no longer serve a purpose should be removed to prevent the authorized scope from continuing to expand.

If an AI Agent can only read data, does that eliminate the risk?

No. Read-only permissions can prevent direct data modification, but they cannot stop an AI Agent from reading more information than the task requires or sending data to an unapproved service. Enterprises must also restrict data visibility by role, block unapproved connections, and record the resources that are actually accessed.

Does an anomalous activity notification mean that a breach has occurred?

No. An anomaly notification is the starting point of an investigation. The enterprise must first identify the AI Agent, time period, user, credentials, accessed resources, and outcomes involved, then compare records from internal systems and third-party services. The impact of the event can only be determined after establishing whether the AI Agent actually connected to a resource, read data, or modified it.

References

30 minutes to map out which work to hand to AI first

Want every employee to have their own AI teammate?

A consultant will be in touch shortly.