AI Security Atlas › All entries › LLM Application & Output Security

VulnerabilityMedium severity

Secrets & Policy in System Prompt

API keys, internal URLs, or access rules are embedded directly in prompts the model can repeat.

Open in the interactive atlas →

Impact

One successful extraction exposes credentials and reveals how to bypass controls.

Why this severity

Impact High × Likelihood Low = Medium

Impact high: live credentials exposed. Likelihood low: requires both a secret in the prompt and a successful extraction; few public cases.

Impact High: Code execution, credential compromise, exposure of regulated or confidential data, irreversible actions, or system-wide failure.
Likelihood Low: No public cases yet, or the attack needs privileged or insider access.

Method: OWASP Risk Rating Methodology

Related

Exploited by

Mitigated by

Remediation

  1. Move secrets to server-side tool handlers.
  2. Express authorization as code paths, not instructions.
  3. Scan prompt templates for credential patterns in CI.

How to verify

Framework mapping

OWASP Top 10 for LLM Applications 2025

MITRE ATLAS

NIST AI RMF 1.0