Security teams should use model scanning to check model files before they enter the environment, then use AI red teaming to test how the model behaves under realistic prompts and adversarial pressure. The two controls address different risks. Scanning targets known file-level threats, while red teaming exposes behavioural weaknesses, safety failures, and manipulation paths that static analysis cannot see.
Why model scanning and AI red teaming belong in the same AI security programme
Model scanning and AI red teaming solve different parts of the same problem. Scanning is a pre-deployment control: it checks model files, weights, packaging, and embedded artefacts before the model enters your environment. AI red teaming is behavioural testing: it asks how the model responds under realistic prompts, adversarial pressure, and misuse attempts that static inspection cannot surface.
Together, they give you coverage across both the supply path and the live interaction path. NHI Management Group’s Model Supply Chain Guide explains why file-format choices, signing, and scanning matter before a model is trusted in production.
That split is important because a clean scan does not mean safe behaviour, and a successful red-team run does not prove the model package was clean. A model can be free of obvious file-level threats yet still be vulnerable to jailbreaks, prompt injection, unsafe completion, leakage, or harmful tool use once it is deployed. The right programme treats scanning as gatekeeping and red teaming as adversarial validation.
What each control catches, and what it misses
Scanning is best at known, inspectable issues in the artefact itself: suspicious packaging, unsafe serialization, embedded code execution paths, tampered weights, and other supply-chain concerns. It is strongest when the model is still a file, a package, or a build output. It is weakest when the problem only appears after the model is prompted, chained into tools, or exposed to adversarial context.
AI red teaming does the opposite. It is designed to reveal how the system behaves when someone tries to steer it, confuse it, or force it into unsafe action. NHI Management Group’s AI Red Teaming Guide is useful here because it frames red teaming as scoped testing of models, apps, and agents rather than a generic penetration test.
That makes the two controls complementary rather than interchangeable. Scanning answers, “Should this model be allowed in?” Red teaming answers, “What happens when people try to break it after it is in use?” If you only scan, you miss emergent behaviour. If you only red team, you may miss compromised or unsafe artefacts before they ever reach runtime.
For teams working with open-weight systems, NHI Management Group’s Open-Weight Model Security Guide is a good reference for how scanning, signing, and runtime hardening fit together across the deployment lifecycle.
How to sequence scanning and red teaming without duplicating effort
The practical sequence is straightforward. Start with scanning at intake, before the model reaches a registry, build pipeline, or deployment target. Then red team only the models that pass that gate and are realistic candidates for release. That keeps red teaming focused on meaningful systems, instead of spending effort on artefacts that should have been blocked earlier.
Use the output of scanning to shape the red-team plan. If the scan flags a risky packaging pattern, a third-party dependency issue, or a suspicious model provenance path, make that part of the test scope. If the model passes scan but is intended for customer-facing or tool-using workflows, prioritise prompt abuse, policy bypass, unsafe output, and misuse of connected actions. NHI Management Group’s OWASP GenAI Red Teaming Manual Guide is a strong fit for structuring those tests and capturing evidence consistently.
The important operating rule is that red teaming should not be used as a substitute for acceptance controls. It is a higher-fidelity test of behaviour, not a replacement for artefact hygiene. Likewise, scanning should not be treated as a sign-off on model safety, because it cannot observe prompt-driven failure modes or interaction effects.
Risk and Threat Considerations
When these controls are separated or used in the wrong order, organisations can approve a model that is already unsafe in its package or fail to notice a model that becomes unsafe only under adversarial interaction. That creates exposure across both supply chain trust and runtime misuse, especially where the model can influence users, generate code, or interact with tools.
Failure mechanism: File-level inspection stops known artefact risks, but it does not reveal behavioural weaknesses, jailbreak susceptibility, or manipulation paths that emerge only during prompting and deployment.
Impact: A team may believe the model is safe because it scanned cleanly, then discover harmful behaviour, policy bypass, leakage, or unsafe actions only after release, when blast radius is much higher.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
CSA MAESTRO addresses the attack and risk surface, while NIST SP 800-53 Rev 5, NIST AI RMF and OWASP ASVS set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | SI-7 — Software, Firmware, and Information Integrity | Model scanning checks integrity of model artefacts before deployment. |
| SA-11 — Developer Testing and Evaluation | AI red teaming is adversarial evaluation before operational trust is granted. | |
| Recommendation — Validate model artefacts before release and block tampered packages from production. Test AI behaviour under adversarial conditions before approving production use. | ||
| NIST AI RMF | GV.1 — Govern, Map, Measure, and Manage | Combines governance, measurement and risk treatment for AI security programmes. |
| Recommendation — Define AI scanning and red-teaming responsibilities within a governed risk programme. | ||
| OWASP ASVS | V16 — Security Logging and Error Handling | Red-team findings often depend on evidence capture, traceability and error observation. |
| Recommendation — Log adversarial test cases and model failures so findings can be reproduced and remediated. | ||
| CSA MAESTRO | AIS — Agentic/AI Security | The programme addresses model behaviour, autonomy risks and adversarial evaluation. |
| Recommendation — Model scanning and red teaming into the AI security review for autonomous behaviours. | ||
Practitioner Guidance
What to verify: Treat scanning and red teaming as separate acceptance checks with different evidence. You should be able to show the scan result for the artefact and the red-team report for the deployed behaviour, not one blended assurance statement.
Decision rule: If the model has not passed scanning, do not spend red-team effort on it yet unless you are deliberately testing a known risky source. If it has passed scanning, assume nothing about behaviour until you have tested realistic prompts and adversarial sequences.
What good looks like: The programme blocks bad artefacts before deployment, then proves how the model behaves under pressure before it is trusted in production. That is the point where the two controls become mutually reinforcing rather than redundant.
Practitioner takeaway: Use scanning to control what enters the environment, and red teaming to control what the model does once it is there, because one protects the intake path and the other exposes the runtime failure modes.
Related resources from NHI Mgmt Group
- Guide: Red Teaming AI Agents for Identity Abuse
- How should security teams combine organic and synthetic data for AI red teaming?
- What is the difference between static model scanning and runtime AI red teaming?
- How should security teams choose an AI red teaming operating model when systems change frequently?
- Should AI red teaming sit inside the broader agent security programme?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 2, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org