Secure AI Framework

Also known as: SAIF · Google SAIF

On this page 7

The Secure AI Framework (SAIF) is a conceptual security framework published by Google in 2023 that describes how organizations should protect machine learning and generative AI systems across their entire lifecycle, from training data to deployed applications. In AI security, it serves as a structured bridge between classic security engineering and the new risks of models, such as prompt injection, data poisoning and model theft.

SAIF is not a certification scheme or a law. It is a set of principles, a risk map and practical controls that security, data science and product teams can use as a shared vocabulary. Google later contributed related work to the Coalition for Secure AI, an industry group hosted by OASIS, which broadened the framework’s audience beyond one vendor.

The six core elements of SAIF

SAIF is built on six core elements that extend familiar security practice to AI rather than replacing it. The underlying idea is that most AI systems still run on ordinary infrastructure, so existing controls remain the foundation, while model-specific threats require targeted additions.

The table below lists the elements with their practical meaning.

Core elementPractical meaningExample control
Strong security foundationsApply proven controls to AI infrastructureAccess control on training data stores
Extended detection and responseBring AI into threat monitoringAlerts on unusual model queries
Automated defensesMatch the speed of AI-enabled attackersAutomated filtering of malicious prompts
Harmonized platform controlsAvoid fragmented protection across teamsShared model serving guardrails
Adapted controlsCreate fast feedback loopsRed teaming results fed into fine-tuning
Contextualized riskJudge AI risk within business processesRisk review before agent deployment
SAIF core elements and their practical meaning

The elements are deliberately broad. Their value lies in forcing teams to ask whether every lifecycle stage has an owner, a control and a detection signal.

How the SAIF risk map is organized

In 2024 Google added a SAIF risk map that divides an AI system into four component areas: data, infrastructure, model and application. Each identified risk is tied to the component where it is introduced, the component where it is exposed and the controls that mitigate it, which makes responsibility explicit across teams.

The following table shows representative risks for each component area.

Component areaRepresentative risksTypical owner
DataData poisoning, unauthorized training dataData engineering
InfrastructureModel source tampering, model exfiltrationPlatform security
ModelModel evasion, sensitive data disclosureMachine learning team
ApplicationPrompt injection, insecure model output, rogue actionsProduct engineering
Representative risks by component area

The risk named rogue actions is particularly relevant for AI agents, because a model connected to tools can execute harmful operations when manipulated. SAIF treats limited permissions and human approval for sensitive actions as primary mitigations.

SAIF compared with other AI security frameworks

SAIF is one of several reference frameworks, and each answers a different question. MITRE ATLAS catalogs adversary tactics and techniques, the OWASP Machine Learning Security Top 10 and the OWASP list for language model applications rank common vulnerabilities, and NIST AI 100-2 defines a taxonomy of adversarial machine learning attacks.

FrameworkMain focusBest used for
SAIFLifecycle controls and risk ownershipDesigning an AI security program
MITRE ATLASAdversary tactics and techniquesThreat modeling and red teaming
OWASP Top 10 listsMost common vulnerabilitiesDeveloper awareness and testing
NIST AI 100-2Attack taxonomy and terminologyConsistent classification of attacks
How SAIF relates to neighboring frameworks

In practice, mature teams combine these sources: SAIF structures the program, ATLAS feeds threat scenarios, and OWASP lists guide test cases. None of them is a regulatory requirement on its own, although they can support compliance evidence under broader rules.

Applying SAIF in an organization

Adoption usually starts with an inventory of AI systems, including third-party models and internal prototypes, followed by AI threat modeling against the risk map. Google also published a self-assessment questionnaire that helps teams identify which risks apply to their deployment.

Typical first steps that follow the framework include:

  • Recording model provenance with model signing and an AI bill of materials
  • Restricting training data access and logging data lineage
  • Placing input and output filtering around language model applications
  • Running regular red teaming and feeding results back into controls
  • Giving agents least-privilege tool access and approval gates

Limitations and common misunderstandings

SAIF is high-level by design. It names what must be protected and why, but it does not prescribe exact configurations, thresholds or test procedures, so organizations must translate it into concrete technical standards. Teams that cite SAIF without that translation often achieve little beyond a policy document.

Another misunderstanding is that SAIF applies only to Google products. The framework is vendor-neutral in substance and applies to models from any provider. Finally, adopting SAIF does not make a system secure; prompt injection, for example, has no complete technical fix and still requires defense in depth.

The table below lists frequent mistakes and how to correct them.

MistakeConsequenceCorrection
Policy without technical standardsControls exist only on paperDefine testable configurations
Ignoring third-party modelsUnreviewed supply chain riskInclude vendors in the inventory
One-time assessmentControls drift as models changeRepeat reviews at each release
No owner per riskGaps between teamsAssign owners by component area
Frequent SAIF adoption mistakes

Treating the framework as a living program rather than a one-time project is the most reliable way to keep pace with new attack techniques and model updates.

The short version

AI systems can be attacked in new ways. Someone can poison the data a model learns from. Someone can trick a chatbot with hidden instructions. Someone can steal the model itself.

SAIF is a checklist and map for these dangers. It shows each part of an AI system and the risks that belong to it. It also says who should guard each part. Think of it as a building safety plan for AI: it covers the foundation, the doors, the alarms and the people inside.

Where it makes a difference

A regional insurance company plans to launch an AI claims assistant that reads customer emails, retrieves policy documents and can open refund requests. Before release, the security team maps the system against the SAIF risk map. The review finds that the application layer exposes prompt injection through incoming emails and that the agent could trigger rogue actions by filing refunds without checks.

The team adds content filtering for retrieved documents, limits the assistant to read-only access for policy data and requires a human adjuster to approve every refund above a small threshold. A red team exercise later embeds hidden instructions in a test email. The assistant drafts a suspicious refund, but the approval gate blocks it, and monitoring raises an alert. The launch proceeds with documented, owned controls for each identified risk.