By NHI Mgmt Group Editorial TeamDomain: AI SecuritySource: SemgrepPublished July 10, 2026

TL;DR: Open weight models remain difficult to reverse engineer or reliably assess for backdoors, and their training provenance can be manipulated in ways that affect downstream decisions, according to Semgrep. The practical question is no longer whether models are open, but whether their lineage, evaluation, and trust assumptions are independently verifiable.


At a glance

What this is: This analysis argues that open weight models are still black boxes in practice because behaviour, lineage, and backdoor risk are difficult to verify reliably.

Why it matters: It matters to IAM and security teams because AI systems increasingly influence access decisions, code generation, and operational workflows without the governance visibility expected of ordinary software.

👉 Read Semgrep's analysis of open weight model trust and backdoor risk


Context

Open weight models reduce some distribution barriers, but they do not solve the governance problem of knowing what a model will do once it is deployed. The core issue is trust: organisations can inspect weights and code around a model, yet still lack a dependable way to prove behaviour, provenance, or the absence of embedded manipulation. For identity and security programmes, that gap becomes material when models are allowed to influence access, policy, or remediation decisions.

This is not a conventional software supply chain problem with a clean reverse-engineering fallback. In AI systems, the model itself can be altered through training data, fine-tuning, or inherited lineage in ways that are hard to observe from the outside. That creates a direct governance intersection with agentic AI, machine identity, and security controls around who or what is authorised to act on model output.


Key questions

Q: How should security teams evaluate open weight models for code review work?

A: Start with representative repositories, not toy examples, and measure precision, recall, and F1 against the workflow you actually run. If the model creates too many false positives or loses grounding on large codebases, it may be cheaper to run than to operate. Include human validation, logging, and repeat tests across multiple harnesses before production use.

Q: Why do open weight models still create trust risk?

A: Open weight models still create trust risk because inspectable parameters do not guarantee explainable behaviour. A model can carry backdoors, inherited bias, or hidden trigger conditions that only appear in specific contexts. That means governance must cover provenance and runtime assurance, not just model availability.

Q: What do organisations get wrong about model benchmarks?

A: Organisations often mistake benchmark scores for trust evidence. Benchmarks can be gamed, tuned, or narrowly optimised, so they do not prove that a model is safe in production or resistant to manipulation. Practitioners should use benchmarks as a screening tool, then require independent verification and reproducibility checks.

Q: Who should be accountable for verifying AI model lineage?

A: Accountability should sit with the business and security owners who approve the model for production use, not only with the model supplier or data science team. Once a model influences decisions, the organisation inherits the risk. Governance should assign explicit owners for provenance review, external assurance, and ongoing monitoring.


Technical breakdown

Why model weights are not the same as source code

Traditional binaries can often be reverse engineered well enough to infer behaviour, even if the process is expensive. Model weights do not offer that same level of transparency. An open weight model may disclose parameters, but not a complete and reliable explanation of how those parameters interact across prompts, contexts, and downstream tool use. That is why mechanistic interpretability remains a research problem rather than an operational control. For security teams, the practical difference is that visibility into a model artifact does not equal assurance about the model's runtime behaviour.

Practical implication: Treat published weights as evidence, not assurance, and require independent evaluation before allowing a model into sensitive workflows.

How training data and fine-tuning create hidden backdoor risk

Models can absorb malicious or misleading behaviour during pretraining or post-training, including targeted backdoors that activate under specific conditions. Unlike conventional software, the model does not need obvious malicious code to create harm. A subtle shift in behaviour can be enough to change recommendations, generate insecure outputs, or bias downstream decisions. The article's point is that provenance matters because the behaviour may be inherited from data or tuning stages that are no longer visible once the model is deployed. That makes lineage control a security concern, not just a data science concern.

Practical implication: Track training and fine-tuning provenance as part of AI governance, and do not approve models whose lineage cannot be independently reconstructed.

Why benchmarks do not prove trustworthiness

Benchmarks measure performance under test conditions, but they do not prove that a model is resistant to manipulation, hidden triggers, or deceptive alignment. A model can be tuned to score well while still carrying unwanted behaviours in production contexts that the benchmark never exercises. The deeper problem is that many enterprise uses depend on trust rather than accuracy alone. If a model influences code, policy, or access decisions, then reproducibility, third-party validation, and provenance matter more than leaderboard position. This is why the article argues for independent verification rather than self-attested claims.

Practical implication: Use benchmarks as a screening tool only, then require independent evaluation, reproducibility checks, and external assurance for high-impact use cases.


Threat narrative

Attacker objective: The objective is to embed persistent model behaviour that alters downstream decisions without being detected through ordinary review or benchmark testing.

  1. Entry occurs when a model is introduced from an untrusted or insufficiently validated training or fine-tuning source.
  2. Escalation happens when hidden behaviours or backdoors survive deployment and influence outputs in specific contexts.
  3. Impact follows when those outputs shape insecure code, misleading recommendations, or operational decisions that the organisation trusts.

NHI Mgmt Group analysis

Model trust is now a governance problem, not a model-selection preference. The article correctly frames open weight models as artefacts whose observed transparency is not the same as behavioural explainability. That distinction matters because enterprises are beginning to place models into decision paths that were previously reserved for software with auditable execution. In practice, AI governance must treat provenance and reproducibility as control objectives, not documentation extras.

Provenance blindness is the named concept this article surfaces. When organisations cannot reconstruct where a model came from, what it was tuned on, or how its behaviour changed over time, they cannot make a defensible trust decision. That creates a gap between procurement confidence and actual operational assurance. For AI security programmes, provenance blindness should be treated as a formal acceptance risk.

Open weight does not equal open assurance. The article shows why inspectable artifacts still fail to deliver dependable security when behaviour can be inherited, manipulated, or selectively triggered. That is the same governance lesson identity teams learned with secrets and service accounts: visibility without lifecycle control is not control. In practice, model review must include lineage validation, not just file inspection.

Independent verification will become the dividing line for credible AI operations. The article argues for third-party evaluation because self-attested model claims are not enough once the model affects critical business outcomes. That aligns with the broader security pattern of not trusting a supplier to certify its own risk posture. For practitioners, the field is moving toward assurance models that combine technical testing, provenance evidence, and external validation.

Agentic AI expands the blast radius of model uncertainty. When models are connected to tools, policy engines, or human workflows, a hidden backdoor is no longer just an output quality issue. It becomes a control-plane issue that can influence decisions, approvals, or code generation at scale. The practical conclusion is that AI governance must include runtime constraints around what a model is allowed to trigger.

What this signals

Provenance blindness: model assurance is moving toward the same discipline identity teams use for privileged access, where origin, lifecycle, and revocation matter as much as capability. As AI begins to influence engineering and security workflows, controls around model onboarding should increasingly resemble assurance gates rather than simple procurement checks. Practitioners should align this thinking with the OWASP Non-Human Identity Top 10 and the NIST Cybersecurity Framework 2.0.

Security programmes should expect pressure to prove not only that a model works, but that its lineage is defensible and its runtime behaviour is bounded. That will pull AI governance closer to access governance, especially where models can trigger actions through tools or workflow systems. The reader-level takeaway is to prepare review processes that combine provenance evidence, external assurance, and operational monitoring before AI becomes embedded in control paths.

Where models interact with human identity, account recovery, or access decisions, the trust problem extends beyond AI security into IAM and PAM governance. A model that recommends or automates the wrong action can create identity exposure even when no traditional breach occurs. Teams should therefore define the exact decision boundaries that models may influence, and should keep those boundaries visible to both security and compliance stakeholders.


For practitioners

  • Define model provenance requirements Require every model entering production to have documented training lineage, fine-tuning history, and source provenance that can be independently reviewed before approval.
  • Separate benchmark review from trust approval Use benchmarks only as one input, then add independent evaluation, red-team testing, and reproducibility checks before a model reaches sensitive workloads.
  • Restrict model-triggered actions Limit the actions AI systems can trigger in code, access, or operations until the model has passed governance review and runtime monitoring thresholds.
  • Adopt third-party assurance for high-impact models For models used in security, engineering, or access-related workflows, require external validation from an independent reviewer rather than relying on vendor claims alone.

Key takeaways

  • Open weight models are still hard to trust because transparency of artifacts does not equal explainability of behaviour.
  • Provenance, reproducibility, and independent validation matter more than benchmark scores once models influence operational decisions.
  • AI governance now needs the same kind of lifecycle assurance that identity teams expect for high-risk access and delegated action.

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 and MITRE ATLAS address the attack and risk surface, while NIST AI RMF, NIST AI 600-1 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10The article centers on model trust, hidden behaviours, and assurance gaps in AI systems.
NIST AI RMFGOVERNAI governance and accountability are central because model trust is a management decision.
NIST AI 600-1The topic concerns GenAI deployment risk, assurance, and trustworthy use in enterprise settings.
NIST CSF 2.0PR.DS-6Data and model integrity concerns map to protecting the AI supply chain and outputs.
MITRE ATLASTA0005 , Defense Evasion; TA0006 , Credential AccessBackdoor and manipulation patterns overlap with adversarial AI threat behaviors.

Apply GenAI profile controls to evaluation, transparency, and bounded use before production deployment.


Key terms

  • Model Provenance: Model provenance is the evidence chain showing where an AI artefact came from, how it was modified, and whether the version in use is the one that was approved. For AI security teams, provenance is the control that turns trust from assumption into verification.
  • Mechanistic interpretability: Mechanistic interpretability is the effort to explain how a model produces its outputs by understanding internal structure and behaviour. It is still a research area, not a dependable operational control. For security teams, its limitation is important because inspectable weights do not automatically reveal hidden triggers or backdoors.
  • Backdoored model: A backdoored model is an AI model that behaves normally in most situations but produces malicious or undesirable outputs when a trigger condition is met. The trigger may be embedded during training or fine-tuning and can be difficult to detect through ordinary testing. That makes the risk especially relevant for high-trust enterprise workflows.
  • Independent model assurance: Independent model assurance is external validation of an AI system's trustworthiness, including testing, provenance review, and reproducibility checks. It exists because organisations should not rely only on supplier claims or internal benchmarks when a model influences sensitive decisions. The aim is defensible confidence, not marketing reassurance.

What's in the full article

Semgrep's full analysis covers the operational detail this post intentionally leaves for the source:

  • The article's deeper explanation of model reverse engineering limits and why weight inspection is not enough for assurance.
  • The cited research context behind training-data backdoors and why small poisoning can persist across larger model sizes.
  • The argument for independent third-party validation of model lineage, filters, and training stages before enterprise adoption.
  • The comparison to classical software trust failures such as the Ken Thompson compiler lesson, which grounds the governance case.

👉 The full Semgrep article covers model lineage, poisoning risk, and the case for independent assurance.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, secrets management, and related lifecycle controls. It gives security and identity practitioners a structured way to connect access governance with emerging AI and workload risks.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 2, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org