Securing the model focuses on the AI system itself, while securing the skill layer focuses on the instructions and assets the agent loads at runtime. The model can behave correctly and still be steered into unsafe actions by a malicious skill. Practitioners need both model governance and instruction-layer governance for meaningful control.
Why This Matters for Security Teams
Securing the model and securing the skill layer are different control problems, and confusion between them leaves real gaps. Model security is about the base system: its weights, training data, guardrails, and output behaviour. Skill-layer security is about the runtime instructions, tools, prompts, connectors, and assets an agent loads after deployment. An agent can be running on a well-governed model and still be manipulated through a malicious skill package or unsafe tool instruction.
This distinction matters because modern agents are not static applications. They can chain actions, retrieve external content, and execute workflows that change the risk profile from one task to the next. Guidance from the NIST Cybersecurity Framework 2.0 is helpful for baseline governance, but it does not replace instruction-layer controls. NHI Management Group’s Ultimate Guide to NHIs shows how quickly non-human access expands once secrets, connectors, and service accounts are widely distributed.
In practice, many security teams discover the problem only after an agent has loaded a compromised skill and already taken unsafe actions, rather than through intentional review of the runtime instruction path.
How It Works in Practice
Model security and skill-layer security should be treated as separate layers of defence. The model layer focuses on the behaviour of the AI system itself: training integrity, model provenance, jailbreak resistance, output filtering, and misuse detection. The skill layer focuses on what the agent is allowed to load and execute at runtime: prompts, tool definitions, API connectors, retrieval sources, and external packages. A secure model does not neutralise a poisoned skill, because the skill can still steer the agent’s decisions and tool use.
Practitioners usually separate controls into three operational checks:
- Validate the model source, version, and approved use case before deployment.
- Review skills, plugins, and prompt assets as executable supply-chain inputs, not documentation.
- Limit runtime permissions so a loaded skill cannot expand access beyond the task scope.
This is where NHI governance becomes practical. Secrets, tokens, and service accounts should be bound to the task and the skill, not left broadly reusable. The Ultimate Guide to NHIs highlights why this matters: excessive privileges and poor visibility are common failure modes, and the same weaknesses appear when agents inherit standing access. Current guidance suggests pairing model review with runtime policy checks so each skill invocation is evaluated in context.
In implementation terms, that means using allowlisted skill registries, signed skill artifacts where possible, short-lived credentials, and policy-as-code for tool invocation. The model decides, but the skill layer shapes what decisions can become actions. These controls tend to break down in fast-moving CI/CD environments because skills are frequently updated, inherited, or composed across teams without equivalent review.
Common Variations and Edge Cases
Tighter skill-layer control often increases operational overhead, requiring organisations to balance deployment speed against the risk of runtime manipulation. Best practice is evolving, and there is no universal standard for how much autonomy a skill should have by default. Some teams enforce strict approval on every new skill; others allow low-risk skills to load automatically and reserve review for skills that can write, delete, pay, or exfiltrate.
The distinction also changes in multi-agent systems. One agent may only select skills, while another executes them. In that case, securing the model of the planner is not enough if the executor can still load unsafe assets. The same issue appears in retrieval-augmented workflows, where the model may be stable but the retrieved instructions are not. That is why NHI Management Group treats instruction governance as a separate control plane, not just a model safeguard.
For practitioners, the practical question is not whether the model is safe in isolation, but whether the full path from prompt to tool execution is controlled. Industry alignment from NIST Cybersecurity Framework 2.0 helps structure the program, but the skill layer still needs its own review, provenance, and revocation logic. Where skills are fetched dynamically from third parties or user content, model-centric controls alone are rarely sufficient.
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, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | Covers runtime abuse of agent instructions, tools, and skills. | |
| CSA MAESTRO | Addresses agentic workflows and control of autonomous tool execution. | |
| NIST AI RMF | Supports governance across model behaviour and downstream AI system risk. | |
| OWASP Non-Human Identity Top 10 | NHI-03 | Relevant to secret exposure when skills load credentials at runtime. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access is needed for both model and skill execution paths. |
Separate model governance from skill governance and enforce runtime policy on actions.
Related resources from NHI Mgmt Group
- What is the difference between managed identities and hardcoded secrets for AI agents?
- What is the difference between human identity governance and AI agent governance?
- What is the difference between workload identity and API keys for AI agents?
- What is the difference between governing human access and governing AI agent access?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on July 24, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org