- ServiceNow CTO Pat Casey disclosed that an internal security test last year successfully prompted an AI agent, built for routine HR requests, to alter employee salaries, exposing a permissions gap, not a model failure.
- The incident showed that an HR agent with read access to salary records can be manipulated into writing them: an AI agent’s security boundary is set entirely by what it is permitted to do, making least-privilege access the primary control.
During an internal security test last year, ServiceNow’s own team talked an AI agent into changing employee salaries. The agent had been built for routine HR requests. Pat Casey, ServiceNow’s CTO, disclosed the incident in a recent interview with Analytics India Magazine as a lesson in where AI governance actually breaks down: not in the model’s intent, but in what it was permitted to do.
Start With Consequences, Not Complexity
ServiceNow’s approach starts with business impact. Workflows that modify records, trigger financial decisions, or touch sensitive employee data carry higher risk than those that only retrieve information. An HR agent that can read PTO balances is different in kind from one that can write to compensation records, even if both sit on the same platform.
The practical starting point is an inventory: every AI workflow documented against the data it accesses, the tools it can invoke, and the downstream effects it can trigger. That inventory then gets tiered. A low-risk agent retrieves. A high-risk agent executes or modifies. Governance effort should be proportional to tier, with the most stringent controls reserved for agents that can alter financial or personnel records.
Least-Privilege Access in Practice
The salary incident turned on a single fact: the HR agent had access to a function that could write to the compensation database. It was not supposed to use that function, but nothing prevented it from doing so when prompted the right way.
Least-privilege access applies to AI agents exactly as it does to human users: grant only what is necessary for the designated task. For an HR agent answering PTO questions, that means read-only access to leave balances, with no write permissions to compensation records. Where a tool exposes multiple functions, the agent should be scoped to the specific approved calls, not the full API surface. AI agent incidents at scale consistently trace back to overly broad permissions rather than model failures. Regular audits of access policies matter here, particularly as agents acquire new tools or their scope expands.
Change Management for Agent Configs
An AI agent’s risk profile does not stay fixed. Prompt templates change, models are updated, tools are added, and permissions drift. Each of those changes can alter what the agent is capable of doing, sometimes in ways that are not immediately obvious.
Casey’s guidance treats changes to AI configurations with the same controls applied to production software: version control, documented testing, and formal approval before deployment. For agents built on frameworks like LangChain or CrewAI, that means managing changes to tool definitions and core instructions through a system of record, not ad hoc edits. Testing must go beyond routine scenarios. The ServiceNow security team found the salary vulnerability through deliberate adversarial testing, specifically by attempting prompt injection, that kind of red-teaming should be built into the change process, not treated as optional. Every change needs a named owner, a record of what was tested, and a documented outcome.
Approval Gates and Named Owners
Casey has been explicit that full automation is the wrong target for high-stakes workflows. Some decisions need a human in the loop before execution, not after the fact.
The design implication is direct: high-risk actions, direct database modifications, sensitive data transfers, financial transactions, should route through a human approval step even when an AI agent proposes them. That might mean an agent drafts an action and queues it for review rather than executing immediately. Each AI agent or automated workflow should also have a named responsible party, accountable for its performance, compliance, and incident response. When something goes wrong, that accountability structure determines how quickly it gets diagnosed. Without it, incidents surface late and escalate further than they should. Multi-agent deployments at enterprise scale are making this ownership question harder to ignore.
Monitoring and Fast Shutdown
Governance set at deployment and then left alone degrades quickly. Agent behaviour shifts as models are updated, new tools are connected, and usage patterns evolve. That means ongoing monitoring of what agents are doing, what they are accessing, and whether that matches their intended scope.
ServiceNow points to its AI Control Tower as the operational layer for this, covering discovery, access governance and anomaly detection across AI assets. The monitoring setup should include alerts for actions outside normal parameters, an HR agent attempting to query a financial database it has no business accessing, for example, and disablement mechanisms that allow rapid shutdown if an agent malfunctions or is actively being exploited. Monitor, audit, adapt. An agent operating within its intended scope today may not be tomorrow.


