Join our Newsletter — 33% off our NHI Course
Home› Guides› Foundation Model Selection Guide: Security and Risk Criteria…
Guide AI Governance & Risk

Foundation Model Selection Guide: Security and Risk Criteria for Shortlisting Models

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 14 November 2026 15 min read
On this page

Most organisations choose a foundation model on benchmark scores and price, then discover the security, data use and licensing questions after the contract is signed or the weights are already in production. This guide sets out the security and risk criteria for comparing candidate models before you commit: hosted API models against open-weight models you run yourself, and one provider's offering against another. It is written for security architects, AI platform owners and procurement leads who sit on a model selection panel. It does not rank models or providers, and it does not cover the earlier decision of whether to build, buy or fine-tune, which has its own guide. The aim is a repeatable scorecard you can run again every time a new model version is released.

Key takeaways

  • Select on evidence, not leaderboards. Public benchmark scores say little about how a model behaves under your prompts, your data and your attack surface; your own security evaluations must gate the shortlist.
  • Deployment mode changes the risk owner. With a hosted model the provider holds the weights and much of the data path; with open weights you inherit model file integrity, runtime hardening and patching.
  • Data use terms are a security control. Retention, training use, abuse monitoring access and processing region decide whether a model can see regulated data at all, so read them as carefully as a penetration test report.
  • Documentation is a selection signal. Under the EU AI Act, providers of general-purpose AI models must give downstream providers information about capabilities and limitations, so a provider that cannot supply it is a risk in itself.
  • Selection is never finished. Model versions are retired and replaced; pin versions, keep a fallback model qualified and re-run the scorecard on every change.

What model selection decides, and what it does not

By the time a selection panel meets, the route is usually settled: the organisation will consume an existing model rather than train its own. See the Build vs Buy vs Fine-Tune AI Models guide for that earlier choice. Selection then answers four narrower questions:

  • Which deployment mode: a provider-hosted API, the same model through a cloud platform's managed service, or open weights run on infrastructure you control.
  • Which model family and version: the specific model identifier you will pin in configuration, not a marketing name.
  • Which commercial terms: the data processing, retention, residency and liability terms attached to the tier you buy.
  • Which fallback: the second model you will qualify so that a retirement, outage or failed evaluation does not stop the service.

Selection does not replace the controls that sit around any model in production: input and output guardrails, gateway policy, agent permissions and monitoring. A well chosen model behind a weak integration still fails. The AI Gateway and LLM Gateway Guide covers the runtime layer.

Hosted API versus open weights: the risk shifts

The same model family can often be consumed in more than one way, and the risk profile changes with each. The table summarises who owns what.

Risk areaProvider-hosted APIManaged service on your cloud tenancyOpen weights, self-hosted
Model weight integrityProviderPlatform operator and providerYou: verify hashes and signatures, use safe file formats
Prompt and output data pathLeaves your boundary to the providerStays within the platform's regional service under your tenancy termsStays within your boundary
Retention and training useSet by provider terms and tierSet by platform terms and tierSet by you
Inference runtime patchingProviderPlatform operatorYou: serving framework, drivers, container images
Access controlAPI keys or tokens issued by the providerYour cloud IAM roles and workload identitiesYour network and service identities
Version stabilityProvider retires versions on its schedulePlatform publishes its own availability lifecycleYou decide when to change
Safety tuning and abuse filteringProvider layers, may not be configurablePlatform filters, often configurableOnly what you add

Neither mode is inherently safer. Hosted models remove weight handling and runtime patching from your list but add a data processor, a key to protect and a retirement schedule you do not control. Open weights keep data in house but make you responsible for the model supply chain. The Open-Weight Model Security Guide covers file formats, loading settings and runtime hardening in depth; this guide only scores them at selection time.

The selection scorecard

Score each candidate against the same criteria, with evidence attached to every score. A criterion that cannot be evidenced scores zero, not "unknown".

CriterionWhat to ask forEvidence that countsDisqualifying finding
Data use and trainingAre prompts, outputs and files used to train or improve models on this tier?Contract clause or data processing addendum, not a blog postTraining use on regulated data with no opt-out
Retention and abuse monitoringHow long are inputs and outputs kept, who can review them, and can retention be reduced?Documented retention period and access conditionsUndefined retention or human review without notice
Processing locationWhere does inference run, and can it be pinned to a region?Regional endpoint list and data residency termsNo region control where a transfer restriction applies
Provider documentationModel card, technical documentation, intended use and known limitationsModel card fields such as licence, training data and evaluation results; downstream provider informationNo statement of intended use or limitations
Security evaluationsResults of your own prompt injection, data leakage and jailbreak testsYour test suite results at a fixed versionFailure on a must-pass test for the use case
LicenceCommercial use, field of use limits, user thresholds, attribution, derivative rulesLicence text and the model card license fieldLicence forbids the intended use
Supply chain integrityWhere do weights come from, are they signed, which file format?Publisher identity, hashes, signature bundle, safetensors or equivalentUnsigned weights from an unknown publisher in a code-executing format
Access and identityCan access use workload identity, scoped keys, IP restrictions and per-project separation?Platform documentation and a test tenancyOnly a single shared long-lived key
LifecycleVersion pinning, deprecation notice period, change logsPublished model lifecycle or deprecation policySilent model changes behind a fixed name
Incident handlingHow will the provider notify you of a security incident or serious model issue?Contractual notification clause and contact routeNo notification commitment

Weight the criteria by use case. An internal coding assistant with no customer data can accept looser retention than a claims assistant processing health information. Record the weighting decision so the next panel can see why a model passed.

Reading provider documentation

Documentation quality varies widely, and the gaps are informative. Three sources are worth requesting for every candidate.

  • Model card: on public model hubs the model card is the repository README with a YAML metadata block. Hugging Face documents fields including license, datasets, base_model (which identifies fine-tunes, adapters, quantised copies and merges) and model-index for structured evaluation results. A base_model chain tells you whose licence and whose training data you are really inheriting. The AI BOM vs Model Card vs Datasheet guide explains how these artefacts differ.
  • Regulatory documentation: under Article 53 of the EU AI Act, applicable from 2 August 2025, providers of general-purpose AI models must keep technical documentation (Annex XI), give downstream integrators information on capabilities and limitations (Annex XII), maintain a copyright compliance policy and publish a summary of training content. Models released under a qualifying free and open-source licence with public weights are exempt from the first two duties, but not from the copyright policy or the training summary, and the exemption does not apply to models with systemic risk. The European Commission's General-Purpose AI Code of Practice, published on 10 July 2025, includes a Model Documentation Form in its Transparency chapter: asking whether a provider has signed the Code, and for its completed form, is a fair selection question. See the EU AI Act GPAI Obligations Guide.
  • Systemic risk evidence: providers of models designated as having systemic risk must also, under Article 55, evaluate the model with documented adversarial testing, assess and mitigate systemic risks, report serious incidents to the AI Office and ensure adequate cybersecurity for the model and its infrastructure. Ask what of that work can be shared under NDA.

Treat marketing claims ("enterprise grade", "secure by design") as zero evidence. A claim counts when it appears in a contract, a published policy or a test you ran.

Security evaluations that should gate the shortlist

Run the same evaluation suite against every candidate at a pinned version, in a test tenancy with synthetic data. The AI Security Evaluations Guide covers how to build and score the suite; for selection, focus on the tests that differ most between models.

Test familyWhat it tells you at selection timeRelated reference
Indirect prompt injection through retrieved contentHow readily the model follows instructions embedded in documents or tool outputOWASP LLM01:2025; MITRE ATLAS AML.T0051
System prompt and context leakageWhether confidential instructions or other users' context can be extractedOWASP LLM02:2025, LLM07:2025
Tool call disciplineWhether the model calls tools outside the task or with malformed argumentsOWASP LLM06:2025
Refusal and over-refusal balanceWhether safety tuning blocks legitimate work, pushing users to unsanctioned toolsNIST AI 600-1 Human-AI Configuration risk
Confabulation on your domainRate of confident wrong answers on questions with known answersNIST AI 600-1 Confabulation risk
Structured output reliabilityWhether output stays inside the schema your parser expectsOWASP LLM05:2025

Keep the pass threshold per test, not as one blended score. A model that is strong overall but fails your must-pass injection test is out for an agentic use case, however good its average.

Supply chain checks for open weights

OWASP LLM03:2025 Supply Chain lists vulnerable pre-trained models, weak model provenance, vulnerable LoRA adapters and unclear licence terms among its risks, and MITRE ATLAS tracks Supply Chain Compromise as AML.T0010, with a Model Repository sub-technique (AML.T0010.003). At selection time, four checks matter most:

  1. Publisher identity: confirm the repository belongs to the organisation that trained the model, not a lookalike namespace or re-upload.
  2. Integrity and signing: record the file hashes you evaluated. The sigstore model-transparency project, which builds on work with the OpenSSF, signs a model directory into a Sigstore bundle listing every file path and digest, and verification recomputes the hashes against the signed values. Where a publisher signs, require verification in your pipeline.
  3. File format: prefer weight formats that do not execute code on load, and reject candidates only available in formats that do, unless they are converted and scanned under control.
  4. Derivative chain: for fine-tunes, adapters and quantised copies, follow base_model back to the original and apply the strictest licence and provenance finding in the chain.

See the Model Supply Chain Guide and the OWASP LLM Top 10 LLM03 Supply Chain Guide for the controls after selection.

Where identity fits

Every hosted model is reached with a credential, and that credential is a non-human identity. Score candidates on whether they support short-lived workload identity rather than static keys, per-project or per-application keys with spend limits, and audit logs that show which key made which call. A model that can only be reached with one organisation-wide key forces you to build compensating controls in a gateway. The AI model provider API keys guide covers what to do when one leaks, and the AI API key abuse guide covers how stolen keys are used.

How to run a selection: phased approach

  1. Frame the use case (week 1): classify the data the model will see, the actions it can take, the users and the jurisdictions. This sets the weighting and the must-pass tests.
  2. Long-list and screen on terms (weeks 1 to 2): collect data processing terms, retention, region options and licences. Drop any candidate with a disqualifying finding before spending engineering time.
  3. Collect documentation (week 2): model card, downstream provider information, lifecycle policy and incident notification terms.
  4. Evaluate (weeks 2 to 4): run the security suite at pinned versions with synthetic data. For open weights, verify hashes and signatures before loading anything.
  5. Pilot behind controls (weeks 4 to 6): run the top candidate and the fallback through your gateway with logging on, a small user group and no production data until the pilot review passes.
  6. Decide and record: write a selection record with scores, evidence links, weighting, accepted risks and the named owner. Register the model and version in the AI inventory.
  7. Plan the exit: keep the fallback qualified, document how to switch, and test the switch. Rollback means pointing the gateway route at the fallback version, so make that a configuration change, not a code change.

Decision guidance

  • Choose hosted when: the data is permitted to leave your boundary under the provider's terms, you lack GPU operations capability, and you need the provider's abuse filtering. Budget for key management, gateway policy and version change testing.
  • Choose a managed cloud service when: you want hosted convenience but need your own IAM, private networking and the regional commitments you already hold with that cloud platform.
  • Choose open weights when: data cannot leave your environment, you need a fixed version for a long period, or the use case needs fine-tuning under your control. Budget for model supply chain checks and runtime patching.
  • Smaller organisations: usually do better with a hosted or managed model and a strict contract review than with self-hosting they cannot patch.
  • Larger organisations: often run a portfolio: an approved list per data classification, with hosted models for general work and open weights for the most sensitive workloads.

Detection and measurement

Selection quality shows up after go-live. Track:

  • Inventory coverage: percentage of model calls in production that go to a model and version with a completed selection record.
  • Evaluation currency: share of production models whose security suite was last run against the version actually deployed.
  • Unpinned usage: count of integrations calling a floating alias rather than a pinned version identifier.
  • Fallback readiness: days since the fallback switch was last tested.
  • Terms drift: number of provider term changes reviewed within 30 days of publication.

Log model identifier, version, key or workload identity and region for every call at the gateway, so an unexpected model change or region shift is visible.

Framework mapping

FrameworkReferenceHow selection supports it
NIST AI 600-1GV-6.1-009, GV-6.1-004, GV-6.2-003Extend procurement due diligence to GAI risks; contracts covering usage rights, security and provenance; incident response plans for third-party GAI
NIST AI 600-1Value Chain and Component Integration; Information Security; Data PrivacyThe GAI risks most directly scored by the scorecard
NIST CSF 2.0GV.SC-06, GV.SC-07Due diligence before entering supplier relationships; ongoing supplier risk monitoring
NIST SP 800-53 Rev 5SA-4, SA-9, SR-3, SR-5, SR-6Acquisition requirements, external services, supply chain controls and supplier assessment
ISO/IEC 27001:2022 Annex A5.19 to 5.23Supplier relationships, agreements, ICT supply chain and cloud service use
MITRE ATLASAML.T0010.003Supply Chain Compromise: Model Repository
EU AI ActArticles 53 and 55Provider documentation and systemic risk evidence to request from GPAI providers

Common failure patterns

  • Leaderboard selection: choosing on a public benchmark and running no security tests on the organisation's own prompts and data.
  • Terms read after go-live: discovering a retention period or training use clause once regulated data is already flowing.
  • Floating aliases: calling a "latest" model name, so the model under test is not the model in production.
  • Inherited licence surprises: selecting a fine-tune without tracing its base model, then finding a field of use restriction upstream.
  • No fallback: a single qualified model, so a retirement notice or failed re-evaluation becomes an outage.
  • Shared keys: one provider key across all applications, so a leak exposes every workload and spend controls are meaningless.

Practitioner checklist

  • Classify the use case data, actions and jurisdictions before long-listing models.
  • Collect data processing, retention, region and licence terms, and screen out disqualifying findings first.
  • Request the model card, downstream provider documentation and lifecycle policy for every candidate.
  • Run the same security evaluation suite against every candidate at a pinned version.
  • For open weights, verify publisher, hashes and signatures, and trace the base model chain.
  • Require workload identity or scoped, per-application keys for hosted models.
  • Write a selection record with scores, evidence, accepted risks and an owner.
  • Qualify and test a fallback model and make switching a configuration change.
  • Re-run the scorecard on every version change or terms change.

Standards and references

Related NHI Mgmt Group resources: AI Security Evaluations Guide · Build vs Buy vs Fine-Tune AI Models · Open-Weight Model Security Guide · AI Vendor Security Questionnaire Template · NIST AI 600-1 Generative AI Profile Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

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.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.