Back to all lessons
Awareness Lessons
4 weeks ago

Salesforce Agentforce Chained Features Expose Sensitive Data Through Inherited Agent Permissions

Written by AI from the linked story. Not reviewed by an editor. How this works

The root cause of this vulnerability lies in how Salesforce's Agentforce inherits permissions and data access from connected intake flows like Email-to-Case and Web-to-Case, without applying the governance controls originally designed for those individual components. When features are chained together, the combined data context passed to the AI agent's prompt can include sensitive information that was never intended to be surfaced at that level. This matters because AI agents operating with over-permissioned or poorly scoped data access can inadvertently expose customer records, case details, or other sensitive content to unauthorized parties. Organizations often assume that governance built for traditional software components automatically extends to AI-integrated workflows, which is a dangerous misconception as agentic systems introduce entirely new data flow paths that must be explicitly governed.

Tactical Insight

Immediate actions

  • Audit all existing Agentforce flows that chain Email-to-Case or Web-to-Case to identify what data is being passed into agent prompts.
  • Apply the principle of least privilege to agent configurations by explicitly scoping which fields and objects each agent is permitted to access.
  • Temporarily restrict AI agent access to sensitive case data until flow-level data minimization controls are validated.

Long-term improvements

  • Establish a formal review process for any new AI agent workflow that chains multiple Salesforce features, treating each integration as a new attack surface.
  • Implement data classification policies that explicitly define which data categories may be included in AI agent prompts.
  • Develop and enforce AI-specific governance policies that sit alongside (and do not merely inherit from) existing software governance frameworks.

Detection measures

  • Enable detailed logging of all data fields passed into Agentforce prompts to detect unexpected sensitive data exposure.
  • Set up alerting for anomalous agent query patterns that may indicate unintended data access via chained flows.
  • Conduct periodic red-team exercises specifically targeting AI agent prompt injection and data leakage scenarios.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.