Independent analysis by NHI Mgmt GroupSource article: Query, “What I learned testing AI agents against real security data” (August 3, 2026)

TL;DR: AI agents can return complete-looking security answers after consulting only part of the available evidence, and Query’s testing shows source completeness falls sharply as the number of connected sources grows. Partial telemetry becomes a governance problem, not just an accuracy problem, because confidence can mask missing context and end the investigation early.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Query's blog post: AI agents can produce confidently incomplete security investigations when they answer from only part of the connected data estate.

Why it matters: Security and IAM practitioners need to treat source completeness as a control problem, because agent confidence can hide missing evidence across federated tools, logs and identity-linked investigations.


Context

An AI investigation workflow can fail even when every tool call succeeds, because a successful query is not the same as complete evidence coverage. In federated security environments, format mismatches, field mapping gaps and source selection errors can make a data source disappear silently from the agent's reasoning path.

Query's testing shows why this matters for security operations: once an agent can reach many sources, the hard part becomes knowing whether it actually consulted enough of them to justify confidence. That is an identity and governance issue as much as an analytics issue, because access to data does not guarantee accountable use of that access.


Key questions

Q: How should teams handle AI investigations that stop on partial evidence?

A: Treat partial evidence as a failed investigation, not a finished one. Require the agent to show which sources it queried, which sources it omitted and why the omission was acceptable. If the workflow cannot prove source coverage, the answer should remain provisional because confidence without coverage is a control failure.

Q: What signs show an AI agent has under-queried a security estate?

A: An AI agent has under-queried a security estate when it produces a neat conclusion from too few sources, skips obvious control planes, or asks no follow-up queries after finding thin evidence. Other signs are narrow tool use, repeated reliance on one dataset, and no attempt to reconcile conflicting logs or permissions.


Technical breakdown

Why source completeness fails in federated security tools

Federated security tools expose multiple sources through a common query layer, but each source still has its own field names, timestamp formats, pagination rules and response shapes. If the agent asks for the right data in the wrong shape, the system can return an empty result set without error. That is a structural failure mode, not a model hallucination. The problem gets worse when the agent treats a null result as evidence of absence instead of evidence of a failed lookup or a misaligned schema. This is why completeness has to be measured separately from correctness. See the AI Agent Observability, Audit and Incident Response Guide.

Practical implication: Measure whether every relevant source was actually queried and whether zero-result responses were validated before the agent can close an investigation.

How normalization changes agent retrieval depth

A normalized layer changes what the model sees before it reasons. Instead of passing raw source records, it can align fields, constrain the returned shape and make missing data easier to notice. That does not eliminate errors, but it gives the system a place to detect them before the model declares the job done. In practical terms, normalization is not just a convenience layer. It is a control point for evidence selection, field consistency and downstream confidence. Without it, the agent can confuse broad access with broad understanding.

Practical implication: Use a normalization layer to standardise record shape, expose missing fields and make source omission visible before the model concludes.

Why MCP scale changes investigation quality

Model Context Protocol makes it easier for an agent to reach many tools, but scale changes the cognitive load of the investigation path itself. As the number of connected sources rises, the agent must decide which sources to query first, which ones deserve follow-up and when to stop. That decision-making becomes a retrieval policy problem as much as a model problem. If the agent stops after a shallow pass, it may look efficient while silently under-querying the estate. The failure is not the protocol. The failure is assuming that reachability guarantees sufficient coverage. See the MCP Security Guide.

Practical implication: Treat tool expansion as a retrieval-governance problem and test whether the agent still deepens its search as the environment grows.


Threat narrative

Attacker objective: The practical objective is not stolen access but an authoritative-looking answer that omits critical evidence and ends the investigation early.

  1. Entry occurs when an AI agent is connected to multiple security data sources and can query them through raw tool interfaces or a normalized layer.
  2. Credential access is not the core issue here; the exploit path is evidence access, where the agent can reach the data but may not retrieve it in a complete or comparable form.
  3. Escalation happens when the agent interprets partial retrieval as sufficient context and moves to a confident answer without checking for missed sources.
  4. Impact is a finished investigation built on incomplete evidence, which can suppress follow-up, delay detection and hide the real scope of an incident.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Confidently incomplete is the right failure name for this class of agent error. The dangerous outcome is not an obviously bad answer, but a polished answer built on only part of the estate. That shifts the control problem from detection of wrong conclusions to detection of missing evidence. For identity and security teams, the governance question is whether an agent can prove it consulted the sources that matter before it closes the case.

Source completeness should become a first-class security metric. Investigation quality is currently judged by plausibility, speed or user confidence, none of which prove coverage. The article's finding shows that a tool can scale queries while still narrowing attention, so practitioners need a measure that tracks consulted sources versus required sources. That turns agent oversight into an evidence-accountability problem, not a usability metric.

Agent access to security data creates a new trust boundary that deserves observability and incident response. Once an agent can query many sources, the risk is not only misuse of access but misuse of silence, where empty or partial results are treated as complete. That is especially important in identity-linked investigations, where missing context can misstate who did what and when. Practitioners need to treat answer completeness as part of the control plane.

Normalization is becoming a governance control, not just an architecture choice. A normalized layer can surface missing fields, standardize shapes and make partial retrieval inspectable before the model concludes. That does not remove the need to monitor mappings, because a bad transformation can create the same confident incompleteness from the other side. The governance lesson is that data shape and evidence coverage now sit inside the same control conversation.

The named concept here is confident incompleteness. It describes a system that looks decisive while silently dropping part of the evidence base. That matters because agents are increasingly trusted to triage, correlate and summarize security telemetry at scale. The practitioner implication is to verify coverage before conclusion, not after a polished answer has already shaped the response path.

From our research library:

What this signals

Evidence completeness will become the differentiator between usable and unsafe security agents. A workflow that can query many systems but cannot prove it reached the right ones will increasingly fail governance review. The practical shift is from trusting answer quality to verifying evidence coverage before the agent is allowed to close a case.

Confident incompleteness is a control gap, not a model quirk. Once agents operate across identity-linked telemetry, the missing piece is often not access but proof that the right access was exercised. That is where agent authorisation and observability start to converge: one governs what the agent may reach, the other shows what it actually used.

70% of organisations grant AI systems more access than they would give a human employee performing the exact same job. according to the 2026 Infrastructure Identity Survey That level of privilege expansion will only increase the damage when an agent answers from partial evidence, because broad access without evidence discipline turns confidence into a liability.


For practitioners

  • Define source-completeness thresholds Set a minimum percentage of required sources that must be queried for each investigation type before an agent can close the case.
  • Validate zero-result handling Test how the agent behaves when a source returns no rows because of formatting, mapping or query-shape mismatch rather than true absence.
  • Instrument query depth and follow-up rates Track how many sources the agent touches, how many it revisits and whether shallow one-pass searches are replacing deeper investigation.
  • Gate closure on evidence coverage Require the workflow to show which sources were consulted and which were intentionally excluded before it can mark an investigation complete.

Key takeaways

  • AI agents can appear reliable while consulting only a fraction of the evidence needed for a security decision.
  • The control gap is not just bad output, but silent omission of sources that should have been queried.
  • Practitioners need evidence coverage checks, not just access controls, before an agent is allowed to close an investigation.

Related NHI Mgmt Group resources: AI Agent Observability, Audit and Incident Response Guide · AI Agent Authorisation Guide · AI Agent Identity Security Buyer's Guide · MCP Security Guide


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 ATT&CK address the attack and risk surface, while NIST AI RMF sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseAI agents overreach when broad data access is not matched by evidence discipline.
ASI08 — Cascading FailuresPartial retrieval can cascade into confident but incomplete conclusions.
Recommendation — Constrain agent authority to the sources and actions each investigation actually needs. Test agent workflows for failure propagation when one source returns empty or mismatched data.
NIST AI RMFMANAGE — AI Risk ManagementThe article is about governing AI behaviour when evidence coverage is incomplete.
Recommendation — Establish controls that verify evidence coverage before an agent is allowed to close a case.
MITRE ATT&CKTA0007 — DiscoveryThe problem is a discovery failure across distributed data sources during investigation.
Recommendation — Map under-querying to discovery gaps and hunt for investigations that skip relevant sources.

Key terms

  • Federated Query Execution: The process of running a single investigative hypothesis across multiple data sources at the same time. In security operations, this matters because attacker behaviour is often only visible when SIEM, EDR, identity, and threat intelligence data are correlated together.
  • Normalization Layer: A normalization layer converts disparate security records into a common schema before downstream analytics or automation use them. It reduces runtime interpretation errors by making identity, endpoint, cloud, and NHI events comparable at the point of ingestion.
  • Confident Incompleteness: Confident incompleteness is a response or analysis that sounds certain while missing relevant evidence. In autonomous and security workflows, it usually appears when an agent reasons from partial tool results, limited log coverage, or incomplete retrieval, so the output can overstate certainty while leaving gaps in scope, source coverage, or verification.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance and agentic AI identity for practitioners responsible for access, evidence and control design. It helps security teams connect identity governance to the operational realities of machine access and automated decision-making.
NHIMG Editorial Note
Published by the NHIMG editorial team on November 9, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org