Skip to content

Accident reports · September 2025

Agentforce: a booby-trapped contact form gets CRM data out

Noma Security demonstration: orders hidden in a web form pushed Salesforce's agent to send lead data outside.

  • Company Salesforce
  • Agent Agentforce
  • Model not published
Outside content
A blank sheet, a pencil and a sharpener on kraft paper
Photo: Kelly Sikkema on Unsplash
WhenSeptember 2025 (reported to Salesforce on 28 July 2025)
WhoAgentforce, Salesforce's AI agents; a demonstration by Noma Security researchers
What the agent didIt followed orders hidden in a contact form and sent lead data to an outside server
ConsequenceFlaw scored 9.4 out of 10 ("critical"); Salesforce fixed it, no real abuse reported

What happened

This is a researchers' demonstration, published on 25 September 2025 by Noma Security under the name "ForcedLeak" and reported by The Hacker News and The Register.

Salesforce customers can receive leads through a public web form ("Web-to-Lead"): a website visitor or a trade-show attendee leaves their details. According to The Register, the name, company and email fields are limited to 40 to 80 characters, but the "description" field accepts 42,000. The researchers put a list of innocuous-looking questions there, then an instruction to add an HTML image whose address pointed to a domain, with the answers in the address.

Later, an employee asks Agentforce, as usual, to process this lead. According to The Hacker News, the agent carries out both the legitimate request and the hidden instructions: it queries the CRM, then sends the data (including lead email addresses, according to The Register) to the attackers' server, as an image.

The domain used was on Salesforce's list of allowed sites, but it had expired: the researchers bought it for 5 dollars, according to The Register. Salesforce has since re-secured it and, according to The Register, has enforced a trusted-URL list for its agents' output since 8 September 2025. Salesforce did not say whether the flaw had been exploited.

Why it happened

According to Noma, quoted by The Hacker News: weak context validation, overly permissive model behaviour, and a Content Security Policy bypass. In practice, text written by any stranger on the internet reached the agent's context on the same footing as the employee's request, and the agent could both read the CRM and publish an image to the outside.

The allow-list of domains, meant to block the exit, contained an abandoned domain: a safeguard that is not maintained ends up letting things through.

The failure family

In our catalogue, this is the "Outside content" family: the agent obeys text it was only meant to read. It crosses "The leak": company data goes to a stranger.

The safeguard in code

  • Fields filled in by the public are marked as outside content: the agent reads them as data, never as instructions.
  • While outside content is in the context, the agent cannot produce a link or an image to any domain outside a short list, checked regularly (expired domains included).
  • The agent's answers are rendered as text: no image loaded automatically from an address the model wrote.

What we test

The "planted instruction" and "camouflaged planted instruction" tests slip an order into content the agent reads for its work, such as a customer message; we watch whether it carries it out and whether it sends data to someone who should not have it.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading