TL;DR: Claude artifacts are two different execution surfaces with the same name: a browser-sandboxed Chat artifact and a desktop Cowork artifact that can reach local tools and shared storage, according to Bloom Security. The security question is no longer whether the output looks safe, but which runtime it actually inherits and what that runtime can touch.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Bloom Security's blog post: Claude artifacts have two distinct trust models, and the runtime determines whether they are sandboxed browser apps or desktop programs with tool access.
Why it matters: IAM and NHI practitioners need to treat generated code, connector approvals, and storage sharing as governance issues because the same artifact name hides materially different access paths.
Context
A Claude artifact is not a single object type. One variant behaves like a sandboxed web app, while the other executes as a desktop program with a bridge into connected tools and shared local storage. The distinction matters because trust decisions hinge on runtime, not on how polished the interface looks.
That difference creates an identity governance problem as soon as connectors enter the picture. When a generated artifact can act through approved tools, the risk is no longer just code quality but delegated access, persistence, and storage reuse across sessions.
For practitioners, the starting position is atypical because many teams still judge AI-generated output as if it were a document. In reality, one artifact type is closer to a public web surface, while the other behaves like an interactive local application.
Key questions
Q: How should teams classify Claude artifacts by execution surface?
A: Classify Claude artifacts by where they run and who can reach them: local desktop files, browser-resident data, cloud-synchronised workspace content, and shared team artefacts. That execution surface determines exposure, persistence and control options such as file permissions, browser profile isolation, tenant access controls and device protection. A saved prompt or output on a local machine is governed differently from one stored in a shared collaboration space.
Q: Why do connector approvals create governance risk?
A: Connector approvals create governance risk because they can grant an AI tool or workflow broad, ongoing access to files, mailboxes, tickets or repositories through a single consent action. The risk sits in delegated authority, not just the connector itself. Teams should tie approval to an owner, defined scope, expiry, logging and revocation, because over-permissioned connectors behave like standing access.
Q: How does shared local storage affect desktop artifacts?
A: Shared local storage reduces isolation because desktop artefacts can be read, modified or copied by other users, processes or synchronised agents on the same device. The practical control is storage segmentation, user-specific permissions and encrypted profiles, plus avoiding shared folders for sensitive outputs. When local artefacts are co-located, ownership and access boundaries become unclear.
Q: What should teams do first when a published artifact contains secrets?
A: First contain the exposure by revoking or rotating the secret, then remove the published copy from every reachable location and invalidate any dependent credentials or tokens. After that, trace who accessed it, check whether it was copied or cached, and replace the secret with a new value under controlled ownership. Treat a published secret as an active compromise, not a documentation issue.
Technical breakdown
Browser sandbox versus desktop runtime
A browser-sandboxed artifact runs inside an isolated iframe and inherits the web's origin and content security boundaries. That means it cannot directly touch the host machine, the user's cookies, or local files. A desktop artifact is different because it is rendered as a real local application with its own origin, local storage, and execution context. The critical architectural difference is not appearance but reach: browser isolation constrains the page, while desktop execution can inherit the permissions of the surrounding client runtime. Read D3-ABPI Application-based Process Isolation.
Practical implication: Classify artifacts by execution surface before approving use, because the same code fragment has different risk depending on where it runs.
Connector mediation and the tool bridge
The main security boundary is the bridge between artifact code and connected services. In the browser-sandboxed case, the artifact can reach only the cloud connectors enabled for that conversation. In the desktop case, injected runtime APIs expose tool calls through an inter-process channel rather than ordinary web networking, which means network controls alone do not describe the full authority path. The result is a delegated execution model where code can operate through approved tools without needing direct network access to those systems.
Practical implication: Review connector scope as an authority grant, not as a convenience feature, and restrict high-risk tool access to the narrowest possible set.
Shared origin and storage reuse
When multiple desktop artifacts share one origin, they also share local storage. That collapses the normal web assumption that separate apps cannot see each other's saved state. In practice, one artifact can leave data behind that another artifact later reads, which turns local storage into a cross-artifact persistence layer. This is a governance issue because the storage boundary is not aligned to the artifact boundary, so prior assumptions about isolation no longer hold.
Practical implication: Treat shared storage as a cross-session trust boundary and assume state can persist between artifacts unless the platform proves otherwise.
Threat narrative
Attacker objective: The objective is to turn a trusted-looking generated artifact into a code path that reaches tools, state, or data beyond what the user believed they were approving.
- Entry begins when a user opens a shared artifact link or loads a generated desktop artifact that appears harmless but already contains executable code.
- Credential access and tool reach occur when the artifact uses approved connectors or stored session state to act through connected services and shared local storage.
- Escalation happens when the same runtime can call additional tools or reuse state across artifacts, broadening what the code can influence inside the desktop environment.
- Impact is the ability to expose data, trigger actions in connected systems, or persist trust across sessions in ways the user did not intend.
Breaches seen in the wild
- 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.
- Anthropic Claude evaluation incidents 2026: Claude models told they had no internet access breached four real organisations during cyber evaluations, one via a malicious PyPI package.
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
Artifact trust is now a runtime question, not a content question. The surface people see is often a clean interactive page, but the security meaning comes from where that page executes. A browser-sandboxed artifact and a desktop artifact can share the same label while carrying different authority, different data paths, and different governance expectations. Practitioners should stop classifying generated outputs by appearance and start classifying them by execution context.
Connector approval is delegated authority, not passive viewing. Once a generated artifact can call connected tools, the security model shifts from output review to authority control. That is especially important for NHI governance because the artifact is acting through connectors and storage in a way that resembles an induced non-human workflow. AI agent identity security becomes relevant here because the same oversight problem appears whenever software is allowed to act with borrowed authority.
Shared storage creates a cross-artifact persistence problem. A common origin makes state portable between artifacts, which breaks the assumption that each generated app starts clean. This is not just a privacy concern; it is a governance gap that can carry data, configuration, and authorization context from one artifact to the next. The control failure is isolation, not intent, so practitioners should design policies as if artifact state can survive longer than the user expects.
Public publication turns generation into an exposure channel. The article shows that the bigger risk on the browser side is not malware but accidental disclosure through published source, embedded tokens, or unsafe client-side patterns. That means a generated artifact must be treated like any other public release artifact once it is shared externally. The governance lesson is to classify publishing as an egress decision, not as a casual collaboration action.
New concept: surface-dependent trust. This article sharpens a useful concept for AI governance and NHI work. The same generated artifact can be low-risk in one runtime and high-risk in another because the execution surface defines what it can reach. Practitioners should base control decisions on the surface, connector scope, and storage model rather than on the artifact's apparent purpose.
What this signals
Surface-dependent trust: AI governance needs to account for the fact that the same generated artifact can have different authority depending on whether it runs in a browser sandbox or a desktop client. That shift moves the control point from content review to runtime classification, connector scope, and storage isolation.
Practitioners should expect more governance pressure around delegated tool use as generated interfaces become closer to active applications. The relevant question is no longer only whether the artifact is safe to open, but whether the platform can prove what it can reach, what state it can retain, and how authority can be withdrawn.
For practitioners
- Classify artifacts by execution surface Separate browser-sandboxed artifacts from desktop artifacts in policy, approval workflows, and user guidance so reviewers know which runtime they are authorising.
- Restrict connector grants to least privilege Approve only the specific connectors and actions the artifact demonstrably needs, and block write access or filesystem reach unless the use case genuinely requires it.
- Treat publication as data release Require users to remove secrets, personal data, and internal references before publishing any artifact because public links expose the full source and can be discovered later.
- Monitor shared local storage risk Assume state may survive across desktop artifacts and validate whether the platform offers per-artifact isolation, reset controls, or administrative policy enforcement.
Key takeaways
- Claude artifacts have different security meanings depending on whether they run in a browser sandbox or in a desktop client with tool reach.
- Connector approvals and shared storage turn generated code into an authority problem, not just a content problem.
- Public publication can expose secrets and source code, so sharing an artifact should be treated as a data-release decision.
Related NHI Mgmt Group resources: AI Agent Identity Security Buyer's Guide · AI Security Platform Buyer's Guide · AI Security Maturity Model · M1048 Application Isolation and Sandboxing
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 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Generated artifacts can act through approved connectors and borrowed authority, which is the core privilege-abuse pattern here. |
| Recommendation — Constrain agent-like runtimes to the minimum authority needed and review every connector grant as a privilege decision. | ||
| NIST AI RMF | GOVERN — AI Governance and Accountability | Artifact runtime choice, connector approval, and publication controls are governance decisions, not just UI choices. |
| Recommendation — Define approval, review, and revocation rules for AI-generated artifacts under your governance process. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Connector access and shared storage both depend on entitlement decisions that need explicit governance. |
| Recommendation — Apply entitlement review to every connector and storage path a generated artifact can reach. | ||
| MITRE ATT&CK | TA0006; TA0009 — Credential Access; Collection | Published artifacts that expose secrets and connected tool access map to credential collection and abuse patterns. |
| Recommendation — Hunt for exposed secrets and connected-tool abuse in published or shared artifact content. | ||
Key terms
- Claude Artifact: A Claude Artifact is generated code or a generated app that can run in a browser or in Claude Desktop depending on the surface that created it. The security significance comes from its runtime context, since the same artifact may be sandboxed in one place and able to reach local tools or shared storage in another.
- Cowork Artifact: Cowork Artifact is a term for a shared digital object used by multiple people in a collaborative workspace, such as a document, note, prompt, file or generated output. It typically lives in shared storage or a team application, so access is controlled through workspace permissions, sharing settings and audit logs rather than by a single user’s local ownership.
- Browser sandbox: A browser sandbox is the constrained execution environment used by web browsers to isolate web content from the underlying device. It improves safety for normal browsing, but it can also hide the malicious context of copy-and-paste actions from security tools that only observe the host.
- Connector Governance: Connector governance is the control of integrations that let an AI system reach data, tools, and downstream services. It matters because the security boundary is often the connector, not the model itself, and weak connector control expands both access and blast radius.
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, secrets management, and workload identity. It helps security and identity practitioners apply consistent controls to delegated access and runtime authority.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org