Context Graphs: The Missing Layer in Enterprise AI

Bigger context windows made AI agents better readers. They didn’t make them right.

Every enterprise software team now has access to an AI agent that can write code, open a pull request, or trigger a deployment on command. Fewer have an agent that can be trusted to answer a much simpler question: is production actually ready for tomorrow’s release? Ask most general-purpose coding assistants that question and the answer comes back fluent and confident, assembled from whatever ticket text, commit messages, and Slack history the model can find. What rarely comes back is the honest answer, which is that the model doesn’t know, because nothing ever told it.

This is not a model quality problem. Frontier models reason well over the information they’re given. The failure sits one level down, in what they’re given to reason over. Enterprise software delivery has spent two decades accumulating operational truth in places that were never built to talk to each other: environment status in a booking spreadsheet, release schedules in a project tracker, data lineage in a catalog the data team maintains for itself, ownership in a wiki page that was accurate at some point last year. Each system is a perfectly serviceable record on its own. None of them agree with each other, and none were designed to be read by anything other than a human who already carries the missing context in their head.

The difference between a window and a graph

The industry has largely spent the last three years solving the wrong half of this problem. Model providers competed on context window size, or how much text a model can hold in a single pass, while connectivity standards such as the Model Context Protocol, introduced in late 2024, solved how a model reaches a data source in the first place, replacing a mess of one-off integrations with a common interface. Both were genuine improvements. Neither addresses what actually determines whether the agent’s answer is correct: the structure of the data sitting on the other end of the connection.

A context window is a capacity question. A context graph is a structural one: a defined set of entities, environments, releases, deployments, datasets, systems, owners, connected by explicit relationships, rather than a pile of unstructured text describing the same entities in prose. Told that a given environment is booked by a specific release, which depends on a specific dataset, which was refreshed by a specific pipeline three hours ago, an agent can answer correctly. Told the same set of facts scattered across forty tickets and a dozen Slack threads, it can only guess plausibly. A bigger window lets a model read more. A graph lets it reason correctly about what it read.

The bottleneck was never how much a model could read. It was whether the operational reality behind the question had ever been organized into something a model, or a person, could actually reason over.

Where the graph already exists

This has a practical implication that most conversations about AI in DevOps skip. Consolidation work done for entirely different reasons, cost control, audit readiness, reducing coordination overhead between environment and release teams, turns out to have been the AI readiness work all along. Organizations that already unified environment booking, release scheduling, and test data provisioning onto one operational model already have a context graph, whether or not they ever framed it that way. Connecting an agent to it is comparatively mechanical.

Organizations that haven’t done that consolidation face a worse problem than they might expect. Buying an AI layer doesn’t skip the underlying work, it just defers the failure, from a visible integration project to an invisible pattern of confidently wrong agent output that erodes trust in the tool faster than any outage would. The same sorting applies to vendors. A chat interface wrapped around fragmented systems of record can demo well and fail in production, because the demo tests the model and production tests the graph.

Enov8’s AI Control Layer is a reasonably direct illustration of what this looks like once it’s actually built. It connects models such as Claude and Copilot to the environment, release, and deployment data that Enov8’s platform already governs, so a question about environment readiness or release risk is answered from current, structured operational data rather than reconstructed from scattered tickets, with every AI-initiated action still routed through human approval and logged for audit. The graph, in this case, was a byproduct of the environment and release management and test data management discipline that came first. The AI connection was added to existing structure rather than substituting for it.

What happens next

Governed context layers, a defined, permissioned graph sitting between operational systems and whatever AI tool a team happens to be using, look like a durable architecture pattern rather than a passing one, in roughly the way data warehouses became the standard substrate for enterprise analytics rather than a temporary workaround. The protocol layer will keep maturing. The more interesting competitive activity sits underneath it, in who has actually done the work of building the graph.

It also raises the stakes on governance faster than most organizations have priced in. Once an agent can plausibly initiate a production action rather than just recommend one, the question of who approved it, and on what basis, becomes as commercially important as whether the recommendation was correct. The near-term winners in enterprise AI for software delivery won’t be decided by whose model reasons best. They’ll be decided by whose graph the model is allowed to reason over.

Learn more: Enov8’s AI Control Layer connects AI tools directly to governed environment, release, and deployment data across the SDLC. Explore Environment & Release Management and Test Data Management at enov8.com.

Securing a Vector Store: Why Data Protection Must Start Before Chunking

Vector stores are quickly becoming a core component of enterprise AI architecture. They allow organisations to index large volumes of information, retrieve relevant context, and power AI assistants, copilots, search tools, and retrieval augmented generation solutions.

However, as more enterprise data is pushed into vector stores, a critical security question is emerging:

Are we securing the data before it becomes AI searchable?

For many organisations, the answer is not yet clear.

The common focus is on securing the AI model, securing the prompt, securing the application, or controlling access to the vector database. These controls matter. But they do not solve the root problem if sensitive data has already been ingested, chunked, embedded, and stored.

Once sensitive information has entered the AI pipeline, it becomes much harder to control.

The Vector Store Security Problem

A vector store is not just another database.

It is a searchable knowledge layer designed to make information easier to retrieve. That is its value. It is also its risk.

If source documents contain personally identifiable information, customer records, payment data, commercial secrets, credentials, or regulated content, that information can be carried into the AI pipeline.

The typical flow looks like this:

  1. Source data is selected
  2. Documents are extracted
  3. Content is chunked
  4. Chunks are converted into embeddings
  5. Embeddings and metadata are stored in a vector database
  6. AI applications retrieve relevant chunks at runtime

The danger is that many organisations focus their security attention from step four onwards.

That is too late.

The real control point is before chunking.

Why Chunking Changes the Risk Profile

Chunking breaks source content into smaller segments so that it can be embedded and retrieved efficiently. This is a normal and necessary part of most AI retrieval pipelines.

But chunking can also fragment context.

A full document may clearly show that a section contains sensitive customer information. Once broken into smaller chunks, the same content may be harder to classify, harder to govern, and harder to trace back to its original sensitivity.

For example, a customer record might be split across multiple chunks:

Name and address in one chunk
Account history in another chunk
Support notes in another chunk
Transaction references in another chunk

Each chunk may look less sensitive in isolation, but together they may still expose regulated or confidential information.

This is why sensitive data discovery and masking must happen before chunking, not after.

Embeddings Are Not a Safe Place to Fix Data

A common misconception is that once text is converted into embeddings, the sensitive data is no longer present in a usable form.

That assumption is dangerous.

Embeddings are mathematical representations, but they are still derived from the original content. They are designed to preserve semantic meaning. If sensitive information influenced the embedding, then the vector store may still support retrieval patterns that expose, infer, or reconstruct sensitive context.

More importantly, most vector stores also retain the original text chunk or associated metadata alongside the embedding. That retained text is often what gets passed back into the AI prompt during retrieval.

Trying to clean up the vector store after ingestion is complex. You need to identify affected chunks, remove or replace embeddings, update indexes, regenerate metadata, and prove that the old sensitive content is no longer retrievable.

That is operationally messy and difficult to evidence.

The better approach is prevention.

The Left of Chunking Principle

To secure a vector store properly, organisations should adopt a simple principle:

Sensitive data must be discovered, classified, masked, or excluded before chunking begins.

This means the AI ingestion pipeline should not start with raw enterprise data. It should start with governed, profiled, and approved data.

Before any document is chunked, the organisation should ask:

Does this content contain PII?
Does it contain payment data?
Does it contain health, financial, legal, or regulated information?
Does it contain internal credentials, secrets, or access tokens?
Does it contain commercially sensitive information?
Is this content approved for AI retrieval?
Should this content be masked, redacted, tokenised, subsetted, or excluded?

Only after these checks should the data move into the chunking and embedding process.

What Good Looks Like

A secure vector store pipeline should include several control points before ingestion.

1. Data Profiling

Source data should be profiled to identify sensitive fields, patterns, and content types. This includes structured data, semi structured data, and unstructured documents.

Profiling should detect known patterns such as names, addresses, phone numbers, emails, account numbers, payment details, dates of birth, tax identifiers, and other regulated attributes.

It should also support business specific rules. For example, policy numbers, claim references, customer identifiers, internal project codes, or application specific sensitive fields.

For more on the role of profiling, see Unveiling the Power of Data Profiling.

2. PII Discovery and Classification

Sensitive data should be classified before it enters the AI pipeline.

Not all sensitive data carries the same risk. Some content may be public. Some may be internal. Some may be confidential. Some may be regulated. Some may be strictly prohibited from AI ingestion.

Classification allows organisations to apply different treatment rules depending on risk.

3. Masking and Redaction

Where data is useful but sensitive, masking should be applied before chunking.

This may include replacing names, account numbers, addresses, or other sensitive values with realistic but non sensitive alternatives.

In other cases, redaction may be more appropriate. For example, removing secrets, credentials, payment card details, or highly regulated information entirely.

The key point is that the chunking engine should only see data that has already been secured.

For a practical introduction to protecting PII, see How to Mask PII Data.

4. Validation

Masking is not complete until it is validated.

Organisations should verify that sensitive values have been removed, replaced, or protected according to policy. This validation should happen before embedding, not after the vector store has already been populated.

Validation should also create evidence. This matters for audit, compliance, and internal risk management.

This is where automated compliance validation becomes important. Enov8’s Data Compliance Suite DevOps Edition is designed to help teams profile, mask, validate, and evidence compliance across the data lifecycle.

5. Metadata Governance

Metadata can be just as risky as the document content.

A chunk may be masked correctly, but its metadata may still expose a customer name, file path, department, case number, system name, or confidential classification.

Metadata should be reviewed and governed as part of the same pre chunking control process.

Access Control Is Necessary, But Not Sufficient

Some organisations assume that vector store security can be solved through access control alone.

Access control is important, but it is not enough.

If sensitive data is stored in the vector database, then the organisation must manage every downstream access path, every AI application, every prompt flow, every retrieval rule, every administrator role, and every integration.

That creates ongoing risk.

A stronger model is to combine access control with data minimisation.

Do not just ask who can access the vector store.

Ask whether the sensitive data should be in the vector store at all.

Why This Matters for Enterprise AI

Enterprise AI is moving quickly. Teams are experimenting with copilots, document search, knowledge assistants, support bots, engineering assistants, and operational intelligence tools.

The business value is clear.

But without strong data controls, vector stores can become unmanaged reservoirs of sensitive enterprise knowledge.

This creates several risks:

Regulatory exposure
Customer privacy breaches
Internal data leakage
Commercial confidentiality issues
AI responses based on inappropriate data
Poor auditability
Difficulty proving what data was ingested
Difficulty removing sensitive data after the fact

The more AI becomes embedded into business operations, the more important these controls become.

The Practical Architecture

A safer enterprise AI pipeline should look like this:

Source Data
Data Profiling
PII and Sensitive Data Discovery
Classification
Masking, Redaction, or Exclusion
Validation
Approved AI Ready Data
Chunking
Embedding
Vector Store
Controlled Retrieval
AI Response

This architecture shifts security to the left.

It ensures that sensitive data is controlled before it becomes searchable AI context.

The Role of Test Data Management Thinking

This is where traditional Test Data Management disciplines become highly relevant to AI.

For years, TDM has focused on profiling, masking, subsetting, generating, validating, and governing data for safe use outside production.

The same principles now apply to AI data pipelines.

The question is no longer only:

Can we provide safe data for testing?

It is also:

Can we provide safe data for AI?

The disciplines are closely aligned. Both require discovery, classification, masking, validation, repeatability, and evidence.

AI does not remove the need for data governance. It increases it.

Final Thought

Securing a vector store is not just a database security exercise.

It is a data lifecycle control challenge.

The most important decision happens before the first chunk is created.

If sensitive data is allowed into the pipeline too early, every downstream control becomes harder. If sensitive data is profiled, classified, masked, and validated before chunking, the organisation starts from a much stronger position.

The rule is simple:

Secure the data before you chunk it.

That is the foundation for safer enterprise AI.

The Invisible Curriculum

AI-Data-Poison

Data poisoning isn’t a future threat. It’s already reshaping how AI systems learn — and the implications for enterprise software are more consequential than anyone is admitting.

There is a foundational assumption baked into nearly every enterprise AI project underway right now: that the model being deployed is trustworthy because it was trained on good data. Security teams worry about who can access the model. Compliance teams worry about what the model outputs. Almost nobody is asking who shaped what the model learned in the first place.

That assumption deserves to be pressure-tested. Urgently.

The Scale Illusion

For most of the past decade, the prevailing view in AI security was that data poisoning — the deliberate corruption of training data to manipulate a model’s behaviour — was a theoretical concern most relevant to small, narrow models. Large foundation models trained on hundreds of billions of tokens, the argument went, would be inherently resistant. You couldn’t meaningfully skew a model that had read most of the internet.

That argument is now empirically broken.

In October 2025, researchers from the Alan Turing Institute, working in collaboration with the AI Security Institute and Anthropic, published what they described as the largest investigation of data poisoning conducted to date. The finding was stark: the number of malicious documents required to successfully embed a backdoor in an LLM was approximately 250 — regardless of whether the model had 600 million parameters or 13 billion. Model size, it turned out, offered essentially no additional protection.

What this means in practice is worth sitting with. An attacker who can publish 250 carefully crafted web pages, forum posts, or Wikipedia edits has a plausible path to embedding persistent, triggerable behaviour into any LLM trained on public internet data. The attack surface isn’t a server or an API endpoint. It’s the open web itself — and it has been accumulating malicious content for years.

The number of malicious documents required to poison a model was near-constant — around 250 — regardless of model size. This directly contradicts the assumption that larger AI systems are inherently more resistant to manipulation.

The Persistence Problem

To understand why this matters more than conventional AI security threats, it helps to think carefully about the difference between a prompt injection attack and a data poisoning attack. Prompt injection is a runtime problem: an attacker feeds malicious instructions into a live model to override its immediate behaviour. It’s dangerous, but it is also transient and, in principle, detectable. The model behaves oddly in the moment. Logs exist.

Data poisoning is different in kind, not just degree. The malicious instruction isn’t delivered at runtime — it is baked into the model’s weights during training, creating what researchers call a backdoor: a dormant behaviour that activates only when a specific trigger phrase or condition is met. The model passes every standard benchmark. It performs well on evaluation sets. It looks, by every conventional measure, exactly like a well-behaved system — until it isn’t.

The medical AI research published in the Journal of Medical Internet Research in January 2026, synthesising findings from 41 security studies across NeurIPS, ICML, and Nature Medicine, puts hard numbers on the detection problem. Detection delays for poisoning attacks commonly range from six to twelve months, and may extend to years in federated or privacy-constrained environments. The attack does not announce itself. It waits.

Perhaps most unsettling: the research found that attack success depends on the absolute number of poisoned samples rather than their proportion of the training corpus. There is no safety in scale. An organisation that assumes its risk is mitigated because it trains on large datasets is operating on a false model of the threat.

The Expanding Attack Surface

If the threat were confined to foundation model training — something only OpenAI, Google, and Anthropic need to worry about — this would be consequential but at least contained. It isn’t contained.

Lakera’s 2026 threat landscape overview documents something that should recalibrate how every enterprise thinks about its AI infrastructure. In 2025, poisoning attacks expanded beyond training pipelines to target three new vectors: retrieval-augmented generation (RAG) systems, third-party tool integrations including MCP servers, and synthetic data pipelines used to generate training data at scale.

The RAG vector is particularly important for enterprise deployments. A RAG system works by retrieving relevant documents at runtime to augment a model’s response. If those documents — the knowledge base, the document store, the SharePoint index — contain poisoned content, every query that retrieves that content is compromised. This isn’t a training-time problem. It’s an ongoing, live exposure that grows as the document corpus grows.

The synthetic data vector is even more troubling in the long run. The so-called Virus Infection Attack, benchmarked at ICML 2025, demonstrated that poisoned content can propagate through synthetic data generation pipelines — meaning that a single corrupted source, passed through a data augmentation or distillation step, can produce thousands of corrupted training examples. Poisoning, in this model, is not just persistent. It is self-replicating.

Check Point’s 2026 Tech Tsunami report calls prompt injection and data poisoning the “new zero-day” threats in AI systems. Unlike a software CVE, there is no patch. Maintaining model integrity becomes a continuous operational discipline.

The Agentic Multiplier

There is a timing dimension to this problem that makes 2026 a particularly critical inflection point. For most of the past three years, enterprise AI deployments have been largely assistive: models that answer questions, summarise documents, draft text. A poisoned model in this configuration is dangerous, but human oversight creates a natural circuit-breaker. Someone reads the output before anything consequential happens.

That circuit-breaker is being systematically removed. Agentic AI — systems that can make decisions, execute workflows, and interact with external services without human review of each step — is transitioning from pilot to production across financial services, healthcare, government, and logistics. Analysts broadly agree that 2026 marks the mainstreaming of this shift.

The consequence for data poisoning risk is non-linear. A backdoor embedded in an agentic AI doesn’t just produce a bad answer that a human can catch. It executes a bad action — allocates resources, approves a transaction, triggers an API call, modifies a record — before any oversight occurs. As one security researcher framed it, when something goes wrong in an agentic system, a single introduced error can propagate through the entire pipeline and corrupt it. The attack surface and the blast radius both expand simultaneously.

What Responsible Deployment Actually Requires

The enterprise response to this threat has so far been inadequate — not because organisations lack good intentions, but because the conventional security playbook doesn’t map cleanly onto the problem. You cannot patch a poisoned model. You cannot firewall your way out of a corrupted training pipeline. The controls have to be upstream, continuous, and architectural.

The JMIR research framework points toward what rigorous defence looks like in practice: ensemble disagreement monitoring, where multiple models cross-check each other for divergent outputs that might indicate backdoor activation; adversarial red teaming specifically designed to probe for trigger-conditioned behaviour; data provenance controls that can trace every training document back to a verifiable source; and governance requirements that treat model integrity as an ongoing audit obligation rather than a one-time deployment check.

Fortinet’s analysis of the threat landscape adds an important regulatory dimension: OWASP’s 2025 Top 10 for LLM Applications now formally classifies data and model poisoning as a recognised integrity attack category, with particular emphasis on external data sources and open-source repositories. NIST’s adversarial ML taxonomy and ENISA’s AI Cybersecurity Challenges report both flag supply chain risk as a primary concern. The regulatory framing is catching up to the technical reality — but organisations that wait for regulation to force the issue will have already absorbed the exposure.

The fundamental strategic reframe required here is this: AI trustworthiness is not a property of the model at the moment of deployment. It is a property of the entire data supply chain, maintained continuously, over the full operational lifetime of the system. Organisations that build their AI governance around deployment-time checks are solving for the wrong moment.

The curriculum that shapes how a model behaves is written long before anyone asks it a question. The question for every enterprise deploying AI in 2026 is whether they know who wrote it.