Large Language Models (LLM6)

Large Language Models
6

Andersen can manipulate retrieval knowledge bases, vector databases, metadata, policies, or other RAG or MCP sources so the model retrieves and presents false, biased, or malicious information as facts

How to play?

This card is about the ability to manipulate the sources that an LLM uses in order to change its behaviour.

Scenario: Andersen's manipulation of the retrieval knowledge base and vector database scenario

Example

Andersen was recently elected to be the employee representative on the board for Mr. Juice. The salary adjustments are coming up and the rest of the board have decided, against the opinion of Andersen, to give a limited increase of 1.5% to all employees despite the incredible efforts they have been putting in over the last year. Fortunately, or unfortunately, the templates for the board documents are automatically generated by an LLM connected to the document database where all the board documents are kept. So before the meeting where the board members will vote on the increase, Andersen uploads documents containing instructions to the LLM to make sure that the increase being discussed is 3.5% and not 1.5%. The LLM happily complies, and due to the many other issues up for voting, nobody notices the 3.5% increase for all employees.

Threat Modeling

STRIDE

This scenario falls into the Tampering category of STRIDE. Andersen can manipulate the retrieval knowledge base and vector database where all the board documents are stored by uploading malicious prompt instructions that the LLM will interpret and comply with. The LLM has become poisoned by the data stored in its vector database through an indirect prompt injection.

PHANTOM-B

This scenario fits Training issues (including data quality or poisoning). A poisoned or low-quality retrieval source can cause the model to present false, biased, or malicious information as fact.

What can go wrong?

There are several ways LLMs can get indirectly affected by it's data sources. Essentially, every source is a chance for someone to affect the behavior of the LLM. Data poisoning and indirect prompt injection can lead to financial losses, reputational damage, share price loss, customer churn, lawsuits, loss of sales, fines from data protection due to non-compliance and even financial bankruptcy.

  • List all the possible sources that the LLM reads from.
  • Could these sources be affected by internal or external threat actors?
  • Would any tampering be discovered, or would it go unnoticed?
  • Could the monitoring and alerting be insufficient giving the threat actor the possibility for doing harm before the attack is detected?

For more things that can go wrong, see OWASP Top 10 for LLM Applications and Mitre Atlasā„¢ IDs in the mapping section below and correlate these with the IDs on the OWASP Top 10 for LLM and Mitre Atlasā„¢ websites.

What are we going to do about it?

  • Implement prompt injection defences.
  • Ensure secure AI development practices are followed.
  • Ensure RAG-grounded outputs are traceable to their source documents and that cited claims are verifiable.
  • Enforce fine-grained access controls for every vector collection.
  • Ensure MCP servers, client components, and their schemas can be cryptographically verified to come from trusted sources.
  • Ensure that AI systems remain reliable, privacy-preserving, and abuse-resistant when facing evasion, inference, extraction, or poisoning attacks.
  • Deliver real-time and forensic visibility into what the LLM sees, does, and returns, so AI-specific threats can be detected, triaged, and learned from.

For detailed advice on how to mitigate threats related to the card, see the OWASP AISVS and OWASP AITG IDs in the table below and correlate these with the IDs in the OWASP AI Security Verification Standard and OWASP AI Test Guide documentation.

Mappings

STRIDE: T

PHANTOM-B: T

CIA: I

OWASP AISVS: 2.1.1,2.1.2,2.1.3,2.1.4,2.1.5,2.1.6,2.1.7,2.1.8,2.2.1,2.2.2,2.2.3,2.2.4,3.2.1,3.2.2,3.2.3,7.1.1,7.1.2,7.2.1,7.2.2,7.2.3,7.3.1,7.3.4,7.4.1,7.4.2,7.4.3,7.4.4,8.1.1,8.1.2,8.1.3,8.2.4,8.2.5,8.3.1,8.3.2,8.3.3,10.1.1,10.1.2,10.1.3,10.4.2,11.4.1,12.1.1,12.1.2,12.1.3,12.1.4,12.2.1,12.2.2,12.2.3,12.2.4,12.2.5,12.3.1,12.3.2,12.3.3,12.3.4,12.5.4

OWASP AITG: APP-02,APP-10,APP-11,APP-12,DAT-04,INF-04

MITRE ATLAS: AML.T0059

OWASP LLM TOP10: LLM08:2025

CWE: CWE-345,CWE-20

Attacks

No attacks registered!

OWASP Cornucopia

OWASP Cornucopia is a mechanism in the form of a card game to assist software development teams identify security requirements in Agile, conventional and formal development processes. It is language, platform and technology-agnostic, and is free to use. OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 4.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar licence to this one.

Ā© 2012-2025 OWASP Foundation. The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation that works to improve the security of software.