Runtime Governance Series
Is the Einstein Trust Layer Enough? Agentforce Security After ForcedLeak
ForcedLeak showed a web form steering an Agentforce agent to send CRM data out. See what the Trust Layer covers and where per-action governance fits.
Published on


Is the Einstein Trust Layer Enough? Agentforce Security After ForcedLeak
ForcedLeak showed how an Agentforce agent can follow instructions hidden in ordinary CRM data. The useful question for security teams is where each agent action gets decided.
By Tahir Mahmood, Co-founder & CTO, OpenBox ยท Last updated November 24, 2026
In brief: ForcedLeak was a prompt-injection chain in Salesforce Agentforce, disclosed by Noma Security in September 2025, in which a researcherโs demonstration made an agent send CRM data to an attacker-controlled URL. Salesforce has fixed it, and the sources reviewed report no real-world exploitation. The Einstein Trust Layer documentation describes controls on the prompt and response path. A runtime governance layer, such as OpenBox, an AI agent security and governance platform, decides each agent action before it runs. |
What was the ForcedLeak vulnerability, and has it been fixed?
ForcedLeak is a critical prompt-injection chain in Salesforce Agentforce that Noma Security scored CVSS 9.4 and disclosed on September 25, 2025. In Nomaโs demonstration, instructions hidden in a Web-to-Lead field led an agent to send CRM data to an attacker-controlled URL. Salesforce says it has released patches. The sources reviewed report no real-world exploitation.
Nomaโs write-up describes the chain in three stages. An attacker places instructions in the Description field of a Web-to-Lead form, which Noma found accepts up to 42,000 characters. The form data is stored in the CRM like any other lead. When an employee later asks Agentforce to handle that lead, the agent retrieves the stored data and runs the hidden instructions alongside the request.
The instructions told the agent to include an image whose URL pointed at a domain that was still whitelisted but had expired. Nomaโs researchers bought the domain for $5, so the image request carried CRM data to a server they controlled. Noma presents the work as a proof of concept.
Noma reported the issue to Salesforce on July 28, 2025, and Salesforce acknowledged it on July 31. Salesforceโs release notes say Trusted URL allowlist enforcement for Agentforce applies from September 8, 2025. Noma disclosed publicly on September 25 and says Salesforce also re-secured the expired domain.
The 9.4 score is Nomaโs own assessment. The Register and The Hacker News both report it, and The Register reports that Noma used CVSS version 4.0. Nomaโs write-up cites no CVE identifier. Salesforce told The Register that its patches prevent output in Agentforce agents from being sent to untrusted URLs, but it declined to say whether the flaw was abused.
Does the Einstein Trust Layer stop attacks like ForcedLeak?
The pages reviewed do not describe the Trust Layer deciding, action by action, what an agent may write or send. Salesforce fixed ForcedLeak with Trusted URL enforcement, a separate control. Salesforce Help describes the Trust Layer as services on the path a prompt takes to the model and a response takes back: secure data retrieval, prompt defense, and zero data retention.
Salesforceโs Trust and Agentforce page adds toxicity detection and audit.
The Trust Layer documentation notes that โEinstein Trust Layer capabilities apply only to generative AI and Agentforce features.โ That sentence sets the scope, and Agentforce is inside it. Another Help page says data masking for LLMs is disabled for agents and gives the accuracy and relevance of the agentโs response as the reason.
Salesforce documents other agent controls too. Its Help pages say agents respect standard Salesforce access controls, including licenses, permissions, and field-level security. Salesforceโs allowlist notice describes the Trusted URL allowlist as a defense-in-depth control against sensitive data escaping customer systems. A Salesforce blog describes Transaction Security Policies as rules enforced in real time, and gives an example that blocks a request when an agent queries an unusually large dataset.
This article does not argue that the Trust Layer failed or that Salesforce is insecure, and ForcedLeak was patched. The argument is the authorโs own and narrower. Allowlists, access controls and monitoring each answer a specific question. A decision made on every governed agent action, with approval and signed evidence, is a distinct control class, runtime governance (defined below), that teams may want in addition.
OpenBox has argued that policies enforced where agents act hold regardless of which model produced the request, for actions that pass through the enforcement point.
Why over-permissioned Agentforce agents create a runtime gap
An agent can hold legitimate access and still take an action nobody intended. In ForcedLeak, the injected instructions sat inside lead data the agent was allowed to read. Access controls answer whether the agent may read a record. They do not answer whether this read, followed by this outbound request, should happen. That is the authorโs analysis of the ForcedLeak sequence.
Noma says the model could not distinguish legitimate data in its context from malicious instructions. Reading a lead, querying the CRM and requesting an image are each actions an Agentforce agent can perform, so the sequence is what matters. OpenBox has written about the difference between what an agent can do and what it has been authorized to do.
The author separates two risks for clarity. Permission risk is what an agent can touch. Behavioral risk is the sequence of actions it performs with that access. OpenBox has argued that prompt injection cannot be eliminated at the model layer, and that runtime policy enforcement is needed to control what agents do with untrusted input. It has also written about SearchLeak, a one-click data exfiltration case involving Microsoft 365 Copilot Enterprise Search.
How does runtime governance work for Agentforce actions?
Runtime governance evaluates each agent action before it runs and returns a decision. In this article, runtime governance means four things: re-check access at the moment of the action, decide before the write happens, fail closed if a check cannot complete, and keep signed evidence. The four-part definition is the authorโs framing, not a standard.
OpenBox (docs.openbox.ai) documents an authorization pipeline in three layers. Guardrails validate and transform data. Policies (OPA/Rego) make stateless permission checks on a single operation. Behavioral Rules are stateful and detect multi-step patterns across a session, for example PII access followed by an external API call without approval. OpenBox has also written about chains of individually approved steps passing per-action checks, the case sequence-aware rules target.
OpenBox returns one of five governance decisions. Per the OpenBox Temporal announcement, ALLOW lets the action run, CONSTRAIN runs it inside a sandbox, REQUIRE_APPROVAL pauses it for a human, BLOCK stops the action, and HALT stops the whole workflow. The OpenBox documentation describes BLOCK as rejecting the action while the agent continues, and HALT as terminating the entire agent session. OpenBox has also framed these stops as rungs on a kill-switch ladder.
The table is the authorโs illustration of how the decisions could apply to an Agentforce lead workflow. It describes a control category. It is not a claim that OpenBox detected or would have prevented ForcedLeak, which Salesforce has fixed.
Decision | What it does (OpenBox) | Illustrative use (authorโs framing) |
ALLOW | Lets the action run. | A routine read of the leadโs own record, after access is re-checked. |
CONSTRAIN | Runs the action inside a sandbox. | A sensitive read, such as a bulk read of contact records. |
REQUIRE_APPROVAL | Pauses the action for a human. | A sensitive read or an outbound message that a reviewer should see first. |
BLOCK | Stops the action. | A write that sends CRM fields to a domain that is not on the approved list. |
HALT | Stops the whole workflow. | A session that repeats reads and then attempts an external send. |
OpenBox (docs.openbox.ai) says it produces tamper-proof evidence for every governance session: each sessionโs events are hashed into a Merkle tree and signed, creating a proof certificate. Tamper-proof evidence shows a record was not altered after the fact. It does not show the decision was right, which is why the author treats the decision layer and the evidence layer as separate jobs. OpenBox has argued that logs record harm after it occurs, so agents need enforcement that acts first.
The OpenBox for Agentforce page describes permissions re-checked on every write, a default of failing closed, and a record of every decision.
What can Salesforce teams do now?
Start with the controls Salesforce documents, then decide whether a runtime layer fits your risk. The steps below combine Salesforce guidance, Nomaโs recommendations and the authorโs own view, and each is labeled.
โข Audit Trusted URLs in Setup. Salesforce advises defining the specific domains your agents need rather than re-adding a wildcard. The same notice says the *.salesforce.com wildcard would be removed from the default configuration effective February 28, 2026.
โข Audit existing lead data. Noma recommends checking for suspicious submissions with unusual instructions or formatting.
โข Validate user-controlled fields. Noma recommends strict input validation and prompt-injection detection on them.
โข Keep agent access narrow. Agents respect standard Salesforce access controls, so licenses, permissions and field-level security limit what they can read. Least privilege is the authorโs recommendation.
โข Add per-action governance where an agent can write or send data. This is the authorโs recommendation. OpenBox for Agentforce offers a sandbox trial and a design-partner route.
ForcedLeak is patched. The pattern it demonstrated is a reason to ask where each agent action gets decided, not a reason to stop using agents. For the wider model, see What Is AI Agent Governance? The Complete Enterprise Guide and the Trust Lifecycle documentation.
FAQ
What is the ForcedLeak vulnerability?
ForcedLeak is a critical indirect prompt-injection chain in Salesforce Agentforce, disclosed by Noma Security on September 25, 2025, and scored CVSS 9.4 by Noma. In Nomaโs demonstration, instructions hidden in a Web-to-Lead field could make an agent send CRM data to an attacker-controlled URL. Salesforce says it has released patches.
Did the Einstein Trust Layer stop ForcedLeak?
Salesforce Help describes the Trust Layer as services on the prompt and response path, such as secure data retrieval, prompt defense, and audit. Salesforceโs fix for ForcedLeak was Trusted URL enforcement, a separate control. This article does not claim the Trust Layer failed, and the pages reviewed do not say it was changed.
Has ForcedLeak been fixed?
Yes, according to Salesforce. Salesforce told The Register it has released patches that prevent output in Agentforce agents from being sent to untrusted URLs, and Salesforceโs release notes say Trusted URL allowlist enforcement applies from September 8, 2025. The sources reviewed report no real-world exploitation; Salesforce declined to say whether the flaw was abused.
How do you govern Agentforce actions at runtime?
By evaluating each action before it runs and returning a decision. OpenBox returns one of five: ALLOW, CONSTRAIN, REQUIRE_APPROVAL, BLOCK, or HALT. The OpenBox for Agentforce page describes permissions re-checked on every write and a record of every decision, and OpenBox documents signed session evidence for audit.
About the author. Tahir Mahmood is a co-founder of OpenBox. OpenBoxโs About page credits him as the sole inventor on over 40 patents. Connect on LinkedIn.

