Designing for the inevitable: System prompt leakage and mitigations in generative AI applications
- Published
- Record updated
Summary
An AWS security blog post argues that system prompt leakage, listed as LLM07 in the 2025 OWASP LLM Top 10, has no complete remediation because it is a fundamental limitation of current generative AI systems. The post describes practical controls using Amazon Bedrock Guardrails and other defense-in-depth mechanisms to reduce exposure and increase resistance to leakage.
Mitigation
The source describes practical mitigation controls using Amazon Bedrock Guardrails and other defense-in-depth mechanisms, plus the defenses recommended for LLM07, but the text provided is truncated before those controls are detailed. It states that adding explicit instructions to system prompts (such as telling the model never to reveal its instructions) is not sufficient to remediate the issue.
Related items
- HighIssue with Language Servers for AWS - MCP consent, command execution and workspace boundary issues (CVE-2026-137931, CVE-2026-137932, CVE-2026-137933, CVE-2026-137934, CVE-2026-137935)Same vendor, AWS Security Bulletins
- InfoAmazon releases open-weight AI model as potential China crackdown loomsSame vendor, CNBC Technology
- InfoOpenAI and AWS expand partnership at re:InventSame vendor, OpenAI Blog
- MediumReact2Keys makes forgotten React2Shell exposure an expensive mistakeSame vendor, CSO Online
- InfoCrowdStrike Secures AI Agents and the AWS Workloads Behind ThemSame vendor, CrowdStrike Blog