Back to videos

Keep credentials out of agent workspaces

A review agent needs read access to one project. See how OpenClaw Enterprise keeps the real credential outside its workspace and blocks requests beyond that grant.

· 1 min

Share

Transcript

Ask an agent to review one project. It only needs read access. Give it a real key, and it unlocks every project with the power to change them.

Telling it “only read” doesn’t hold. One hidden note inside a file can talk it into changing anything. Never ask the target to be the guard.

OpenClaw Enterprise splits key from rule. Inside its workspace, the agent gets a dummy pass. Outside, the security desk checks the rule with the real key.

Read project one? Allowed. Open project two? Blocked. Tricked by a hidden note into changing files? The desk never reads the prompt. Blocked.

Even if the workspace leaks, a dummy pass opens nothing outside.

Put the rule where the agent can’t reach it. What the key allows doesn’t matter, and neither does what the agent was told. Secure agentic work for the enterprise. RAW Labs. OpenClaw Enterprise.

Read the companion article, Let an agent use a credential without holding it.

Stay up to date with AI.

AI news and insights from RAW Labs, covering the technology, the business decisions, and what it takes to put AI to work.

Unsubscribe anytime. Privacy policy