Organisations should treat AI governance as a security control, not only a data science issue. That means defining ownership, testing for prompt injection and poisoning, monitoring model behavior in production, and setting approval gates for new data and integrations. Where models touch sensitive systems, teams should limit access, log actions, and review exceptions quickly.
Why Malicious Prompts and Bad Training Data Change the Security Model
When a model can be steered by prompt injection or poisoned by training data, the problem is no longer just accuracy. The model becomes a decision-making surface that can be influenced by untrusted inputs, which means organisations must treat AI behaviour as a governance and control issue. That matters most when the model can reach sensitive content, approve actions, or trigger downstream automation.
Current guidance suggests that teams should assume model outputs are only as trustworthy as the surrounding controls. The right question is not whether the model is “smart enough”, but whether the data it sees, the instructions it follows, and the actions it can take are bounded, reviewed, and reversible. In practice, many failures appear only after the model has already been connected to tools or production data.
How Organisations Should Operationalise the Response
Start by defining ownership for model risk, data approval, and runtime change control. Security, engineering, and product teams each have a role, but one group must own the final decision on what data is allowed in, what prompts are trusted, and what actions the model can take. Without that, prompt injection tests and poisoning reviews become one-off exercises rather than a control.
Good practice is to separate three layers:
-
Input layer: validate and filter prompts, retrieved documents, uploaded files, and other external content before the model consumes them.
-
Training and tuning layer: review data provenance, sample quality, and approval for any dataset that could alter model behaviour.
-
Action layer: restrict tool access, require approvals for sensitive actions, and keep logs that show what the model saw and did.
That operational split is especially important for agentic systems because the security impact is not limited to text generation. If a model can call APIs, create records, move tickets, or query internal systems, then malicious prompts can become an access-path problem rather than a content-safety problem. A useful reference point is the OWASP Top 10 for Agentic Applications 2026, which treats prompt injection, memory poisoning, tool misuse, and privilege abuse as distinct security concerns.
Testing should cover both direct attacks and indirect ones, including poisoned documents, malicious retrieval sources, and hidden instructions embedded in content that the model treats as trusted context. These controls tend to break down when teams allow broad tool permissions and then assume monitoring alone will catch unsafe model behaviour.
Common Variations and Edge Cases
Tighter control often reduces model flexibility, so organisations have to balance safety against operational usefulness. The best setup for a low-risk internal assistant is usually too restrictive for a customer-facing or workflow-driving system, which is why context matters.
One common edge case is retrieval-augmented systems. If the model is reading internal knowledge bases, the risk may come less from the base model and more from poisoned or low-trust source material. Another is continual fine-tuning, where bad training examples can quietly shift behaviour over time even when prompt controls look strong. There is also a practical difference between a model that answers questions and a model that can take actions: once actions are possible, approval gates and logging become much more important than output filtering alone.
For governance, the most important exception handling rule is simple: if a model touches sensitive systems or regulated decisions, treat every change to its data sources, prompts, tools, or routing logic as a controlled release. If that review step is skipped, the organisation is effectively accepting model drift without a clear owner.
Risk and Threat Considerations
Malicious prompts and poisoned data create both integrity risk and access risk. The immediate concern is that an attacker can influence model output, but the larger exposure is that the model may be trusted to recommend or trigger actions that were never intended by the organisation.
Failure mechanism: prompt injection exploits the model’s instruction-following behaviour, while data poisoning corrupts the information it learns from or retrieves. In systems with tools or workflow automation, that influence can extend into unauthorized API calls, data disclosure, or unsafe actions if trust boundaries are too loose.
Impact: organisations can end up with incorrect decisions, leaked sensitive information, manipulated workflows, or compromised downstream systems. The damage is usually highest when the model is allowed to act on behalf of users, because the attack shifts from model confusion to business process abuse.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 address the attack and risk surface, while NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A1 — Prompt Injection and Instruction Hijacking | Directly addresses malicious prompt influence on agent behaviour |
| A4 — Memory and Context Poisoning | Covers bad training or retrieved data altering model behaviour | |
| A6 — Tool and Action Abuse | Applies when models can trigger downstream actions or API calls | |
| Recommendation — Harden prompts and instruction handling against untrusted content and adversarial overrides. Validate training and retrieval data sources before they can steer model decisions. Restrict tool permissions and require approvals for sensitive model-initiated actions. | ||
| NIST AI RMF | GOVERN — Govern | AI governance is central when model behaviour can be manipulated |
| MAP — Map | Helps identify where prompts, data, tools, and downstream effects create risk | |
| MANAGE — Manage | Supports ongoing monitoring and control of AI risks in production | |
| Recommendation — Assign accountable ownership and review processes for model risk decisions. Map model inputs, outputs, and dependencies before allowing production use. Continuously monitor model behaviour and update controls when risk changes. | ||
Practitioner Guidance
What to prioritise: Put the strongest controls around whatever can change model behaviour or convert model output into action. If a model can only draft text, focus on prompt and retrieval hygiene; if it can execute tools, prioritise approval gates, scope limits, and audit logging before expanding capability.
What to verify: Check that every high-impact data source has an owner, a review path, and a rollback plan. Also verify that you can reconstruct the exact prompt, retrieved context, and tool calls for any material decision or incident investigation.
Decision rule: If a model can influence access, spending, records, or customer outcomes, treat it as a controlled system change, not a content feature. That means changes to prompts, training data, connectors, and permissions need the same discipline as other production changes.
Practitioner takeaway: The real control objective is not to make models perfectly trustworthy, it is to make their influence narrow, observable, and reversible enough that bad input cannot become broad business impact.
Related resources from NHI Mgmt Group
- Why does AI increase risk in certificate management when training data or prompts are manipulated?
- How can organisations reduce the risk of data exfiltration through AI chat sessions?
- What should organisations check before relying on a managed training platform for custom AI models?
- How can organisations reduce the risk of secrets in AI training data?