By NHI Mgmt Group Editorial TeamBased on Manifold Security: “Scope Squatting: Those @openclaw and @clawhub Plugins Aren't Officially Theirs” (June 19, 2026)

TL;DR: 23 code-executing ClawHub plugins published under official-looking @openclaw/ and @clawhub/ scopes by unrelated accounts were identified, according to Manifold Security, showing that a scope can signal provenance without actually enforcing it. The real failure is assumption collapse: trust badges and namespace rules only work if the registry verifies ownership before code can run inside an agent.


At a glance

What this is: This analysis shows how ClawHub plugin namespaces were used as trust signals for code-executing plugins that did not belong to the claimed owners.

Why it matters: It matters because identity and provenance controls around AI agent plugins must prevent impersonation before code executes with agent privileges.

By the numbers:

  • 23 code-executing ClawHub plugins were published under official-looking @openclaw/ and @clawhub/ scopes by unrelated accounts.

Context

AI agent plugin registries create a governance problem when namespace ownership is treated as a proxy for trust. In this case, the primary issue is provenance, not malware: code that looks official can still come from the wrong publisher and then run with real agent privileges.

Scoped package naming is supposed to give consumers a fast way to verify where code came from, but that only works when the registry enforces the ownership rule consistently. If the scope can be claimed without validation, the trust model becomes a branding exercise rather than an access control boundary.


Key questions

Q: What breaks when AI agent plugin namespaces are not ownership-verified?

A: The trust model breaks first. Users infer provenance from the scope, but if the registry does not enforce publisher ownership, an unrelated account can publish code under an official-looking name and inherit first-party credibility. That allows a plugin to enter the agent environment with trust it never earned.

Q: Why do official-looking scopes increase risk for code-executing plugins?

A: Because the scope can suppress scrutiny. When a plugin can execute commands, read context, or call external APIs, a trusted namespace makes users more likely to install it without questioning who actually published it. The risk is impersonation of privilege, not just malicious payloads.

Q: How should teams evaluate trust signals for agent plugins?

A: Separate provenance, scan results, and runtime privilege into different checks. A clean scan does not prove ownership, and a credible namespace does not prove safety. Teams should require verified publisher identity before installation, then assess what the plugin can actually do once loaded.

Q: Who should be able to claim or reclaim a reserved namespace?

A: Only the verified owner of the org, brand, or namespace should be able to claim it, and the registry should provide a formal dispute path for rightful recovery. That process needs public proof requirements, revocation handling, and clear ownership records so squatting cannot persist.


Technical breakdown

How scoped plugin namespaces become a trust boundary

A scope such as @owner/package-name is a provenance label, not a security control by itself. The security value comes from registry enforcement that binds the scope to the publisher account and rejects unauthorized claims. When that check is absent or incomplete, the namespace becomes an impersonation surface: consumers infer first-party origin from a string, while the registry has not actually verified that origin. In AI agent ecosystems, that matters because the plugin is not inert metadata. It can execute code, read context, and influence downstream tool use inside the agent session. Practical implication: treat scope ownership as an enforced control, not a naming convention.

Practical implication: Validate that registry policy rejects unauthorized namespace claims before any plugin can be installed or executed.

Why code-executing plugins amplify provenance failures

A plugin that can run commands, export configuration, or call external services is a privileged identity in practice, even if the registry presents it as ordinary marketplace content. The risk is not only malicious payloads. It is also fraudulent provenance, where a seemingly official scope gives a plugin borrowed legitimacy and lowers the chance of human scrutiny. Once installed, the plugin can act inside the agent environment with the trust granted to its namespace. That turns namespace abuse into an access problem, not just a supply chain labelling problem. Practical implication: classify installable agent plugins by the privileges they can exercise at runtime, not by their category page labels. See the AI Coding Agents Security Guide.

Practical implication: Inventory plugin capabilities as runtime privilege and restrict the most powerful ones to approved publishers only.

What registry enforcement should prove before trust is assigned

A registry that claims ownership enforcement must be able to prove three things: who controls the namespace, who is allowed to publish under it, and whether the published artifact still matches that control relationship. Documentation alone is not enough if unauthorized entities can populate the namespace. In this case, the gap persisted long enough for multiple unrelated accounts to use org-like scopes, including names that looked operationally trustworthy. That means the control failure sits at issuance time, not detection time. Practical implication: require namespace claims, publisher verification, and revocation procedures to be part of the same governance workflow.

Practical implication: Move namespace verification into publishing workflow controls so impersonation is blocked before publication.


Threat narrative

Attacker objective: The objective is to gain trusted distribution and execution inside agent workflows without having to earn that trust through legitimate ownership.

  1. Entry occurs when an attacker or unrelated publisher places a plugin into an official-looking namespace that consumers already trust.
  2. Credential access is not the core step here; the relevant escalation is the inherited legitimacy that comes from the scope and its implied provenance.
  3. Impact follows when users install code-executing plugins believing they are first-party, giving the plugin access to agent prompts, environment data, or downstream tool actions.

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

Namespace trust without enforced ownership is a broken control, not a documentation issue. ClawHub documented the rule that scope should match owner, but the registry still allowed unauthorized use of official-looking namespaces. That means the control existed on paper while the enforcement boundary remained porous, which is exactly how impersonation enters a supply chain. The practitioner lesson is to audit where your own registries rely on naming as a trust signal instead of validated publisher authority.

Assumption collapse: scoped provenance was designed for registries that verify who may publish under a namespace. That assumption fails when the actor is a plugin publisher because the registry may present unearned first-party credibility to code that can run inside an agent. The implication is not just better moderation, but a rethink of whether namespace labels can carry trust unless ownership is verified at publish time.

AI agent supply chains now fail at the boundary between identity and execution. A plugin can look benign, pass a scan, and still be operationally privileged because the namespace makes it appear official. That is a governance problem across registry policy, publisher identity, and runtime privilege, not a content-safety problem alone. Practitioners should treat provenance as an authorization decision, not a catalog field.

Scope squatting creates a high-value impersonation layer before any code runs. The article shows that ordinary contributors can occupy official-looking namespaces in volume, which gives a future attacker a ready-made trust wrapper. That pattern is more dangerous than a single malicious upload because it normalises the namespace and trains users not to question it. The field should treat namespace reservation and ownership dispute processes as identity controls, not housekeeping.

Official-looking scopes are a named trust debt for agent ecosystems. Every namespace that can be occupied without verified control accumulates trust debt because downstream users start assuming provenance that the registry has not actually enforced. That debt compounds when the artifact executes with prompt, context, and tool access inside an AI agent. The practical conclusion is simple: if the namespace is not governed, it should not be trusted as provenance.

From our research library:

What this signals

Namespace control becomes an identity issue the moment code can execute inside an agent. Registries that rely on naming alone create a trust wrapper around unverified publishers, and that wrapper can be exploited even when the code is not overtly malicious. Practitioners should assume that provenance without enforcement is only a label, not a control.

Scoped packages, plugin catalogs, and agent runtimes need one policy surface. If ownership claims are handled separately from runtime permissions, a malicious or careless publisher can inherit trust long before anyone reviews behaviour. The governance model has to connect publisher identity, namespace control, and execution privilege in the same workflow.

59% of compromised machines in a major 2025 supply chain attack were CI/CD runners rather than personal workstations, according to the State of Secrets Sprawl 2026. That pattern reinforces the same lesson here: attacker value often sits in the trusted automation layer, where identity controls are assumed rather than enforced.


For practitioners

  • Enforce namespace ownership at publish time Require registry checks that block any plugin whose scope does not match a verified owner before it can be listed or installed.
  • Review high-privilege agent plugins first Prioritise plugins that can run commands, export configuration, or reach external APIs, because those are the ones that turn provenance failures into operational risk.
  • Separate scan status from trust status Treat a clean scan as one signal, not a provenance verdict, and keep publisher verification and namespace claims as distinct approval gates.
  • Add dispute and revocation workflows Document a process for rightful owners to reclaim namespaces and for security teams to remove squatted or misleading scopes quickly when discovered.

Key takeaways

  • The core failure is not just misleading plugin names, but the absence of enforced ownership at the namespace boundary.
  • Code-executing plugins can turn provenance errors into real privilege inside an AI agent, even when they pass a scan.
  • Registry governance, dispute workflows, and runtime privilege review need to be treated as one identity control plane.

Related NHI Mgmt Group resources: SaaS-to-SaaS and OAuth App Governance Guide · AI Supply Chain Security and AI-BOM Guide · CI/CD Pipeline Identity Security Guide · AI Coding Agents Security Guide


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, OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-03 — Vulnerable Third-Party NHIThese plugins are third-party identities using an official-looking namespace without valid ownership.
NHI-10 — Human Use of NHIUsers are asked to trust namespace labels and install plugins based on appearance, not verified authority.
Recommendation — Verify publisher ownership before allowing third-party NHIs to publish or execute under trusted namespaces. Separate human trust cues from enforced identity verification before approving NHI execution.
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article shows identity and privilege being inherited through misleading namespace trust.
Recommendation — Map plugin publishers to privileged execution paths and block identity abuse at publication time.
CSA MAESTROTrust and GovernanceAgent plugin governance and trust boundaries are central to the article's risk model.
Recommendation — Apply governance controls that bind plugin identity, trust, and execution privilege in one approval workflow.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsRuntime plugin privilege depends on whether installed code is authorised to act in the agent environment.
Recommendation — Restrict plugin entitlements to the minimum verified publisher rights and revalidate before execution.

Key terms

  • Namespace Ownership: Proof that a publisher controls the identity under which an MCP server is registered. For machine-facing ecosystems, namespace ownership is a trust control because it determines who is allowed to speak for a server and whose metadata clients may rely on.
  • Provenance Signal: A control signal that records where a piece of context came from and how it entered the model’s working memory. In AI governance, provenance is what lets teams distinguish trusted retrieval, delegated content, and direct user input from poisoned or untrusted sources.
  • Runtime Privilege: Runtime privilege is the effective access an identity has after tools, data sources, and permissions are combined during execution. For AI agents, it can exceed the originally approved scope because the agent may chain actions across systems in ways no single entitlement review reveals.
  • Scope Squatting: Scope squatting is the occupation of a reserved or trusted namespace by an entity that does not actually control it. In supply chain settings, the harm is not only impersonation but the creation of borrowed trust that can be abused before any malicious behaviour is visible.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org