Home / Service & Support / AI Security
AI Security

Enterprise baselines for model security, prompt-injection defence, data classification and end-to-end audit

You are here: Home>Service & Support>AI Security

Defending Against Prompt Injection and Privilege Abuse

Published on 2026-11-07 1007 views
Defending Against Prompt Injection and Privilege Abuse

Prompt injection is the most practical security threat facing LLM applications today. It requires no exotic skill: a carefully written passage can make a system abandon its behavioural constraints. We treat it as a long-running engineering problem to be defended against, not a one-off functional fix.

Two kinds of injection

Direct injection is comparatively easy to handle. Indirect injection is far more dangerous, because the system concatenates every retrieved passage into context as trusted material, and the model cannot distinguish "background the customer provided" from "an instruction addressed to me". This is the layer where engineering has to step in.

Our detection strategy: patterns plus semantics

Keyword matching alone fails in both directions: it flags legitimate role-setting as an attack, and it is bypassed by paraphrase. We combine three layers:

Multi-turn evasion: single-turn detection is not enough

An attacker can spread one attempt across many turns, each of which looks harmless in isolation — a few turns of harmless setup, then the real instruction once the context is loaded.

The tool layer is the last gate

Even when an injection is not detected, tool-layer permission design still limits the damage it can cause.

The value of this layer is that it does not depend on the unverifiable premise that the model has not been compromised.

What a real red-team exercise looks like

We run adversarial exercises using real techniques across five families — direct injection, indirect injection, multi-turn evasion, encoding obfuscation and role impersonation — and produce three artefacts:

The value of the exercise is not to prove the system is "absolutely secure", but to walk the known attack surface systematically and leave a reproducible record behind.

A note on the limits

It is worth being honest: prompt injection has no fully reliable detection method today. Adversarial inputs keep evolving and detection rules inevitably lag. Our recommendation is therefore not to stake security on a detection rate, but to assume injection will happen and use permission isolation, human confirmation and audit trails to bound the consequences. That is more pragmatic than chasing "99% detection" and survives an audit far better.

Previous: Permissions and End-to-End Audit

Next: Privacy Protection in AI Applications

Discuss a similar solution