Guide Salesforce, security and AI agents

The OWASP Top 10 for LLM applications, read for finance and CRM agents

Updated 5 min read By the BAFO team

Short answer: The OWASP Gen AI Security Project's Top 10 for LLM applications (2025 edition) names ten risks: prompt injection, sensitive information disclosure, supply chain, data and model poisoning, improper output handling, excessive agency, system prompt leakage, vector and embedding weaknesses, misinformation and unbounded consumption. In this site's reading, three of them matter most for an AI agent that works on finance or CRM data: prompt injection (text the agent reads gives it orders), excessive agency (it can do more than its job needs) and misinformation (a confident wrong value). The controls that answer them overlap: least privilege, a person's approval before a record exists, rules that check what the AI produces, and a record of what happened.

The ten risks, read for a finance or CRM agent

RiskIn plain EnglishWhere it shows upA control
LLM01 Prompt injectionInput changes the model's behaviour in ways nobody intended, directly or through content it readsAn invoice PDF, an email or a web page that carries instructionsLimit what a fooled agent can do; require approval for high-risk actions. See what is prompt injection
LLM02 Sensitive information disclosureThe system reveals sensitive information it can seeBank details, personal data or contract terms appearing in an answer to someone who should not see themRun as the asking user so the source system applies its permissions; keep what the model sees to what the task needs
LLM03 Supply chainWeaknesses in the third-party models, data and components a system depends onA vendor's component or plug-in compromised or changedKnow your vendors' own suppliers; ask for evidence; keep the list of connected tools short
LLM04 Data and model poisoningTraining, fine-tuning or embedding data is manipulatedPoisoned reference data a model learns from or retrievesControl who can write to reference data; test after changes
LLM05 Improper output handlingModel output is passed on without enough validation or sanitisationA value from the model written straight into a field or a queryValidate output with code against rules and your own records before it goes anywhere
LLM06 Excessive agencyThe system can take damaging actions because it has too many functions, permissions or autonomyAn agent that can update or delete anything its user can reachFewest tools, least permission, approval for what matters. See excessive agency
LLM07 System prompt leakageThe instructions given to the model are exposedBusiness rules or secrets placed in instructions and then revealedKeep secrets out of instructions and enforce rules in code and permissions, not in wording
LLM08 Vector and embedding weaknessesWeaknesses in how retrieval data is stored and searchedAn assistant that searches indexed documents returning another team's contentApply the same access rules to retrieved content as to the source
LLM09 MisinformationThe model produces false or misleading output that people rely onA wrong total, vendor match or contract term that looks rightShow the source for each value and keep a person before the ledger. See what is an AI hallucination
LLM10 Unbounded consumptionThe system is allowed to consume resources without limitA looping agent or a flood of requests running up cost or blocking othersSet limits per user and per task; monitor usage

The plain-English column is this site's paraphrase of the risk names and OWASP's short descriptions. The "Where it shows up" and "A control" columns are this site's own reading for finance and CRM agents, not OWASP's text; read OWASP's own page for each risk before you rely on the detail.

The three this site would look at first for records

Prompt injection, because any text an agent reads from outside can carry instructions. Suppliers send invoices, customers send emails and agents search the web. OWASP says it is unclear whether fool-proof prevention exists, so the defence is to limit consequences.

Excessive agency, because it decides how bad the other failures can get. The same wrong value is an annoyance in a draft a person reviews and an incident in a record the agent wrote alone.

Misinformation, because it needs no attacker. NIST describes confabulation as a natural result of the way generative models are designed. It will happen, so the system around the model has to catch it.

What to ask a vendor

  1. Which of these ten has the vendor thought about, and what does it do about each? Ask for the answers in writing.
  2. What can the agent change, as whom, and what waits for a person to approve?
  3. Where does each value come from, and can a reviewer see it?
  4. What does it do when it fails or is unsure?
  5. What limits exist on use per user and per task?
  6. What is recorded, and who can see the record?

The AI agent security checklist for Salesforce expands these into the questions to put to a vendor, and AI governance for Salesforce teams places them in a wider framework.

Where BAFO fits

BAFO's agents work with the signed-in person's own Salesforce permissions, and a person reviews and creates, or confirms, what they prepare. The Billing Contract Agent can also show the page and sentence behind the values it reads from a contract. They do not remove the need to ask your own questions of any vendor, including BAFO.

Frequently asked questions

What is the OWASP Top 10 for LLM applications?

A list published by the OWASP Gen AI Security Project of ten key security risks for applications built on large language models. The 2025 edition is the one described here.

Does the list apply to AI agents?

Yes. Agents are applications built on language models that can also take actions, which is why excessive agency and prompt injection carry so much weight for them. OWASP also publishes a separate resource on threats and mitigations specific to agentic AI.

Which risk should a finance team worry about first?

Start with the ones that decide what a mistake can cost: prompt injection and excessive agency, then misinformation. Limiting what the agent can do and requiring approval limits the damage from the first two; showing sources and checking values with rules helps catch the third.

Is there a checklist I can use?

Yes: the AI agent security checklist for Salesforce turns these risks into questions to put to a vendor.

Sources and further reading

Where this page leans on someone else's documentation or standard, it is listed here. Check the release or edition your org runs: official pages change.

Keep reading

  • Glossary 4 min read

    What is prompt injection?

    Prompt injection is when input to an AI system changes its behaviour in ways nobody intended; indirect injection, through text the system reads, is the form to plan for first in business agents.

  • Glossary 3 min read

    What is excessive agency in an AI agent?

    Excessive agency is the risk that an AI agent can take damaging actions because it has too many functions, too many permissions or too much autonomy.

  • Glossary 4 min read

    What is an AI hallucination?

    An AI hallucination, which NIST calls confabulation, is confidently stated but false content produced by an AI system; in finance the defence is to make it visible and keep a person before the ledger.

  • Guide 5 min read

    AI agent security checklist for Salesforce: what to ask before you connect one

    A checklist for judging an AI agent that connects to Salesforce or Certinia, built on the published guidance on excessive agency, with a note of how BAFO approaches each point.

  • Guide 8 min read

    AI governance for Salesforce teams: six practices in plain English

    How to apply Australia's six essential AI practices, and NIST's Govern, Map, Measure and Manage functions, to AI agents and assistants that work in Salesforce and Certinia.