Prompt Mines Show Why CRM Agents Need Write-Action Gates
Zenity's Prompt Mines research shows how attacker-created Salesforce (a CRM platform) cases can sit quietly in Einstein (Salesforce's AI assistant layer for CRM workflows) context until a normal follow-up question activates them. The key control is not only prompt filtering; CRM write actions such as UpdateCustomerContact need request-scoped authority, independent validation, and recovery-ready data integrity controls.
Threat Analysis
- The attacker writes into a legitimate CRM intake path. Email-to-Case or Web-to-Case lets external users create support cases that may later be retrieved by Einstein.
- The payload is delayed. The malicious text is split across several cases to work around field limits, then waits until a user asks a common follow-up question.
- The injection may be invisible to the employee. Zenity notes that Einstein can include a malicious record in context even when the UI only renders the first few cases.
- The harmful step is a write action. The prompt mine instructs Einstein to query contact IDs and repeatedly invoke
UpdateCustomerContact, corrupting customer contact records. - Recovery matters because the data is changed. Defenders need to know which records were touched, restore trusted values, and close the action-authorization gap before re-enabling write autonomy.
Applicable AIDEFEND Defenses (9)
UpdateCustomerContact runs.UpdateCustomerContact tool calls, so recovery cannot stop at restoring the contact table from a snapshot. External side-effect reconciliation reconciles the incident-scoped set of agent-issued CRM writes against authoritative record state and idempotently reverses, compensates, or explicitly dispositions each unintended change.What Defenders Should Do Now
- Inventory every Einstein or Agentforce action that can write, update, delete, export, or send CRM data.
- Bind each action to an authority envelope. Reading cases and explaining a case should be separate from modifying contacts.
- Require independent validation and step-up approval for bulk updates or repeated writes, even when the model says the action follows company policy.
- Scan case fields that enter AI context for prompt-mine patterns, cross-record delimiters, hidden policy language, and delayed trigger wording.
- Keep CRM restore evidence ready: record-level change history, trusted snapshots, and a tested script for rolling back corrupted fields.
Conclusion
Prompt Mines are a good reminder that agent defenses have to sit at the point of action. The payload can be subtle, delayed, and hidden from the user, but the dangerous operation is concrete: a CRM write tool is about to change records. That is where scope, policy, validation, monitoring, and recovery need to converge.
Last updated: