By NHI Mgmt Group Editorial TeamBased on Nightfall: “AI Can Scan Your Code. It Can't Secure Your Organization.” (March 5, 2026)

TL;DR: AI can scan for issues but cannot secure an organisation on its own, because effective DLP and data protection depend on cross-environment context, real-time enforcement, and business-aware signal correlation, according to Nightfall. That distinction matters for identity and access teams because sensitive data exposure often follows overbroad access, unmanaged AI app use, and weak governance across channels.


At a glance

What this is: Nightfall says AI can identify security signals, but it cannot secure an organisation without context that ties those signals to data sensitivity, user behaviour, and enforcement.

Why it matters: This matters for IAM and security teams because data exposure often follows overbroad access, unmanaged AI app use, and weak governance across channels rather than a single obvious control failure.


Context

AI-driven security tools can detect patterns quickly, but detection alone does not equal protection. The problem is especially acute for data loss prevention, where the meaning of the data depends on business context, access context, and where the data is moving.

In identity and access programmes, that means the real control gap is often not a missing signature or pattern rule. It is the absence of joined-up context across SaaS, endpoints, AI applications, and user activity, which leaves sensitive data governable only in fragments.


Key questions

Q: How should security teams govern sensitive data used by AI systems?

A: Security teams should treat AI as a data consumer that needs policy boundaries, not just authentication. Classify sensitive data, define which datasets may enter AI workflows, and monitor outputs, logs, and downstream reuse. If governance stops at login, the organisation can approve access while still losing control of the data itself.

Q: Why does overbroad access make AI-driven data exfiltration harder to stop?

A: Because the data is often sensitive for business reasons, not because of its format. When users can reach high-value files, move them across SaaS tools, and hand them to AI apps without a current business reason, content-only controls miss the real risk. The control failure is usually authorisation scope, not just content detection.

Q: How do you know if context-aware DLP is working?

A: It should reduce time to enforcement, distinguish legitimate business transfers from risky ones, and produce fewer false positives on routine collaboration. If the programme still depends on long cataloguing cycles before it can act, it is not yet operating as a real control.

Q: What should teams do when sensitive data reaches consumer AI apps or personal cloud accounts?

A: Treat that as an enforcement problem, not just an awareness problem. Block or redirect the transfer when policy and context show the data is restricted, then review which identities, channels, or entitlements made the movement possible. The goal is to stop release before the data leaves governed control.


Technical breakdown

Why pattern-based detection fails for corporate IP

Pattern matching works well for structured data such as payment card numbers or identity fields because those values have stable formats. Corporate IP does not. A roadmap, source file, acquisition model, or architecture diagram is sensitive because of its business meaning, not because it matches a known syntax. That makes code scanning and regex-based DLP fundamentally incomplete when the objective is protecting proprietary information across channels. The practical limit is not model quality alone. It is the lack of environmental context that tells the system what the data is, who touched it, where it came from, and whether the access was expected.

Practical implication: classify and govern data using business context, not only content signatures.

How cross-channel correlation turns events into a security signal

Single events are often ambiguous. A file download, an AI prompt, or an email attachment may be benign in isolation. When those events are correlated, the pattern becomes meaningful: access from an unusual location, repeated downloads of the same file, and then an outbound share or prompt to a consumer AI tool. That is why AI-native DLP needs telemetry from SaaS, endpoints, AI apps, and workflows. The security value comes from joining those signals into one decision path, not from making any single detector smarter. This is also where governance and access control intersect, because overbroad permissions create the preconditions for exfiltration.

Practical implication: build detection pipelines that correlate access, movement, and destination before approving or blocking activity.

Why enforcement must be real time, not just analytical

A tool that only detects is already behind the risk. Once sensitive code, a roadmap, or financial data has moved into the wrong channel, post hoc review is too late to change the exposure. Real-time enforcement matters because it can block, step up, or route for review while the transaction is still active. In practical terms, that means the programme needs actionability, not just insight. Context-aware DLP should be able to use policy, risk history, and channel type to decide whether the data stays in place, is redacted, or is stopped before release.

Practical implication: require prevention and response controls that act during the session, not after the incident.


Threat narrative

Attacker objective: The objective is to move proprietary information out of governed environments without triggering content-only controls.

  1. Entry occurs when sensitive data is accessed in one environment and then carried into another channel such as an AI app, personal cloud account, or outbound email.
  2. Credentialed access or overbroad permissions let the user retrieve assets that are sensitive because of business context, not because of file type or content pattern.
  3. Impact follows when correlated signals reveal exfiltration only after the data has already moved outside the intended control boundary.
  • Nx s1ngularity attack 2025: Attackers stole Nx's npm token via a GitHub Actions flaw and shipped malware that stole 2,349 secrets and abused developers' AI CLIs.

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

Context-aware DLP is now the governing concept, not pattern-based inspection. The article shows that corporate IP is defined by meaning, location, and business relevance, which cannot be captured by a single regex or code scan. That makes the security problem fundamentally one of environment correlation, not signature coverage. Practitioners should treat context as the control plane for sensitive data governance.

AI tools that only detect are not security programmes. Detection is a capability, but security requires enforcement, monitoring, policy adaptation, and action across channels. This distinction matters for identity-led programmes because access governance and data governance converge where users can move data between approved and unapproved contexts. Practitioners should evaluate whether their controls stop exposure or merely describe it.

Cross-channel telemetry is the difference between noise and exfiltration evidence. A download, a prompt, and an email share can each be explainable alone, but together they form a path. The article underscores that effective data security depends on stitching user, device, application, and destination signals into one decision model. Practitioners should design for joined-up evidence, not isolated alerts.

Overbroad access is the silent dependency behind most data exposure. The article’s own logic points to the governance gap: data becomes exfiltratable when users can reach it without a business reason and move it across channels without friction. That is an identity and authorisation problem as much as a DLP problem. Practitioners should re-evaluate access scope wherever sensitive data crosses SaaS, endpoint, and AI boundaries.

AI security and data security are converging faster than most programmes are structured to handle. The same controls that manage where data lives now need to govern where it is prompted, pasted, summarised, and re-shared. That does not mean every AI workflow needs the same restriction level. It means the control model must be risk-aware, context-aware, and identity-aware. Practitioners should align data policy with AI usage patterns before the gap becomes an exfiltration path.

From our research library:

  • Companies are dedicating an average of 32.4% of their security budgets to secrets management and code security, with US organisations leading at 40.8%, according to the State of Secrets in AppSec.
  • Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.
  • Read next: AI Agent Identity Security Buyer's Guide

What this signals

Context-aware DLP is becoming the practical boundary for AI-era data security. If the programme cannot connect identity, source, destination, and business purpose, it will keep generating alerts that arrive after exposure has already happened. That shifts the control objective from pure detection to decisioning at the point of movement.

Overbroad access is the enabling condition that most data tools still underplay. The key failure is not that AI can miss a pattern, but that the wrong identity can still reach the wrong data and move it across channels that were never designed to be governed together. Security teams should use this as a prompt to re-check access scope wherever AI apps touch sensitive information.

43% of security professionals are concerned about AI systems learning and reproducing sensitive information patterns from codebases, according to the State of Secrets in AppSec. That concern is rational because the exposure path now runs through prompts, paste actions, and workflow handoffs, not only through repositories and endpoints.


For practitioners

  • Map data context across channels Identify where sensitive business data originates, how it moves through SaaS, endpoints, and AI apps, and which signals establish its sensitivity in each environment.
  • Correlate access with movement Tie file access, repeated downloads, outbound sharing, and prompt activity into one detection path so that isolated events can be evaluated together.
  • Tighten access where context is missing Review entitlements that let users reach high-value data without a current business reason, especially in shared drives, collaboration tools, and AI-enabled workflows.
  • Enforce policy before release Use prevention controls that can block, redact, or route suspicious data movement while the session is active rather than relying on after-the-fact review.

Key takeaways

  • AI code scanning can help find issues, but it does not by itself create a data security programme that understands business context or can enforce policy across channels.
  • Corporate IP is difficult to protect with pattern matching alone because its sensitivity depends on meaning, location, and user intent rather than on a stable format.
  • The most effective control shift is from isolated detection to real-time, cross-environment decisioning that can stop exposure before data leaves governed boundaries.

Standards & Framework Alignment

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

OWASP API Security Top 10 addresses the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.DS-01 — Data-at-Rest ProtectionThe article is about protecting sensitive data across channels and environments.
PR.AA-05 — Access Permissions, Entitlements and AuthorizationsOverbroad access is a central enabler of the exposure path described here.
DE.CM-09 — Configuration ChangesThe article stresses continuous monitoring across SaaS, endpoints, and AI workflows.
Recommendation — Apply PR.DS-01 to ensure sensitive data is protected wherever it is stored, shared, or moved. Use PR.AA-05 to limit who can reach sensitive data and where they can move it. Use DE.CM-09 to monitor channel and policy changes that alter exposure paths.
CIS Controls v8CIS-5 — Account ManagementIdentity scope and account reach shape the exfiltration risk discussed in the article.
Recommendation — Apply CIS-5 to review account access paths that can move sensitive data across tools.
OWASP API Security Top 10API8 — Security MisconfigurationMisconfigured channels and integrations can expose data to unauthorized AI tools.
Recommendation — Use API8 to review integrations and access paths that expose sensitive data to unapproved services.

Key terms

  • Context-Aware DLP: Context-aware DLP is a data protection approach that uses user behavior, access patterns, location, and destination to decide whether a transfer is normal or risky. It moves beyond content matching so security teams can reduce false positives while still controlling sensitive data in cloud, SaaS, and AI workflows.
  • Cross-Channel Correlation: Cross-channel correlation is the process of linking identity signals from different surfaces into one decision model. It lets security teams see whether a web action, a phone call, a desktop event, and a token event belong to the same identity moment, which is essential for reliable risk decisions.
  • Business Context: Business context is the interpretive layer that explains what a dataset means, who owns it, how trustworthy it is and where it came from. In governance programmes, it turns raw metadata into something practitioners can use for accountability, access decisions and audit evidence.
  • Real-Time Enforcement: Real-time enforcement means a system evaluates conditions while the transaction or session is still active, rather than after the fact. For governance programmes, this is the difference between preventing a harmful outcome and only reporting it later.

Deepen your knowledge

NHI Foundation Level course covers NHI governance, identity lifecycle, and secrets management in the broader context of identity security. It helps practitioners connect data exposure risk to the access and governance decisions that shape it.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 20, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org