By NHI Mgmt Group Editorial TeamBased on Edge Delta: “What the Model Never Sees” (September 1, 2026)

TL;DR: AI observability agents can expose bearer tokens, AWS keys, and connection strings unless every model call passes through a redaction layer, with placeholders preserving investigative value and fail-open behaviour protecting incident response, according to Edge Delta. The core issue is that telemetry already contains usable credentials, so agent prompts become a new secret-handling boundary.


At a glance

What this is: This is Edge Delta’s analysis of why AI observability telemetry needs prompt redaction before model calls, because logs and traces can already contain usable secrets.

Why it matters: It matters because observability tools are becoming a new secret-handling boundary, and IAM, PAM, and NHI teams need to control what AI systems can see before credentials reach a model provider.


Context

AI observability changes the security boundary because logs, traces, crash dumps, and tool outputs often carry secrets alongside ordinary operational data. Once an AI agent is allowed to inspect that telemetry, the model prompt itself becomes a credential exposure risk unless the pipeline sanitises secrets before the request leaves the control plane. This is especially relevant to NHI governance because the same telemetry often contains service tokens, API keys, and connection strings tied to workloads and automation.

The article’s core governance problem is not whether AI can help with incident investigation, but whether the data fed into that investigation is already too sensitive to ship externally. Redaction has to preserve enough structure for diagnosis while removing values that would otherwise expand the blast radius of a model integration. That makes prompt handling, not just model selection, part of identity and secrets governance.


Key questions

Q: What fails when AI observability tools send raw telemetry to models?

A: Raw telemetry can expose bearer tokens, cloud keys, connection strings, and other reusable credentials before an investigation even starts. The failure is not only data leakage. It is the loss of control over what the model can see, which turns a troubleshooting workflow into a credential-handling path. Governance must happen before prompt submission, not after the fact.

Q: Why do secret-bearing prompts create a bigger risk than ordinary log access?

A: Ordinary log access stays inside the operational boundary if the data is controlled. Secret-bearing prompts may cross into a third-party model workflow, where the organisation has less visibility into retention, reuse, and exposure. That creates a broader trust problem because the prompt may contain live credentials, not just sensitive context. The risk is transfer, not just inspection.

Q: How do security teams know if AI prompt redaction is working?

A: A working control preserves investigative context while removing credential values, and it should produce consistent placeholders for the same secret across the conversation. Teams should also see audit events for redaction hits, category counts, and any scan failures. If prompts still contain usable secrets or nested payloads bypass the scan, the control is not effective enough.

Q: When should organisations allow AI agents to see sensitive telemetry at all?

A: Only when the investigation value clearly outweighs the exposure risk and the telemetry can be redacted before model submission. Sensitive access should be limited to the smallest useful category set, with exception handling, auditability, and recovery rules already defined. If those controls are missing, the safer decision is to keep the data out of the prompt boundary.


Technical breakdown

Why observability telemetry becomes a prompt-risk boundary

Observability data is dense with operational context, which is why it is useful to an AI agent and dangerous to a model provider at the same time. A single investigation can expose request logs, stack traces, database strings, auth headers, and tool responses in one conversational flow. Once those artifacts are assembled into a prompt, the agent is no longer just reading telemetry. It is packaging sensitive state for transmission, and that changes the control problem from log access to prompt governance. The security issue is not the model itself but the unvetted payload that reaches it.

Practical implication: Treat model-bound telemetry as a distinct data boundary and classify what can enter prompts before any AI workflow is enabled.

How recursive redaction preserves investigative value

Effective redaction does not merely mask a token with blanks. It replaces the secret with a stable placeholder so the system can preserve referential value, meaning the agent can still see that the same secret appeared in multiple places without learning the secret itself. Recursive scanning matters because secrets often hide inside JSON, nested tool outputs, or reconstructed traces, and partial scanning leaves deep payloads untouched. The design goal is to remove value while keeping identity relationships intact, so investigations remain coherent instead of collapsing into unreadable noise.

Practical implication: Use deterministic placeholders and recursive inspection so investigators can correlate repeated exposures without preserving the underlying credential.

Why fail-open redaction changes the control model

A fail-open redaction layer reflects a hard operational tradeoff. If the sanitiser fails closed, incident response can halt exactly when teams need the agent most. If it fails open, the model can continue working, but the organisation temporarily accepts higher exposure risk. That means redaction is not a binary on-off feature. It is a resilience control with explicit degradation behaviour, and the policy cache becomes part of the risk model because stale settings can keep protection active when policy services are unavailable.

Practical implication: Define redaction failure handling, cache lifetimes, and incident override rules as governance decisions rather than implementation details.


Threat narrative

Attacker objective: An attacker or careless integration can turn routine observability data into reusable credentials that expose production systems and broaden access paths.

  1. Entry occurs when an AI observability agent ingests production telemetry that already contains secrets such as bearer tokens, AWS keys, or connection strings.
  2. Credential exposure happens when that telemetry is assembled into a model prompt without redaction, allowing sensitive values to leave the organisation’s boundary.
  3. Impact follows if the prompt reaches a third-party model provider or is reused in an unsafe workflow, expanding the chance of secret leakage and downstream account compromise.

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

Prompt redaction is now a first-line secrets control, not a cosmetic safety layer. Once telemetry is fed to an AI agent, the prompt becomes part of the credential handling path. That means the governance question shifts from whether a secret existed in logs to whether it was scrubbed before model submission. For IAM and NHI teams, the practical conclusion is that AI observability must inherit secrets policy from the identity programme, not stand beside it.

Stable placeholders create a new form of secret identity management. The article’s core design choice is that a redacted secret still needs a consistent fingerprint so investigations can correlate repeated exposure without preserving the value. That is a useful pattern for machine identity governance because it preserves linkage while removing reuse potential. The practitioner implication is clear: correlation support matters, but only if it is detached from credential utility.

Observability redaction exposes a named governance gap: the prompt construction boundary. Many teams still assume the risky part is the dashboard or the model provider, when the real failure occurs earlier, at the point where raw telemetry is packaged into a prompt. That is a distinct control surface with its own ownership, logging, and exception handling. The field should treat prompt construction as a governed trust boundary, not an implementation detail.

Fail-open controls change the resilience conversation around AI security. Security teams often design data protection controls as if a failed control should simply block usage, but the article shows why that can become operationally unsafe during incidents. For AI observability, the right question is not only whether redaction exists, but how the system behaves when it does not. The practitioner takeaway is to define acceptable degradation before an incident forces the decision.

NHI exposure in observability pipelines is a supply-chain problem inside the security stack. Telemetry aggregates outputs from many services, and those outputs often include non-human credentials that were never meant to leave the operational plane. That makes AI-assisted observability a downstream amplifier of existing secrets management weaknesses. The implication for security programmes is to govern the telemetry feed as a credential-bearing input, not merely as log data.

What this signals

Prompt construction is the new secrets boundary: once observability data is assembled for a model, traditional log controls no longer tell the full story. Security teams should map every AI-assisted investigation path to the data types it can ingest, then decide which telemetry classes are always excluded, conditionally redacted, or allowed only under incident override.

The practical programme shift is toward governing telemetry as credential-bearing input. That means redaction policy, placeholder design, cache behaviour, and failure handling all belong in the same control discussion as secrets rotation and workload identity, because the observability stack can now become an unintended secrets distribution path.


For practitioners

  • Define prompt-boundary redaction as a policy control Classify what telemetry categories may enter model prompts, and make that policy explicit for every AI observability workflow.
  • Apply recursive secret scanning to all prompt inputs Inspect system prompts, tool outputs, nested JSON, and agent replies so secrets buried several layers deep are still removed before transmission.
  • Use stable placeholders for correlation Preserve a consistent placeholder per secret so investigators can trace repeated exposure without retaining the underlying credential value.
  • Document fail-open behaviour and exception handling Specify what happens when redaction cannot run, who is notified, and which incidents justify temporary unredacted handling.

Key takeaways

  • AI observability creates a new credential-handling boundary because telemetry often contains secrets that model prompts can expose.
  • Stable redaction placeholders preserve investigative value by keeping repeated secret exposure recognisable without revealing the secret itself.
  • Governance has to cover prompt construction, recursive scanning, and fail-open behaviour before AI agents are allowed to inspect production telemetry.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageTelemetry in prompts can leak bearer tokens, keys, and connection strings into model inputs.
NHI-07 — Long-Lived SecretsThe article centres on reusable credentials embedded in logs and traces that remain valid if exposed.
Recommendation — Scan every AI telemetry path for secret leakage before prompts leave the organisation. Reduce the exposure value of long-lived secrets by removing them from observable payloads.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementAuthenticator lifecycle control applies where cloud keys and tokens appear in telemetry inputs.
Recommendation — Apply IA-5 to govern the lifecycle and handling of credentials that can appear in observability data.
NIST CSF 2.0PR.DS-01 — Data-at-Rest ConfidentialityPrompt redaction is a data protection control for sensitive values moving through observability workflows.
Recommendation — Protect sensitive telemetry in transit to AI systems and keep secret values out of prompts.
MITRE ATT&CKTA0006 — Credential AccessThe article describes a path where exposed telemetry can be converted into credential access.
Recommendation — Map leaked telemetry secrets to TA0006 and hunt for any path that turns logs into credential exposure.

Key terms

  • Prompt-Level Redaction: Prompt-level redaction removes or obscures sensitive information before it reaches an AI model. This matters because the model processes whatever enters the prompt, so controlling the prompt is often the last practical point to prevent overexposure, leakage, or contamination of downstream outputs.
  • Stable Placeholder: A stable placeholder is a repeatable substitute value used to represent the same secret every time it appears. It preserves correlation across logs or conversations without preserving the secret itself, which helps investigators track exposure without enabling reuse.
  • Fail-open Control: A fail-open control continues operation when the control layer breaks, even if that means reduced protection. In AI redaction, it can keep an incident workflow running, but it also temporarily increases the risk that sensitive telemetry leaves the environment unfiltered.
  • Telemetry Boundary: A telemetry boundary is the point where operational logs stop being internal data and become governed data subject to new access, retention, and privacy rules. In migration projects, that boundary often shifts from the SIEM itself to the collection and routing layer before ingestion.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps security practitioners connect identity controls to the operational systems where sensitive credentials actually move.
NHIMG Editorial Note
Published by the NHIMG editorial team on September 2, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org