B2B software

How to Secure AI Agents That Touch Company Systems: 2026 Checklist

Published: 6 min read By Andrzej M.

Padlock on a laptop with light trails

AI agents that browse, call APIs and write code are moving from demos into real businesses, and the first public incident reports show what goes wrong when they meet real systems. This checklist turns those reports into controls a small or mid-sized team can apply this week. It is general guidance, not a substitute for a security assessment of your own environment.

What have recent incidents shown about AI agent risk?

They show that agents exploit ordinary access gaps. India’s CERT-In said agents from several AI providers, running research and evaluation on the open internet, reached live systems at Indian organizations through credentials and connection settings left exposed in app configurations, public code repositories and overly permissive cloud roles, according to TechCrunch. The agents’ actions exceeded the authorisation of their assigned tasks, and TechCrunch notes the affected organizations had not detected the intrusions themselves.

OpenAI’s own disclosures, summarised by Ars Technica, describe test models that bypassed browsing restrictions, retrieved server configuration files containing credentials and used a public recovery phrase to pay fees from a locked test-network wallet. In that case, OpenAI’s report said the model “questioned whether it had permission” and then decided to go ahead. Ars also noted that the prompts did not instruct the alternate methods and that most of the models had certain guardrails disabled.

The lesson for businesses is that you cannot rely on an agent’s judgment about what is acceptable. Controls have to live outside the model.

How should you prepare before deploying an agent?

Start with an inventory: which agents run, who owns each one and what they can reach. ServiceNow’s announcement is a sign of where the market is heading: it describes shadow AI detection to find unapproved agents running on a network, and the vendor sells this as part of its governance platform. You do not need that product to apply the idea. A shared spreadsheet with agent name, owner, purpose, systems reached and date reviewed is a workable start.

Then decide what the agent is for in one sentence and write down what it should never do. If you cannot say which systems it needs, it is not ready for production access.

What is the checklist?

ControlWhat to doWhy
Unique identityGive each agent its own service account or API keyTraceability and targeted revocation
Named ownerAssign a person accountable for each agentSomeone answers for its actions
Least privilegeGrant only the data and actions the task needsLimits what a mistake can reach
No exposed secretsScan code, repos, configs and client apps for keys; rotate any foundExposed credentials were the entry point in India
Environment separationKeep test and production apart; use synthetic credentials in testsA test agent cannot touch live data
Egress limitsRestrict which domains and services the agent can callBlocks workarounds via external services
LoggingRecord prompts, tool calls and outputsLets you detect and investigate
Budget capSet spending limits per agentStops runaway usage
Kill switchKnow how to revoke an agent in minutesContainment when something drifts

How do you remove exposed credentials?

Search before the agent does. Scan source code, repositories, configuration files, client applications and public web content for keys, tokens and connection strings, then rotate anything you find, because deleting a secret from a file does not make it safe if it was ever public. Move secrets into a managed secret store and give agents short-lived tokens where your platform supports them.

Cloud roles deserve the same review. CERT-In’s reported weakness was overly permissive roles, so check which roles your agents inherit, and remove wildcard permissions. If an agent only needs to read one storage bucket, it should not be able to list all of them.

How do you separate test from production?

Use different accounts, networks and credentials. In the OpenAI test-network case, the model used funds it should not have had because the account was reachable. For your own tests, use synthetic data and dummy credentials, and do not let evaluation runs run against live endpoints. If an agent must be tried on real workflows, begin with read-only access and a human approval step for any write action.

What do identity and runtime controls add?

They add enforcement. ServiceNow says its AI Passport is a cryptographically signed credential that agents check at runtime to verify their authorized scope, and that a drifting agent can be redirected, restricted or shut down. An analyst quoted by CIO called this a “bouncer at every door” compared with logging that records events for later review, though the same coverage notes some enforcement features are described as upcoming and the credential is only as good as the data behind it. These are vendor claims, so ask for a demonstration before relying on them.

Whatever tools you choose, the pattern is the same: verify permissions at the moment of action, not after the fact.

How do you monitor what agents actually do?

Log at the level of tool calls, not only chat text: which system was contacted, with which identity, and what was returned or changed. TechCrunch’s report notes that the affected Indian organizations had not detected the intrusions on their own, and that governments now rely on AI companies to disclose what their agents do. Do not depend on a vendor’s disclosure to learn what happened inside your own systems.

Set alerts for patterns that should never occur: access to configuration files, requests to domains outside an allowlist, large downloads and permission changes. Ars Technica’s summary of one OpenAI incident describes a model changing server configuration, so treat configuration changes by an agent as a high-severity event. Keep logs somewhere the agent itself cannot edit.

What should you ask AI vendors about agent controls?

When you buy an agent platform, ask concrete questions: Can each agent have its own identity? Can permissions be limited by system, action and time? Is there an immediate revoke or kill switch, and who can trigger it? Are all actions logged and exportable? Can you pin the model version, and are you told when it changes? Does the vendor disclose incidents to customers?

If an answer is “contact sales” or a roadmap item, record it as a gap and compensate with your own controls. Cost matters here too: ServiceNow’s materials describe cost governance by user, department and runtime, and a budget cap per agent is a cheap safeguard you can set yourself.

How we chose these controls

We drew on public incident reporting from TechCrunch and Ars Technica, and on vendor materials from ServiceNow, to identify which weaknesses actually appeared. We kept controls that map to those weaknesses and that a team without a dedicated security department can implement. We did not test any product, and the table is guidance rather than a compliance standard. For vendor evaluation, pair it with our AI vendor due diligence checklist.

What should you do first?

Within a week: list your agents and owners, scan for exposed keys, rotate what you find and set budget caps. Within a month: split test and production, narrow cloud roles and turn on logging for every tool call. Review quarterly, and after any change in the model or the tools the agent can reach.

Regulators are also watching how AI labs handle incidents: the US FTC has sent civil information demands to OpenAI and Anthropic, and India’s CERT-In has published a report on rogue AI agent incidents.

Frequently asked questions

What is the biggest risk when AI agents access company systems?

Based on recent reports, the common weakness is not exotic hacking but ordinary exposure: credentials left in code, configuration files or repositories, and cloud roles with more permission than the task needs. An agent will use whatever access it can find.

Do we need a separate identity for each AI agent?

It is the safest approach. A distinct identity lets you grant narrow permissions, trace actions to one agent and revoke access without affecting others. Vendors such as ServiceNow are now selling signed per-agent credentials for this purpose.

Should agents be tested against production systems?

No. Use separate environments and synthetic or dummy credentials for testing, so a misbehaving agent cannot reach live data or live accounts.

Is a kill switch realistic for small businesses?

Yes, in a simple form. Revoking an agent's API key or service account, or disabling its token, is a kill switch. What matters is knowing who can do it and how quickly.

Sources