Skip to main content

AI Security Best Practices Start With Your Data

|

0 minutos de lectura

See how Forcepoint stops AI data risk
  • Lionel Menchaca

AI security best practices are the technical, procedural and governance controls that protect AI models, the infrastructure that runs them and the data they touch. They span three layers: the model (training data integrity, supply chain risk and adversarial inputs), the infrastructure (access controls, identity and audit trails) and the interaction (every prompt, upload, connector and AI-generated output that creates a new path for sensitive data to move).

Most security programs manage one of these layers and leave the other two largely unmanaged. The eight practices below cover all three, in the order that tends to work: data first, then access, then enforcement. One thread runs through every one of them. The highest-leverage AI security investments start with data, not the model.

The cost of getting this wrong keeps climbing. IBM's 2026 breach report puts the global average breach cost at a record $4.99 million, up 12% from last year. One in four malicious breaches was AI-enabled, a 56% increase over last year, and those breaches cost an average of $6 million. The detail that matters most for this checklist comes from IBM's own breakdown: among organizations that suffered an AI-related breach, 92% lacked proper AI access controls, and only 40% of organizations used access controls on AI models and data at all.

What Is AI Security?

AI security is the practice of protecting AI systems and the data they touch from unauthorized access, misuse and manipulation. It covers models, pipelines, agents and integrations, along with the prompts, embeddings and outputs that move between them. It is distinct from using AI to strengthen security operations, a related topic that our AI security guide covers.

Scope matters, because the controls differ. Generative AI security governs the data that flows into and out of AI tools through prompts, uploads and outputs. Classification, data loss prevention (DLP) and shadow AI discovery handle most of it. Agentic AI security is a harder problem. Agents take actions rather than generate text, operate with persistent access, chain tool calls and can act on a prompt injection they never identify as malicious. This post covers both and calls out where the controls diverge.

The AI Security Risks That Matter Most

AI changes the attack surface in three ways. A model can be manipulated through its inputs, not just its infrastructure. AI compresses data movement into one interface, so a single ungoverned interaction can reach more sensitive data than most traditional exfiltration methods. And adoption outpaces governance, which is how shadow AI takes hold: employees use tools IT has not evaluated, on devices that may be unmanaged, against data nobody has classified.

The table below maps seven risks to the practices that contain them. Our post on AI data security risks goes deeper on the ones mature teams overlook.

AI security risks and the practices that contain them

Risk
How it happens
What it exposes
Practices
Prompt and upload leakageUsers share contracts, source code or credentials with an AI toolRegulated data, intellectual property and secrets1, 4
Shadow AIEmployees adopt tools IT never evaluated, often on consumer accountsData in unmanaged tenants2, 4
Overpermissioned accessAn assistant or agent inherits more access than its task needsContent the user was never meant to see1, 3
Prompt injectionHidden instructions arrive in content the model retrieves or processesAny data or action the model can reach3, 5
Agent overreachAgents act on standing credentials without a human gateRecords, messages and workflows6
Supply chain compromiseA tampered model, library or plugin enters the AI stackModel behavior and downstream data7
Training data poisoning and extractionAltered datasets teach bad behavior, or model outputs reveal training dataModel integrity and proprietary data1, 7

8 AI Security Best Practices, in the Order That Works

1. Classify and Map Your Data Before AI Touches It

Every other control depends on knowing what data exists, where it lives and who or what can reach it. AI tools rarely create exposure on their own. They surface what overshared folders, stale permissions and unclassified repositories already hold.

  • Discover and classify before you connect. Scan cloud, SaaS and on-premises stores for sensitive data before a copilot, agent or model gets access. Policy cannot protect data that nobody has labeled.
  • Classify training and fine-tuning data first. If sensitive data enters a training pipeline unclassified, the model becomes a retrieval mechanism for information it was never meant to surface. Hold training data to the same data classification for AI standard you apply to production systems and scope it to the minimum the use case needs.
  • Remove exposure at the source. Close stale shares, public links and overpermissioned repositories before an AI assistant can index them. Fixing one overshared folder protects every tool that connects to it.

2. Inventory Every AI Tool and Close the Shadow AI Gap

Shadow AI is rarely malicious. It is a productivity response to friction: employees find tools that help them work faster and use them. The goal is not to lock everything down. It is to make the approved path easier than the risky one, then enforce at the boundary for everything else.

  • Build an AI tool inventory before writing policy. Map real usage across web traffic, endpoint activity and SaaS. Approved lists reflect intent, not reality, so include chatbots, notebook tools, browser extensions and AI coding assistants.
  • Allowlist by tenant. "ChatGPT is approved" is not a control. Name the approved enterprise tenant, the approved clients and the approved integrations. Consumer and enterprise accounts for the same tool are different risk surfaces.
  • Block and redirect, not just block. If you block an AI tool without offering a sanctioned alternative, users route around the control. Steer them to approved tools instead.
  • Centralize enforcement through inspectable control points. Route AI access through points where you can apply consistent policy, generate audit logs and measure outcomes. Our AI security tools guide walks through the secure web gateway and cloud access security broker capabilities that make discovery operationally feasible.

3. Apply Least Privilege and Zero Trust to Every AI Integration

AI data exposure often follows one pattern. A model or agent inherits broader permissions than its task requires, retrieves content the user was not entitled to see and returns it in an output that looks like a normal response. That is an access control failure expressed through an AI interface.

The SearchLeak flaw shows how it plays out. In June 2026, Microsoft patched a critical vulnerability in Microsoft 365 Copilot Enterprise Search, tracked as CVE-2026-42824, that let one click on a crafted link pull a user's email, calendar entries and files. Microsoft fixed it on the backend, and customers did not need to act. The lasting lesson is the blast radius. Copilot could reach whatever the signed-in user could, so the damage depended on how much data that user had access to. Our look at Copilot security risks covers the broader pattern.

  • Scope every integration to its task. AI assistants and agents should not inherit the full access of the user or service account they run under. Grant the minimum the specific workflow requires.
  • Verify every request, not just every login. Zero trust for AI means no implicit trust for a user, an agent or a connector, whatever network or tenant the request comes from.
  • Require role-based access and multifactor authentication on AI models and data. IBM counts both among the AI access controls that 92% of AI-breached organizations lacked.
  • Enforce retrieval boundaries in RAG pipelines. Retrieval-augmented generation (RAG) systems should return only content the requesting user is authorized to access, not everything in the connected knowledge base. Check authorization at retrieval time, not only at the application layer.
  • Log connector scope and retrieval activity. Treat AI connector activity as first-class audit evidence. What did the agent retrieve, from where and on whose behalf? Incident response needs that trail.

4. Control Prompts, Uploads and Outputs

Much AI data leakage happens when users share context with a model. A user pastes a contract for summarization. An employee uploads a spreadsheet for formatting help. A developer drops API credentials into a prompt to debug an integration. None of these is a sophisticated attack. Each is normal productivity behavior that becomes an AI data leakage event when the wrong tool or tenant is involved. Treat prompts, uploads and outputs as policy-enforced egress paths, not training topics.

  • Inspect prompts inline. Apply prompt inspection to detect sensitive content before submission, then block, coach or require justification based on policy. Keyword blocking is brittle. Classification-driven policy scales because it answers "what data is this?" before deciding whether it can go there.
  • Control uploads. Block sensitive file uploads to AI tools unless the tool, tenant and use case are explicitly approved. The classification logic that governs email and endpoint egress should extend to AI upload paths.
  • Apply policy to AI-generated output. Outputs that aggregate, summarize or reformat sensitive data can be as risky as the inputs. Check them before they are downloaded, pasted into other systems or shared externally.
  • Define data tiers that map to enforceable actions. Start from your existing data security policy and add AI. At minimum, set what is never allowed in any generative AI tool (credentials, regulated identifiers, unreleased financials and source code), what is allowed only in approved enterprise tools and what is permissible with logging.
  • Stay consistent across channels. Apply the same logic across web, endpoint and SaaS so users cannot bypass guardrails by switching devices or applications. For where legacy rules fall short, see AI security versus traditional DLP.

5. Contain Prompt Injection by Design

Prompt injection is a design problem, not a training problem. The safest operating assumption is that untrusted content will eventually influence an AI system's behavior, whether through a user's prompt, a retrieved document or a web page an agent processes. Indirect injection is the hardest case. Malicious instructions sit in content the model processes automatically, so the user never sees them and the model acts on them anyway.

  • Treat retrieved content as hostile input. Documents, web pages, emails and database records can all carry instructions.
  • Separate instructions from data. Where the architecture allows, distinguish what the model is told to do from what it is only processing. Separation shrinks the surface for injection.
  • Limit what a manipulated model can reach. An injection that lands in a system with classified, access-scoped data does limited damage. This is where practices 1 and 3 pay off.
  • Review against OWASP's LLM Top 10. OWASP updated the list for 2026 and pairs it with a separate Top 10 for agentic applications. Map each risk to a specific control before a new AI system or workflow ships.
  • Red-team for injection before production. Make injection testing part of standard security reviews.

6. Govern AI Agents as Their Own Category

Agents deserve separate treatment because they act. They authenticate with legitimate tokens, hold access long after deployment and chain tool calls without a human reviewing each step. This section is a summary. For depth, see our agentic AI security best practices and our post on governing agents before they act.

  • Register every agent with an owner and a defined scope. You cannot govern agents you cannot list.
  • Broker credentials instead of issuing them. Agents should request temporary, revocable access rather than hold standing credentials. Forcepoint AI Agent Gateway, now in limited GA, does this as a Model Context Protocol (MCP) gateway between each agent and the applications it calls.
  • Gate irreversible actions behind human approval. Sending messages, modifying files, changing permissions and triggering external workflows all need a deterministic checkpoint. Autonomous execution without one is a blast radius problem.
  • Log every action and retrieval. Record which agent acted, on whose behalf, through which tool and against what data.
  • Register every agent with an owner and a defined scope. You cannot govern agents you cannot list.
  • Broker credentials instead of issuing them. Agents should request temporary, revocable access rather than hold standing credentials.
  • Gate irreversible actions behind human approval. Sending messages, modifying files, changing permissions and triggering external workflows all need a deterministic checkpoint. Autonomous execution without one is a blast radius problem.
  • Log every action and retrieval. Record which agent acted, on whose behalf, through which tool and against what data.

7. Secure Training Data, Models and the AI Supply Chain

Organizations rarely build AI systems from scratch. They pull models from public hubs, use third-party libraries, add plugins and consume capabilities through APIs. Each dependency adds risk at the infrastructure layer that is hard to detect without deliberate controls.

  • Verify model provenance before deployment. Public model hubs offer limited guarantees about training data or tampering. Prefer verified publishers and validate checksums where available.
  • Maintain an AI bill of materials. List every model, library, API and plugin your AI systems depend on, and include AI libraries in software composition analysis. You cannot respond to a supply chain incident involving components you cannot name.
  • Treat plugins and extensions as privileged integrations. AI-native plugins and browser extensions often request broad permissions. Evaluate them with the rigor you apply to third-party SaaS.
  • Protect training data and model artifacts. Track dataset provenance, scan for poisoning before each training run and restrict access to weights and checkpoints the way you restrict production source code.

8. Govern Continuously and Plan for AI-Specific Incidents

Static policy does not hold when new tools, agents and data connections arrive faster than security teams can review them. Treat AI security as a continuous program rather than a one-time deployment checklist.

  • Review your inventory quarterly. Adoption moves faster than annual reviews can track. A quarterly cadence catches shadow AI, newly approved tools and expanded integrations before they create unmanaged exposure.
  • Extend DLP policy to AI channels without rebuilding it. The classification taxonomy and policy logic you built for endpoints, email and SaaS should carry over. DLP for AI works when the same classifiers govern traditional channels and AI interactions from a shared policy platform.
  • Run continuous exposure discovery. Drift builds quietly as new SaaS connections, sharing patterns and AI connectors open blind spots between point-in-time assessments. Data security posture management makes that discovery continuous instead of periodic.
  • Write an AI incident response plan. Decide in advance what counts as an AI incident, who can disable a connector or agent, how to preserve prompt and retrieval logs and who owns regulator and customer notification. Standard playbooks often assume a human actor.
  • Assign ownership across security, data and product teams. Define who owns model security, who owns data policy for AI and who owns the tool approval workflow, then hold each accountable to a specific set of controls.

Frameworks That Map to These Practices

No single framework covers all eight practices. Most programs pair a governance standard with an application-layer checklist, then add regional rules where they apply.

AI security frameworks and where each fits

Framework
What it covers
Best used for
Practices
NIST AI Risk Management FrameworkFour functions: Govern, Map, Measure and ManageProgram-level AI risk governance8
ISO/IEC 42001:2023Requirements for an AI management systemInternational certification and audit8
OWASP Top 10 for LLM Applications (2026)Application-layer risks such as prompt injection and sensitive information disclosurePre-deployment reviews and testing3, 4, 5
OWASP Top 10 for Agentic ApplicationsRisks that appear when models gain tools, memory and authority to actAgent design reviews6
EU AI ActRisk-tiered obligations. Transparency duties applied from Aug. 2, 2026. High-risk deadlines moved to Dec. 2, 2027 and Aug. 2, 2028Organizations with EU exposure8

NIST and ISO set the governance layer, and ISO/IEC 42001 certification looks past written policy, as what ISO 42001 auditors check explains. OWASP supplies the application-layer checklist. The EU AI Act is the one to watch for dates. The Digital Omnibus moved the high-risk deadlines this summer, so check your systems against the current schedule instead of a 2025 summary. Teams ready to formalize all of this can build an AI security framework from these pieces.

Why Data-First Sequencing Works

Most organizations do not control how the models they use were trained or how those models behave under adversarial input. What they do control is their own data: where it lives, how it is classified and who or what can reach it. It is the one variable an organization owns end to end, which is why it has to be the starting point and not an afterthought bolted on after the AI rollout.

IBM's findings make the case. Its analysis found that the AI incidents were less about model selection and more about the security of the model and its surrounding environment, and missing access controls sat at the center of most of them. That maps onto every practice above. A prompt injection that reaches only classified, access-scoped data does limited damage, because the attacker inherits the restrictions that already applied to that data. A compromised third-party model matters less if it never received broad access to unclassified repositories. An overpermissioned agent is a far bigger problem than the same agent working against a well-governed data environment. The vulnerability does not disappear when data is governed first. Its blast radius does.

This is where Forcepoint DSPM and Forcepoint DLP do different, complementary work. DSPM works upstream. It finds what sensitive data exists, where it lives and who or what is overexposed to it before an AI tool or agent connects. DLP works downstream. When a prompt, upload or AI-generated output tries to move that data, it checks the move against policy. Running both on a shared classification layer closes the gap IBM's numbers point to, because access controls fail most often when nobody classified the data closely enough to write the right rule for it.

The organizations that get furthest classify data first, scope access second and let policy enforcement extend outward from that foundation, whether the AI system is a sanctioned platform such as Microsoft 365 Copilot or a tool nobody in IT has reviewed. Every practice in this checklist gets easier to operationalize once the sequence is right and harder to sustain when it is not. To evaluate vendors against this sequence, see how six AI security solutions compare on the same data-layer criteria.

Enforcing this checklist means governing data at the point where AI touches it, not after the fact. Forcepoint AI Data Security applies that sequence across sanctioned AI, shadow AI and autonomous agents from one policy framework.

Frequently Asked Questions

What is AI security?

AI security is the practice of protecting AI systems and the data they touch from unauthorized access, misuse and manipulation. It covers models, pipelines, agents, integrations and the prompts and outputs that move between them. Most failures trace back to data security basics, such as overpermissioned access and unclassified data, expressed through an AI interface.

What are the biggest AI security risks?

Sensitive data leakage through prompts and uploads, shadow AI, overpermissioned access, prompt injection, agent overreach and supply chain compromise lead the list. IBM's 2026 data points to access gaps as the common thread: 92% of organizations with an AI-related breach lacked proper AI access controls.

What are the most important AI security best practices?

Classifying data before it reaches AI, applying least privilege to every integration and building an AI tool inventory before writing policy reduce risk across the widest range of threats. Teams planning a rollout can follow the steps to adopt AI safely.

What is the difference between generative AI security and agentic AI security?

Generative AI security governs data moving into and out of AI tools through prompts, uploads and outputs. Agentic AI security governs autonomous systems that take real-world actions, such as sending messages, modifying files or calling APIs, which creates consequences beyond a single interaction.

Which framework should my organization use for AI security governance?

The NIST AI Risk Management Framework is the common baseline for U.S. organizations, and ISO/IEC 42001 serves organizations that need an internationally recognized management system standard. Most programs align to one of the two for governance and layer our OWASP LLM Top 10 breakdown on top for application-specific risks.

How does shadow AI affect AI security?

Shadow AI, meaning AI tools employees use without IT evaluation or approval, is one of the largest sources of ungoverned data exposure. Build a usage inventory before writing policy, because approved tool lists reflect intent rather than actual usage.

How does zero trust apply to AI?

Zero trust for AI means no implicit trust for any user, agent or connector. Verify every request, scope each integration to the minimum access its task needs and log what each one retrieves. A request does not earn trust because it comes from inside the tenant.

Are ChatGPT, Gemini and Copilot safe for enterprise data?

They can be, when an organization deploys them under an enterprise tenant with access controls, data classification and policy enforcement in front of them. Consumer accounts for the same tools carry different risks, and a patched flaw such as SearchLeak shows that managed services can still expose whatever a user can reach. Our ChatGPT security guide covers tool-specific detail.

  • lionel_-_social_pic.jpg

    Lionel Menchaca

    Lionel Menchaca has covered data security at Forcepoint since 2020, writing about DLP, DSPM, insider risk and AI security for security and IT leaders. He works with Forcepoint X-Labs threat researchers to turn their findings on emerging threats, from AI-targeted supply chain attacks to prompt injection, into practical guidance, and he leads the company's editorial strategy across the blog and the X-Labs newsletter. Before Forcepoint, Lionel founded and ran Dell's corporate blog for seven years and spent two decades helping enterprise tech companies explain security, cloud and AI.  

    Leer más artículos de Lionel Menchaca

X-Labs

Reciba información, novedades y análisis directamente en su bandeja de entrada.

Al Grano

Ciberseguridad

Un podcast que cubre las últimas tendencias y temas en el mundo de la ciberseguridad

Escuchar Ahora