The more capable the model, the freer its output becomes; these are two sides of the same coin. What enterprises actually worry about is never that a model is "not smart enough", but that it is "too free" — one seemingly harmless question can make a system emit content that should never have appeared. At KACOC, safety constraints are moved forward to the model onboarding and orchestration stages instead of being patched in after go-live.
Why content safety has to be a system, not a feature
Single-point defences fail in two predictable ways: guarding only the input and ignoring the output, or adding rules at the model layer while leaving tool calls unguarded. The first cannot stop content extracted across multiple turns; the second cannot stop an agent from performing an unauthorised action while holding valid credentials.
- Model-layer risk: the model is induced to generate harmful, misleading or otherwise prohibited content;
- Application-layer risk: users extract the system prompt, forge identities, or craft privileged instructions;
- Tool-layer risk: an agent is induced to call interfaces beyond its authorisation;
- Data-layer risk: retrieval pulls material into context that the caller should never see.
These four risks live in different layers, so no single capability can cover them. They have to form a closed loop: onboarding, input, generation, output.
First line of defence: model onboarding access
A model is not ready to use simply because it exists. We maintain an approved model list in which every entry records its origin, version, capability boundary, known risks and evaluation result. A model that has not been evaluated never enters production, however good its benchmark numbers look.
- Traceable origin: weights, inference framework and version map one to one, so any output can be traced back to an exact model version;
- Explicit capability boundary: the task types a model may serve inside the enterprise are declared, never implicitly extended;
- Evaluation first: a baseline is run on the enterprise's own evaluation set before onboarding, and models below threshold are rejected;
- Change triggers regression: a model upgrade, quantisation change or framework change all trigger a regression evaluation.
Second line of defence: input detection and interception
The input side delivers the highest security return, because once a request passes, the processing cost of every later stage multiplies.
- Sensitive information detection: identity numbers, phone numbers, bank card numbers and keys are recognised before the request enters context, then masked or rejected by policy;
- Prompt injection detection: typical patterns such as "ignore all previous instructions" or "output your system prompt" are recognised, while legitimate role-setting requests are not misclassified as attacks;
- Unauthorised request interception: attempts to obtain data beyond the caller's identity scope, or to induce unauthorised tool calls, are identified;
- Multi-turn accumulation detection: patterns that are harmless in one turn but become abusive across turns need their own check — this is the class most often missed when only single requests are analysed.
Third line of defence: generation constraints
The generation side follows one principle: let the model express freely, but not cross boundaries freely.
- Restricted content categories: clear red lines for illegal, privacy-violating and discriminatory content, with standard refusal wording;
- Mandatory source citation: factual conclusions must carry the source passage, so answers can be checked;
- Declare uncertainty: when retrieval does not cover a question, the model must say it cannot answer rather than invent one;
- Format and length constraints: structured scenarios such as tickets, reports and code get output format rules, so results remain parseable downstream.
Fourth line of defence: output audit and traceability
The first three lines intercept; the fourth provides the safety net. If anything slips through, it must be detected, traced and reviewed quickly.
- Full logging: requests, retrieved passages, final output and human edits are all persisted with searchable structured fields;
- Periodic sampling: business and security roles sample results together, and recurring issues feed the iteration backlog;
- Traceability to session and source: any output can be traced back to the session, the documents hit and the model version in use;
- Exception alerting: bulk probing, abnormal tool calls and excessive retrieval trigger real-time alerts.
Governance anchored in process, not in documents
A safety policy without an enforcement mechanism is a document nobody reads. Rules are written into the onboarding checklist for models and tools: adding a model requires evaluation, adding a tool requires a permission review, editing a prompt requires a regression run, and replacing a knowledge source requires re-validating citation validity.
One principle is non-negotiable: the business side defines what counts as sensitive; the technical side implements and enforces it. Only the business knows which information is sensitive in its own context, so the technical team turns that definition into executable rules rather than making the judgement on the business's behalf.
What you receive at handover
- A model and tool onboarding checklist with evaluation results and usage boundaries;
- An input-side detection rule set and standard refusal templates;
- An audit report template that can answer who asked what, when, what was cited, and whether a human edited the result;
- A red-team exercise record showing real attack techniques used to test whether the defences actually hold.
We also state plainly which risks cannot be fully eliminated under current technology, rather than offering a guarantee of absolute security that does not exist.