The Uniformed Guard Problem: Why Agent Sandboxes Need Identity, Not Just Policy

The Uniformed Guard Problem highlights a critical flaw in AI agent sandboxes like Nemoclaw's openshell: security policies scoped to binaries, not agents. This allows malware, such as the Shai-Hulud strain, to live-off-the-land by reusing the same binaries your agent is permitted to execute. The proposed solution is an open-source agent identity layer called ZeroID, currently available as a skill on ClawHub and as a sidecar for out-of-band control.
Key Problem: Binary-Scoped Policies
Nemoclaw's openshell sandbox enforces policies at the binary level. For example, if your agent can run /usr/bin/curl, any process with that binary—including malware—can execute it. This means a malicious payload can download and execute arbitrary code using the agent's allowed tools. The sandbox offers no mechanism to distinguish between a legitimate agent action and a malware action using the same binary.
Solution: Agent-Backed Identity
ZeroID shifts security from binary-scoped policies to agent-scoped policies. Each agent gets a cryptographic identity, and policies are applied based on that identity. This prevents malware from leveraging agent-allowed binaries because the malware lacks the agent's identity. The identity layer can operate in two modes:
- ClawHub Skill: Install ZeroID as a skill on ClawHub—no infrastructure changes needed.
- Sidecar Integration: Run ZeroID as a sidecar process for out-of-band control, intercepting system calls and validating identity before execution.
Implementation Details
According to the source, ZeroID is open-source and currently integrates with Openclaw. The team invites the community to test it and help expand Openclaw integration. No version numbers or code snippets were provided in the source, but the sidecar architecture suggests a lightweight daemon that hooks into the agent's runtime environment.
Who It's For
Developers running AI coding agents on Openclaw who need stronger isolation against malware that bypasses binary-level sandboxing.
📖 Read the full source: r/openclaw
👀 See Also

Clawndom: A Security Hook for Claude Code to Block Vulnerable npm Packages
A developer built Clawndom, an open-source hook for Claude Code that checks npm packages against the OSV.dev vulnerability database before installation, blocking known vulnerable packages while maintaining agent autonomy.

820 Malicious Skills Found in OpenClaw's ClawHub Marketplace
Security researchers identified 820 skills in OpenClaw's ClawHub marketplace containing confirmed malware including keyloggers, data-exfiltration scripts, and hidden shell commands. These skills can execute code and interact with the local environment, creating supply-chain security risks.

Customize Your OpenClaw: Economize and Enhance Security
Discover how to tailor your OpenClaw to not only save money but also to bolster its security, as discussed on the r/openclaw subreddit.

Coldkey: Post-Quantum Age Key Generation and Paper Backup Tool
Coldkey generates post-quantum age keys (ML-KEM-768 + X25519) and produces single-page printable HTML backups with QR codes for offline storage.