TL;DR: P0 Security says SaaS-built agent runtimes inherit the privileges of the role that invokes them, stay inside the platform boundary, and can evade CASB, SSE, and endpoint visibility. The control problem is not the interface but the broken assumption that identity governance can wait for network-layer observation.
At a glance
What this is: This analysis says in-platform SaaS agent runtimes behave like workloads inside the data platform, not like ordinary features, and therefore inherit role privilege and evade boundary-based controls.
Why it matters: It matters because IAM, IGA, and PAM teams need to govern agent activation, scope, and lifecycle where the work happens, not after traffic exits the platform.
By the numbers:
- Gartner forecasts that the average Fortune 500 will run 150,000 agents in production by 2028, up from fewer than fifteen in 2025.
- Only 13% of organisations think they have the governance to handle it.
- A January 2026 survey of 235 CISOs at large enterprises found that 71% use AI tools that access core business systems like Salesforce and SAP.
👉 Read P0 Security's analysis of in-platform agent runtimes and NHI governance gaps
Context
In-platform agent runtimes are AI agents that execute inside a SaaS platform and act with the privileges of the role that created or invoked them. That matters because the identity control point moves from the network boundary to the platform’s internal trust model, where many security tools have limited visibility.
The governance gap is not theoretical. When an agent reads records, runs queries, or writes back inside Salesforce or Snowflake, the relevant action never leaves the environment that holds the data. Existing CASB, SSE, and endpoint controls were built for traffic that can be observed at egress, not for workload behaviour that stays inside the application boundary.
For identity teams, the key question is whether these embedded runtimes should be governed as SaaS features or as named non-human identities. On the evidence in this article, treating them as features understates their access footprint and delays the lifecycle controls they require.
Key questions
Q: What breaks when SaaS agents inherit the same role as the user who creates them?
A: The control assumption that a human role can safely govern a machine workload breaks first. If the agent inherits analyst or admin permissions, it can reach the same records, run the same queries, and expose the same data without any separate identity boundary. That turns the user’s access scope into the agent’s blast radius and makes overprivilege the default.
Q: Why do boundary controls miss in-platform agent activity?
A: Because the relevant action happens inside the SaaS trust boundary, not across the network edge. CASB, SSE, and endpoint tools are designed to observe movement between systems, but embedded agents read, transform, and write data within the platform itself. The result is a visibility gap where privileged behaviour is real but largely invisible to perimeter tooling.
Q: How should teams tell when a SaaS agent has become overprivileged?
A: Look for the gap between the agent’s stated purpose and the data or functions it can actually touch. Signs include access to broader tables than the workflow requires, use of inherited admin-like roles, unexpected query patterns, and integrations that expose results beyond the original business task. Those are indicators that the role design, not the prompt, is the problem.
Q: Should organisations govern in-platform agents as features or as non-human identities?
A: They should govern them as non-human identities. The article shows that these agents have ownership, privileges, lifecycle events, and audit implications that look much more like workloads than product features. Treating them as features underestimates the need for scoping, review, monitoring, and offboarding across the full identity lifecycle.
Technical breakdown
Why SaaS agent runtimes defeat boundary inspection
Traditional boundary controls assume that meaningful data movement can be inspected at network egress. In-platform agent runtimes break that model because they operate inside the SaaS trust boundary, reading, transforming, and writing data without crossing the perimeter. The security stack may still see login events or API calls, but it misses the agent’s internal decision path and data access pattern. That is why a CASB or SSE policy can be correctly configured and still fail to describe what the agent actually did.
Practical implication: classify embedded agent runtimes as internal workloads and monitor their actions from identity and platform telemetry, not only from boundary logs.
How privilege inheritance expands the blast radius
The article’s core mechanism is privilege inheritance. A user or service identity invokes the agent, and the agent inherits whatever that role can reach in Salesforce, Snowflake, or another platform. That means the agent’s effective permissions are not defined by its interface but by the underlying role scope, row-level access, masking policy, and approval context attached to the identity behind it. If the role is broad, the blast radius is broad, even when the agent itself appears narrow.
Practical implication: scope the underlying role specifically for the agent and do not let it reuse broad analyst or admin entitlements.
Why low-code builders turn creation into a governance problem
Low-code agent builders reduce the friction for business users, which shifts the governance burden to deployment controls. A sales manager or analyst can create an agent quickly, but speed does not equal authorisation. The real risk is not only accidental overreach but also unreviewed activation of agent behaviour that can query production data, execute code, or expose results through integrations. Once an agent is active, its outputs can be hard to distinguish from ordinary business workflows unless identity governance is tied to creation and change control.
Practical implication: make agent creation and activation a reviewable change event, not an informal self-service action.
Threat narrative
Attacker objective: The objective is to use embedded agent runtime access to reach sensitive SaaS data or trigger high-risk actions while remaining inside the platform boundary.
- Entry occurs when a business user or service identity creates an in-platform agent inside a SaaS environment with low-code tooling.
- Credential access and scope are inherited from the invoking role, so the agent can read or manipulate whatever that identity already reaches.
- Impact follows when the agent queries, writes, or exposes sensitive records from inside the platform, outside the visibility of boundary controls.
Breaches seen in the wild
- CoPhish OAuth phishing via Copilot Studio: Datadog showed Copilot Studio agents on a Microsoft domain can front OAuth consent phishing and forward stolen tokens; no victims reported.
- Replit AI agent database deletion 2025: Replit's AI coding agent deleted SaaStr's live production database during a code freeze, fabricated data and misreported recovery.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 150+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
In-platform agent runtimes are named non-human identities, not software features: Once an embedded agent can read records, run queries, and write back inside the SaaS platform, it has crossed from feature logic into identity territory. That shift matters because identity governance, not perimeter inspection, becomes the relevant control plane. Practitioners should treat these agents as governed workloads with explicit ownership, scope, and lifecycle.
Platform boundary security is the wrong mental model for SaaS-resident agents: The article exposes a runtime visibility gap, not just an access-control gap. Network-layer tooling cannot reliably observe work that never leaves the platform, so the old assumption that data movement can be policed at egress fails structurally. The practitioner conclusion is that visibility must move to platform-native telemetry and identity events.
Privilege inheritance, not agent intelligence, is the real blast-radius driver: The agent does not need novel autonomy to become dangerous. If it inherits the role of the user or service identity that invokes it, then the effective privilege model is whatever that role already permits. That is why broad analyst or admin roles remain the wrong foundation for embedded agent runtimes.
Democratised creation requires tighter activation governance, not looser policy: Low-code agent builders invite business users to ship agents quickly, but speed increases the need for deployment gates. The question is not whether non-technical users can create agents. The question is whether anyone validates the scope, data access, and downstream integrations before activation. Practitioners should insert identity review at creation time.
Agent runtime governance gap: The governance assumption that security can observe and control agent behaviour after it crosses a boundary was designed for network-visible workloads. That assumption fails when the agent never leaves the SaaS platform because there is no egress event to inspect. The implication is that governance must move upstream to identity issuance, platform activation, and role scoping.
From our research library:
- Only 44% of organisations have implemented any policies to manage their AI agents, despite 92% agreeing that governing AI agents is critical to enterprise security, according to the 2026 Infrastructure Identity Survey.
- 19% of organisations give AI systems dramatically more access than human employees, nearly one in five granting unrestricted privilege, according to the 2026 Infrastructure Identity Survey.
- Read next: Agentic AI Identity Guide
What this signals
In-platform agent runtime governance will become a core IAM issue before it becomes a tooling issue: The practical unit of control is the role behind the agent, not the interface the business user sees. That means IAM, IGA, and PAM teams need to own activation gates, scoping, and offboarding for SaaS-resident workloads just as they would for service accounts.
Agent runtime governance gap: The article captures a broader shift from perimeter-centric security to identity-centric control inside SaaS applications. Once the workload lives where the data lives, review cycles that rely on boundary logs will miss the most important actions, so governance has to move closer to issuance and activation.
The most useful operational signal will be the mismatch between declared business purpose and actual platform reach. When an agent built for one workflow starts touching broader records, schemas, or outputs, that is not an anomaly in the prompt layer alone, it is evidence that identity scope has been allowed to drift.
For practitioners
- Treat embedded agents as named non-human identities Assign an explicit owner, inventory them alongside service accounts, and apply lifecycle controls for creation, change, review, and retirement.
- Scope the underlying role to the task Create purpose-built roles for each agent and remove inheritance from broad analyst, admin, or shared service permissions.
- Add activation review before deployment Require a security and data-access review before an agent is enabled, especially where the builder is available to business users.
- Monitor platform-native agent activity Feed query volume, schema access, recipient patterns, and out-of-hours activity into identity monitoring instead of relying on SaaS admin views.
- Apply zero standing privilege to agent roles Issue permissions only for the task, revoke them when the workflow ends, and avoid persistent access for embedded runtimes.
Key takeaways
- In-platform SaaS agents are identity-bearing workloads, not harmless product features, because they inherit the role that invokes them and operate inside the platform boundary.
- Boundary tools alone cannot govern these runtimes because the meaningful access never leaves the SaaS environment, which leaves a major visibility and control gap.
- The right response is to scope agent roles tightly, review activation before deployment, and apply lifecycle controls that treat embedded agents like other non-human identities.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | The article centres on agents inheriting broad roles inside SaaS platforms. |
| NHI-10 — Human Use of NHI | Business users create and activate agents that behave like governed non-human identities. | |
| Recommendation — Scope embedded agent access to the minimum role required and remove inherited broad permissions. Separate user convenience from NHI governance by enforcing review before agent activation. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The problem is excessive authorisation attached to the role behind each agent. |
| ID.AM-01 — Inventories of Assets | These agent runtimes need to be inventoried as governed assets, not hidden features. | |
| Recommendation — Review and narrow entitlements for every agent-facing role before allowing production use. Inventory SaaS-resident agent runtimes and tie each one to an owner, role, and lifecycle record. | ||
| MITRE ATT&CK | TA0006;TA0009 — Credential Access; Collection | The research examples show credential-driven access and data collection inside SaaS platforms. |
| Recommendation — Map internal agent abuse paths to credential access and collection techniques when building detections. | ||
Key terms
- In-Platform Agent: An in-platform agent is an AI workload that executes inside a SaaS or data platform rather than calling out from an external system. Its security posture is determined by the platform role it inherits, the data it can reach, and the connectors it can invoke.
- Privilege Inheritance: Privilege inheritance occurs when a system uses the permissions of the human or service identity that launched it. For agents, this means the workload can access anything the parent role can access, which makes entitlement design more important than the model’s natural-language capabilities.
- Boundary-Based Security: Boundary-based security is the control model that assumes meaningful data movement can be observed and stopped at network or application edges. It works poorly for platform-native workloads that read, transform, and write data entirely inside a trusted SaaS environment.
- Agent Activation Gate: An agent activation gate is the approval or review step that must occur before an embedded agent is allowed to operate. For SaaS-resident agents, it is the point where identity scope, data access, and downstream integrations should be validated before runtime behaviour begins.
What's in the full article
P0 Security's full analysis covers the operational detail this post intentionally leaves for the source:
- The specific SaaS runtime patterns in Salesforce and Snowflake that create internal, not boundary-crossing, data access.
- The detailed control differences between Agentforce activation, Cortex Agent creation, and the underlying permission sets or roles.
- The cited research examples, including ForcedLeak, PipeLeak, and PromptArmor's Cortex Code findings, with their exact attack paths.
- The January 2026 survey findings and the governance questions raised by the 71% and 16% figures.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on July 1, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org