
Small and midsize organizations could be inadvertently making their systems ripe for attack. Many are moving from stand-alone AI tools to agentic integration without proper structure, leaving their systems vulnerable to misguided steps from legitimate AI agents.
Earlier this year, a contractor for the Department of Defense (DoD) connected an AI agent to a secure, centralized DoD system. The agent was connected simply to “write and deploy code,” but the access that contractor granted ultimately created major vulnerabilities within the DoD’s network and went undetected for two months.
If this can happen at the DoD, imagine a well-meaning small-enterprise sales team connecting an AI agent to their sales pipeline to pull together customer data. During that request, say the agent hits a permission error, and someone on the team grants it broad access just to “get it working.” That over-permission is exactly what attackers count on, and it can create unintended breaches by well-meaning agents.
Just as one sales employee would never hold the keys to every system in an enterprise, their agent shouldn’t either. As new privileged users, agents need the same zero-standing privilege and zero-trust rules that are applied to humans.
Unfortunately, the promise of broad agentic deployment delivering faster work and cost saving has put security as a secondary concern. IT teams now play a more important role than ever in setting up defenses and equipping the company for more secure agentic use. So what can they do?
IT teams aren’t equipped
Right now, most IT teams are under-tooled for the move from experimentation to daily agent work, and risk often creeps in at the gap between security infrastructure and speed. 52% of small and midsize businesses said they still manage privileged access with manual tools like spreadsheets, basic vaults or no formal system at all.
Despite this lack of proper tools and infrastructure, most enterprises are forging ahead with agentic deployment. Now, agents run across every machine, behave unpredictably and work around the clock. The risk has intensified, and so too has the need for updated security standards and permission rules.
Credential sprawl and over-permission
For both the DoD contractor and sales team, over-permission presented real risk, which is not a new concept. API keys, tokens and secrets were over-permissioned far before agents
arrived. They were assumed to be safe because automated workflows were predictable. The limited movement and access acted as a safety net.
AI agents, however, are non-deterministic, removing that predictability. In a 2025 SailPoint report of 353 IT professionals, 80% said their AI agents took unintended actions, and 23% said attackers tricked agents into revealing access credentials.
Credential sprawl, where credentials end up in environment variables, in config files and on local machines, has been a developer team’s headache for decades. Now every new agent, integration and workflow granted access widens the opportunity for this.
As agents were first being rolled out, it was common to give full credentials across many systems to get your agent working quickly. That privileged access is often what attackers want most, and it speeds up their access. Before agents, when someone had privileged access to one system, it could easily become a relay to others within an organization. Now with AI, that relay is practically instant.
In a recent case, an AI agent went from discovering application credentials to stealing Azure Key Vault data in just five minutes. Microsoft Threat Intelligence warned that attackers are increasingly using this approach.
A deadly mix
This combination of credential sprawl and over-permissions is the perfect storm. The full scenario could go like this: An agent requests to pull together customer data, holding a long-lived credential with sweeping access stored in a plain-text file. If that file leaks, an attacker using the kind of AI tooling Microsoft warned about could get into the CRM, access the customer data and sell it on the dark web within minutes.
Agents should ask for access, not hold it
Especially in small to midsize companies, managing agents the way you manage people could help. The agent requests access; the user grants it and revokes it once the project is done.
This does not have to be time-consuming. The agent should find systems it might need on its own, request access only to those systems and state why it needs the access. A person then grants it only for that action.
An IT team can write policies for certain scenarios, but time-gating agent access helps too. Wherever possible, credentials should be injected at runtime, so they never appear in the agent’s conversation, log or transcript.
The industry’s plan
Earlier this year, the FIDO Alliance launched its Agentic Authentication Technical Working Group to develop interoperable standards for agentic interactions and commerce.
It stated that today’s authentication and authorization models assume a human is at the keyboard, so agents can gain access without a reliable way to verify what users actually approved.
In September, the National Institute of Standards and Technology (NIST) and Cybersecurity and Infrastructure Security Agency (CISA) finalized IR 8587 guidance on protecting identity and access tokens from forgery, theft and misuse. The guidance became a proof point that short-lived, well-protected tokens are becoming the baseline. And a month later, NIST published 10 proposed design tenets for the identity, authentication and authorization of AI agents.
In working groups, however, debate still centers on questions around agents proving identity, verifying intent, who approved requests and how long access lasts and is revoked. But the direction is clear that agents should request access rather than hold it.
What to do even without tooling
The script is that organizations should take inventory of where agent credentials live today, cut agent permissions to the least privilege, move credentials out of files and environment variables into a vault, and require a person to approve high-impact actions. Teams should also give each autonomous agent its own identity and a named owner and never grant them access to a shared service account.
With these guardrails, IT teams can deploy agents more broadly with confidence. As the industry agrees that standing admin rights will soon look like passwords on sticky notes today, the safest move is to treat agent access the same way you would a person’s access, with one task, one request and one approval at a time.
Join our LinkedIn group Information Security Community!











