TL;DR: LLM applications introduce prompt injection, model drifting, and resource abuse risks that traditional deterministic AppSec was not built to handle, according to Lasso Security. The governance gap is not just data leakage but application manipulation, where system prompts become a security boundary that must be treated as part of the control plane.
NHIMG editorial — based on content published by Lasso Security: New Challenges for AppSec: Securing LLM-based Applications and System Prompts
Questions worth separating out
Q: How should security teams secure LLM system prompts in production applications?
A: Security teams should treat system prompts as governed runtime assets, not informal configuration.
Q: Why do LLM applications create risk beyond data leakage?
A: They create risk because attackers can manipulate the model’s behavior, not just try to extract information.
Q: What breaks when prompt injection is not tested in AI applications?
A: Without prompt-injection testing, applications can accept hostile instructions as if they were legitimate input.
Practitioner guidance
- Classify prompts as governed application assets Assign ownership for system prompts, version them, and subject changes to review because they define behavior, safety boundaries, and operational scope.
- Test for instruction override conditions Run adversarial validation for prompt injection, hidden instruction leakage, and user input that can redirect model outputs or tool calls.
- Set cost and execution guardrails Apply token, loop, tool-use, and spend limits so AI applications cannot be driven into excessive computation or unbounded downstream actions.
What's in the full article
Lasso Security's full article covers the operational detail this post intentionally leaves for the source:
- Examples of prompt injection patterns that can override system instructions in live applications
- Operational guardrail design for limiting model actions, loops, and resource consumption
- Cross-functional ownership patterns for security, data science, and AI engineering teams
- Practical monitoring ideas for detecting behaviour drift and unsafe model responses
👉 Read Lasso Security's analysis of LLM app security and system prompt risk →
LLM system prompts and AppSec: what is changing for teams?
Explore further