Confidential computing protects data from the operator and the host, but it does not protect the logs, tokens, and agent histories that live outside the enclave, which is where the NEAR AI breach did its damage. NEAR AI disclosed on November 9, 2026 that an attacker exploited a remote code execution flaw in the open-source SGLang inference engine, moved into internal systems behind a deprecated feature, and retrieved data tied to 18 AI agents on an older deployment. The lesson for security and compliance leaders is that a strong boundary around inference is not a governance strategy for the data around it.
This is a story about scope. The enclave, by the accounts available so far, did its job. The exposure came from everything the enclave was never asked to cover.
Key Takeaways
- NEAR AI reported that an attacker exploited a remote code execution flaw in SGLang, then reached internal systems and retrieved chat histories, settings, and logs for 18 agents on an older deployment.
- Confidential computing guards data from the operator and the host. NEAR's own statement is that it does not protect against a vulnerability in the software running inside the environment.
- The most consequential exposure involved data adjacent to the enclave, including logs that contained customer API keys, which shows why agent governance must follow the data and not only the compute.
- Disclosure gaps remain, including the exploited flaw, the intrusion timeline, and whether exposed keys were used, so the standard for AI vendors must include evidence you can request, not assurances you must accept.
What NEAR AI disclosed
NEAR AI published an incident report on November 9, 2026, and the account has since been covered by Decrypt and analyzed by the Cloud Security Alliance. Per those accounts, the attacker exploited a remote code execution vulnerability in SGLang on one inference server. From there the attacker moved to internal systems behind Private Chat, a feature NEAR had deprecated.
The reported data impact falls into several groups. Names and email addresses for about 100 users were downloaded, and for some of them the subscription plan and account balance were also taken. Chat histories, settings, and logs were retrieved for 18 agents on an older deployment, which Decrypt describes as outside NEAR's confidential computing environment. NEAR AI Cloud API keys for two customers appeared in logs, and NEAR says both were revoked. NEAR also said requests processed on November 8 may have been visible, while it found no indication that stored Private Chat conversations or uploaded files were accessed.
NEAR's response included revoking active sessions and administrative credentials, replacing agent tokens, taking Private Chat offline, and deploying an SGLang fix across its inference servers. It notified affected users, contacted affected agent owners individually, and warned users about unsolicited messages that reference their accounts or balances. According to the Cloud Security Alliance, NEAR also reported that NEAR AI Cloud access has been restored.
A note on sourcing. The facts above come from NEAR's disclosure as relayed by Decrypt and the Cloud Security Alliance. Where the Cloud Security Alliance offers its own analysis, we label it as analysis. We have not independently verified NEAR's account, and we make no claim about the internal architecture beyond what those sources report.
What confidential computing covers and what it does not
Confidential computing is a legitimate and valuable control. It uses hardware-backed trusted execution environments to keep data protected while it is processed, so that an infrastructure operator or a compromised host cannot read it. NEAR's own description captures the scope. In its words, confidential computing protects data from the operator and the host.
That is a precise claim, and it is easy to hear a broader one. Decrypt quotes NEAR saying the protection "does not protect against a vulnerability in the software running inside the environment." If an attacker can execute code through a flaw in the inference engine, the attacker acts with the engine's privileges. The enclave's guarantees about the host do not extend to a defect in the workload.
The Cloud Security Alliance reads the incident along similar lines. Its analysis says the enclave appears to have functioned as intended and that the most consequential data loss came from systems outside or adjacent to it. That is the CSA's interpretation, and it notes that NEAR has not published the boundary layout, so the interpretation rests on incomplete information.
For buyers, the practical point is about what a vendor's security claim can support. An assurance that inference runs in a confidential environment tells you about one layer. It does not tell you where the logs go, how long histories persist, which tokens sit in plain text, or whether an older deployment is covered by the same protections. Those are data governance questions, and no hardware boundary answers them for you. We explored a similar theme in AI company data control.
The data nobody put inside the boundary
Look at what the attacker reportedly reached. Chat histories. Agent settings. Logs. Two customers' API keys inside those logs. A deprecated feature that still had a path to internal systems. None of these is exotic. They are the ordinary byproducts of running an AI service, and they accumulate outside whatever boundary the architecture diagram highlights.
Agent workloads make this worse than a conventional application. An agent's history is not just a transcript. It can contain the documents the agent retrieved, the instructions it received, the tools it called, and the credentials it was handed to do its work. Logs written to help engineers debug an agent often capture those same items. A boundary drawn around the model inference step leaves all of that in the surrounding systems.
The key exposure also reflects a familiar failure pattern. Secrets that end up in logs turn a data incident into an access incident. NEAR says both exposed keys were revoked, and it did not say whether the attacker used them. Until a key is revoked, a log line that contains it works as a standing credential for anyone who reads the log. This is the same dynamic behind the identity sprawl we see as agents multiply, where every agent adds credentials that someone must track.
The older deployment matters too. Retired features and legacy deployments are where governance tends to lag. They carry data, they keep connectivity, and they fall off the review calendar. An organization that has moved on from a feature in its product roadmap may not have moved on from the data it holds or the paths that lead to it.
Governing what agents retrieve, use, and send
If the boundary around compute is only one layer, the next question is where the control point for data should sit. Our answer is at the data itself, at the moment an agent touches it.
This is the principle behind Bonfy's Contextual Data Enforcement and the broader MCP agent security approach. Most tools ask what an agent is configured to do. Bonfy asks what data is actually flowing through it. An inspection layer sits between the AI client and the enterprise data stores it reaches, and it evaluates what the agent retrieves and uses during a task, not just what permissions were granted when the agent was set up.
Apply that to the pattern in this incident. Agent histories, logs, and tool outputs are all content. They can include customer identifiers, financial details, health information, or credentials. A content-aware control can classify that material as it is created and flows into storage, and can apply policy about what is permitted to persist, in what form, and who or what may read it. That shifts governance from the location of the data to the sensitivity of the data.
We want to be exact about the limits of this claim. Bonfy was not in NEAR AI's data path, and we are not saying any Bonfy or Kiteworks product would have stopped this attack. The exploited flaw was in an inference engine, and neither company's product would patch SGLang. The accurate statement is architectural. If an organization governed its agent data flows through Bonfy's Contextual Data Enforcement instead of relying on the native controls of the platform hosting its agents, content-level policy would apply to what agents retrieve, store, and transmit, including material that lands in logs and histories.
This also gives security teams a different set of questions for any AI vendor. Rather than asking whether inference is confidential, ask what content from your agents is retained, where it sits relative to the protected boundary, who can read it, and whether the vendor can show you a record of access. Our research on AI retrieval risk goes further into why retrieval, not only storage, needs to be governed.
Where Bonfy and Kiteworks divide the work
Bonfy is now part of Kiteworks, so it is fair to ask how the two products split the problem. Bonfy is inline runtime classification and enforcement. Kiteworks is the control plane for secure data exchange. Combined, they give one policy model for data in motion, at rest, and in use, for humans and AI agents alike.
Consider an enterprise that runs agents against internal content. Kiteworks governs the path. Its MCP server gives AI assistants a governed, authenticated route to content rather than a broad connection to a file store, and its Compliant AI framework applies policy and a unified audit log around those interactions. Every request is tied to an identity and recorded in one place.
Bonfy governs the content as it is used. It inspects what the agent retrieves and produces, classifies it in context, and applies policy before sensitive material is retained or sent onward. That includes the byproducts that often escape review, such as pasted credentials or customer records that an agent echoes into a log.
The two address different failure modes. Kiteworks narrows what an agent can reach and creates the evidence trail for what it did. Bonfy reduces the sensitive content that agents carry and leave behind. Kiteworks has written about why governance must produce tamper-proof agent evidence, and about the governance gap that opens when agents connect to data without a control point. Neither a governed path alone nor content inspection alone covers the full surface. Together they do more than either does separately.
Sprawl in the surrounding infrastructure compounds the need for both. Our analysis of MCP server sprawl and of exposed MCP servers shows how quickly agent-facing endpoints multiply, and each one is another place where content can be retrieved, logged, or retained.
Evidence when the vendor's disclosure leaves gaps
The Cloud Security Alliance's note lists what NEAR has not disclosed. The exploited SGLang flaw or version is not identified. The intrusion start date, detection date, and dwell time are not stated. It is not clear whether the compromised server itself sat inside the trusted execution environment. And it is unknown whether the two exposed API keys were used. Decrypt also notes that NEAR did not name the specific flaw, so there is no basis for linking the incident to earlier published SGLang advisories.
Those gaps are normal in the first days after an incident, and we do not read them as evasion. They are also a reminder of the position customers occupy when they depend on a vendor's account of events. If you cannot see the logs, you cannot test the narrative.
For a CISO or chief compliance officer, the useful frame is liability. When your data or your customers' data passes through an AI vendor, regulators will ask what you knew, what you controlled, and what evidence you can produce. As we put it in AI agent liability, the accountability stays with the organization that owns the data. Regulators regulate data, not models, and a vendor's confidential computing claim does not change who answers for the record.
Three practices follow. First, map where agent data lands outside the headline boundary, including logs, histories, caches, and legacy deployments, and decide what sensitive content is allowed to persist there. Second, treat credentials in logs as a control failure and scan for them continuously, with rotation procedures ready. Third, require evidence from vendors in advance, such as access records and retention schedules, so that you are not waiting on an incident report to learn what you should have asked.
Kiteworks makes a related point about defense in depth for interfaces in its work on API breaches. The common thread is that single-layer assurance rarely survives contact with an attacker who finds the adjacent layer.
FAQs
1. Does confidential computing protect AI agent data from a breach like the one at NEAR AI?
Confidential computing protects data from the operator and the host, but it does not protect against a vulnerability in the software running inside the environment, according to NEAR AI. For AI agent data, that means logs, histories, tokens, and legacy deployments outside the protected boundary still need separate governance and access controls.
2. We are a financial services firm using a third-party AI agent platform. What should we ask the vendor after an incident like this?
A financial services firm using a third-party AI agent platform should ask which agent data is retained outside the protected boundary, whether secrets can appear in logs, how long histories persist, and what access records the vendor can provide. Also ask about legacy deployments and for the intrusion timeline, since those details are often missing at first.
3. How do I stop AI agent logs from storing API keys and customer data?
To stop AI agent logs from storing API keys and customer data, classify content at the moment it is written, redact or block credentials before persistence, and shorten retention for histories. Bonfy's Contextual Data Enforcement applies content-level policy to what agents retrieve and produce, which covers material that would otherwise reach logs.
4. How would Bonfy and Kiteworks divide the work for a company running AI agents against internal documents?
For a company running AI agents against internal documents, Kiteworks governs the path by giving agents an authenticated route through its MCP server and recording every access in a unified audit log. Bonfy inspects and classifies the content agents retrieve and produce, so sensitive material is controlled at the point of use.
5. Do we need both Bonfy and Kiteworks, or does one replace the other?
Neither replaces the other. Kiteworks is the control plane for secure data exchange and audit evidence, while Bonfy provides inline runtime classification and enforcement for data in use. Organizations that run AI agents against regulated content benefit from one policy model that covers data in motion, at rest, and in use.
To learn more about governing the data your AI agents retrieve and retain, schedule a custom demo.
Gidi Cohen, VP Product, Kiteworks. Gidi Cohen is VP Product at Kiteworks and the co-founder and former CEO of Bonfy.AI, now part of Kiteworks. He works on contextual data enforcement for AI agents and enterprise content.