Your AI Agent Inherits the Access Model Nobody Audited

Part 6 of the Clean Data for AI series.

The integration user has System Administrator access because it was easier. Your AI agent just inherited that decision.

Salesforce Summer '26 changed the default. Apex saved at API version 67.0 enforces sharing rules and field-level security unless the code says otherwise. Organizations that depended on system-mode access to bypass security are finding out how much their code assumed nobody was checking.

This matters for AI. Every Agentforce agent operates within a permission context, and if that context is too broad, the agent can surface salary data, health information, donation history, or internal notes in a response nobody expected.

The Summer '26 security changes

Three changes matter for AI governance, and all three arrive when a class moves to API version 67.0:

  1. Database operations in Apex default to user mode, so field-level security and object permissions that system mode used to bypass are now enforced.

  2. Apex classes without an explicit sharing declaration default to with sharing, reversing the old implicit bypass.

  3. WITH SECURITY_ENFORCED is gone. A class that still uses it won't compile; use WITH USER_MODE, or WITH SYSTEM_MODE where a query genuinely needs system access.

For AI agents, the running user's permissions now decide what the agent can see and do, unless the code explicitly opts into system mode. Organizations that gave the integration user or agent user System Administrator access are about to find out what that means in practice.

Close view of stacked beige panels on navy, each marked with rows of keyholes and dots

The data classification exercise

Step 1: Inventory your fields. Export the field list for your four most-used objects (Contact, Account, Opportunity, and one custom object). Include field name, data type, and description.

Step 2: Classify each field. Assign every field a sensitivity level:

  • Public: safe for anyone to see (company name, public phone number)

  • Internal: fine for employees but not external users (internal notes, case comments)

  • Confidential: restricted to specific roles (salary data, performance reviews)

  • Restricted: the highest sensitivity, with limited access required (health information, Social Security numbers, donor giving history)

Step 3: Compare against current FLS. Pull the field-level security settings for the integration user profile and the agent user profile. Any field classified as Confidential or Restricted that's visible to those profiles is a gap.

Here's a synthetic example. Forty fields across four objects: six classified as Confidential, two as Restricted. The integration user profile has read access to all 40. The agent user profile, cloned from the integration user profile, also reads all 40. Both can see salary data, health notes, and donor giving history, and nobody has reviewed it since the initial configuration.

What Salesforce should prevent

Field-level security aligned to classification. For every Confidential or Restricted field, remove read access from the integration user and agent user profiles. Grant access only through permission sets assigned to the specific users who need it.

A dedicated permission set for the agent user. Grant the minimum field access the agent needs. Don't clone from System Administrator; build from scratch and add only the fields the agent needs for its defined tasks.

Sharing rules that restrict record visibility. If the org-wide default is Public Read/Write on sensitive objects, the agent user can see every record. Tighten org-wide defaults and grant access by role with sharing rules.

Human review for sensitive outputs. When an AI-generated output touches Confidential or Restricted data, a person reviews it before it's delivered. It's a process design, not a feature request. The agent drafts, a human reviews, and only then does the output reach the recipient.

The regulatory context

The EU AI Act's high-risk requirements were originally due August 2, 2026. The Digital Omnibus on AI, in force since July 27, 2026, moved that to December 2, 2027 for stand-alone high-risk systems and August 2, 2028 for AI built into regulated products. The obligations themselves haven't changed. If an AI use in your org falls into a high-risk category, such as hiring, credit decisions, or access to essential services, human oversight and data governance become legal requirements on that timeline.

On the framework side, UC Berkeley's Center for Long-Term Cybersecurity published an Agentic AI Risk-Management Standards Profile in February 2026. It isn't a NIST publication, but it's built around the NIST AI RMF's Govern, Map, Measure, and Manage functions and applies them to autonomous agents.

In August 2026, Salesforce's Agentforce 360 received Department of Defense Impact Level 5 authorization, which lets agents work with Controlled Unclassified Information and unclassified national security data. Defense agencies classify data before agents touch it. Commercial organizations can borrow the same habit.

The governance decision

Who classifies fields? Who audits access every quarter? Who reviews AI-generated outputs that touch sensitive data? Who decides whether an agent can operate without human review?

These are architectural decisions with organizational consequences, and they can't be handed to whichever admin happened to configure the integration.

What to do this week

Pick one sensitive object and find the gap first. Export its field list, classify each field by sensitivity, pull the FLS settings for the integration user profile, and mark every Confidential or Restricted field that profile can read.

Then make one decision: does the agent user profile need to be rebuilt from scratch?

Frequently asked questions

What changed in Apex security in Salesforce Summer '26?

Apex saved at API version 67.0 runs database operations in user mode by default, classes without a sharing declaration default to with sharing, and WITH SECURITY_ENFORCED no longer compiles. Use WITH USER_MODE or WITH SYSTEM_MODE instead.

How do you audit what an AI agent can see in Salesforce?

Classify the fields on your most-used objects as public, internal, confidential, or restricted. Then compare that list against field-level security on the integration user and agent user profiles. Any confidential or restricted field those profiles can read is a gap.

When do the EU AI Act high-risk rules apply?

The Digital Omnibus on AI, in force since July 27, 2026, moved stand-alone high-risk obligations to December 2, 2027 and AI built into regulated products to August 2, 2028.

Related CCC resources

Last updated: October 23, 2026. If you find an error, contact contact@clearconciseconsulting.com.

Previous
Previous

Headless 360 Hidden Costs for Nonprofits: What to Ask Before You Build

Next
Next

Placeholder Values Are the Data Quality Problem Nobody Measures