Safeguard
AI Security•

Which OWASP LLM Top 10 risks matter most for AI coding assistants?

Six of the OWASP Top 10 for LLM Applications apply directly to coding assistants. A mapping of each risk to a developer scenario and a control.

Safeguard Security Team
3 min read

For coding assistants, six of the ten OWASP LLM risks matter most: prompt injection, sensitive information disclosure, supply chain, improper output handling, excessive agency and misinformation. The rest apply mainly to teams building their own model applications rather than using an assistant.

The 2025 list

OWASP's Top 10 for LLM Applications (2025) is: 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.

Mapping to coding assistants

RiskDeveloper scenarioControl
Prompt injectionAgent reads a hostile issue or READMELeast privilege, approval for risky actions
Sensitive information disclosureSecret in context or pasted logData rules, file exclusion, scanning
Supply chainAssistant suggests an unvetted package or toolDependency policy, approved extensions and servers
Improper output handlingGenerated code runs without checkingReview, tests, static analysis
Excessive agencyAgent has broad tokens and shell accessScoped identity, sandbox, allowlists
MisinformationInvented function or package nameVerify references, lockfile review

The ones that matter less, and when they matter more

Data and model poisoning, vector and embedding weaknesses and system prompt leakage matter mostly if you build products on models, for example a retrieval system over internal docs. If you build an internal coding assistant on your own code index, vector and embedding weaknesses move up the list. Unbounded consumption is a cost and availability concern. For hosted assistants it often shows up as runaway agent loops and budget surprises.

How to use the list

  1. Copy the table above into your policy review.
  2. For each of the six, name the owner and the check that proves the control works.
  3. Mark any row with no check as a gap.
  4. Revisit when you adopt a new kind of tool, such as cloud agents.

Do not treat the list as a certification checklist. It is a risk catalog. It tells you what to think about, not how much control is enough.

Related standard

NIST published SP 800-218A in July 2024, an SSDF community profile for generative AI and dual-use foundation models, aimed at producers of models, producers of systems using them, and acquirers. It is mostly relevant if you produce or procure AI systems, and it is meant to be used with SP 800-218.

Quick check

Is the OWASP list a compliance requirement?

No. It is community guidance. Customers may ask you about it, but it is not a certification.

Which risk should we address first?

Start where you have exposure: if developers use agents, excessive agency and prompt injection. If only autocomplete, data disclosure and output review.

Safeguard offers dependency scanning, policies and gates, and MCP Guardrail, and a free scan is at gold.safeguard.sh/scan.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.