Skip to main content
sec0-sdk/integrations/openclaw exports three integration helpers:
  • createMoltbotHooks(...)
  • createMoltbotPlugin(...)
  • createMoltbotEscalationManager(...)
Use them when you want Sec0 policy enforcement inside an OpenClaw or Moltbot runtime without reimplementing audit, policy loading, or escalation glue. For non-OpenClaw applications, use createEscalationManager(...) from sec0-sdk/escalation directly. createMoltbotEscalationManager(...) is now a thin OpenClaw adapter over that shared approvals lifecycle.

Minimal Plugin

Manual Hook Wiring

Use createMoltbotHooks(...) when you want full control over how the runtime registers handlers:

Control-Plane Policy

You can load policy from the Sec0 control plane instead of a local file:
Use policyControlPlaneSource when you need a specific level, scope, or node override.

Configuration

Required

Common Optional Fields

Skills Hooks

Skill resolver and scanning behavior has moved to Skills Hooks. Use that section for skills.resolve, skills.onScan, and policy reason mapping.

Message Governance

Enable inbound or outbound message scanning alongside tool calls:

Escalation Manager

Use the built-in OpenClaw escalation adapter instead of hand-writing create, poll, and resolve logic in your app:
Supported modes are human, auto-approve, auto-reject, and off. Pass reporter and resolver directly if you want custom backends. Pass manager when you want one shared escalation lifecycle reused across OpenClaw hooks and the rest of your application.

Gateway Tool Registration

gatewayTool registers a bridge-backed tool inside the host runtime:
The host can then call the registered tool and let Sec0 build the bridge request.

Human Escalation Policy

Route high-risk actions to approval instead of hard-blocking:

OpenTelemetry

sec0-sdk/otel provides helpers for bootstrapping tracing:
See the Signer & OTel Reference for the full API.