New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

openclaw-enterprise

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

openclaw-enterprise

Commercial plugin suite for openclaw-core — DLP, Economy Engine, Sovereign Vault, Evolution Matrix. License required.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

openclaw-enterprise

Agentic Harness OS — openclaw-core 的商业意图驱动引擎层。 UNLICENSED — 仅限授权企业客户。需要有效 License Token。

概述

@lobster/openclaw-enterprise 已从传统"插件注入"架构演进为完整的 Agentic Harness OS。

系统不再依赖静态路由与硬编码业务逻辑,而是由统一的 IntentGateway 接收 SAML 意图信封,经 Aegis 防护墙过滤后,将任务投入 AgenticHarness 沙盒执行,动态装配所需的 MCP 工具胶囊,实现自主、隔离、可审计的多智能体协同。

HTTP 请求
    │
    ▼
IntentGateway ← 50ms 立即 ACK (jobId)
    │
    ├── AegisPlugin → Prompt Injection 过滤
    │
    ▼
parseSAML → 四维意图向量 (intent / budget / deadline / slash_ratio)
    │
    ▼
resolveTools → MCP 胶囊按需热装配
    │
    ▼
AgenticHarness → VM 沙盒 REPL (5s 硬杀 / Autopoiesis 自愈)
    │
    ▼
AgentEvaluator → BFT 双重法庭审计
    │
    ▼
Result → SignalManager / WebSocket 回推

激活要求

# 本地开发模式(跳过 License 验证)
LOBSTER_DEV_MODE=true

# 生产模式
LOBSTER_LICENSE_TOKEN=LOBSTER-ENT-xxxxxxxxxxxxxxxx

# SAML 签名密钥(必填)
SAML_HMAC_SECRET=your-256bit-secret

获取 License Token:联系 lobster-civilization 核心团队。

快速入门

1. 发送意图 (SAML Intent)

import { IntentGateway } from 'openclaw-enterprise/gateway';
import { buildSAMLEnvelope, SAMLIntent } from 'openclaw-core';

const gateway = new IntentGateway();

// 构建一个商业购买意图信封
const envelope = buildSAMLEnvelope(
    'did:agent:buyer-001',
    'did:market:core',
    SAMLIntent.BUY,
    1500,                    // 预算上限 (信用)
    Date.now() + 3600000,   // 截止时间
    0.5,                     // 削减比率
    { itemId: 'gpu-node-7', quantity: 2 }
);

// 50ms 内立即获得 jobId
const { jobId, status } = await gateway.receiveSAML(envelope);
// → { jobId: 'job-9a1493e4d9e1', status: 'ACCEPTED_BY_HARNESS' }

2. 激活商业插件套件

import { activateEnterprisePlugins } from '@lobster/openclaw-enterprise';

const store = new StateStore();
await activateEnterprisePlugins(store);
// → 🔐 All commercial plugins activated: DLP, Ledger, Vault, Evolution, Aegis, Escrow

3. Marathon Drill 存活验证

SAML_HMAC_SECRET=supersecret npx tsx drill.ts
🔥 [Drill] Initiating Agentic Harness Unsupervised Marathon Drill...
🌀 [IntentGateway] Dispatching Agentic Workflow for Job: job-9a1493e4d9e1
🔥 [Drill] Job Accepted: Status [ACCEPTED_BY_HARNESS]
🛒 [CommerceMCP] Executing checkout protocol...
🔥 [Drill] Drill completed successfully.

架构模块

🌀 IntentGateway (src/gateway/IntentGateway.ts)

统一意图入局网关。所有外部请求必须经此进入系统。

特性描述
50ms ACK立即返回 jobId,长跑异步不阻塞 HTTP
SAML 解析验证签名、防重放攻击 (nonce registry)
Aegis 过滤在进入 Harness 前拦截 Prompt Injection
MCP 动态装配根据 SAMLIntent 按需注入工具胶囊

🔐 商业插件 (src/plugins/)

插件类MCP 对应职责
DLP 防泄漏EnterpriseDLPPlugin—数据防泄漏 (由 Harness 沙盒接管)
经济结算EnterpriseLedgerPluginFinanceMCP信用转账、账户管理
主权保险库EnterpriseVaultPlugin—硬件绑定密钥存储
进化矩阵EnterpriseEvolutionPluginCognitiveMCP记忆沉淀、自我反思
Aegis 防火墙EnterpriseAegisPlugin—Prompt Injection 防护
担保合约EnterpriseEscrowPluginFinanceMCPAgent 间担保交易

🧩 MCP 工具胶囊 (src/plugins/*MCP.ts)

热插拔工具胶囊,供 AgenticHarness VM 沙盒中的子代理动态调用:

MCP文件接管来源
CommerceMCPCommerceMCP.ts商城结算 / 资产估价
SocialMCPSocialMCP.ts消息广播 / 社交图谱
CognitiveMCPCognitiveMCP.ts记忆回忆 / 自我反思
FinanceMCPFinanceMCP.ts信用转账 / 托管合约
SovereignAuthMCPSovereignAuthMCP.ts投票 / ZK 证明
NetRelayMCPNetRelayMCP.tsP2P 拓扑 / 广播

与开源版对比

能力openclaw-core (开源)openclaw-enterprise (商业)
P2P 联邦✅ 完整✅ 继承
SAML 协议✅ 完整✅ 继承 + IntentGateway
AgenticHarness VM✅ 物理原语✅ 继承 + MCP 胶囊装配
AgentEvaluator BFT✅ 物理原语✅ 继承 + 审计流水线
DLP 防泄漏⚪ Null✅ Harness 沙盒隔离接管
经济结算⚪ Null✅ FinanceMCP + Ledger
主权保险库⚪ Null✅ 硬件绑定 + 密钥轮换
进化反射⚪ Null✅ CognitiveMCP + 记忆沉淀
担保合约⚪ Null✅ EscrowPlugin + FinanceMCP
治理投票⚪ Null✅ SovereignAuthMCP

文件结构

packages/openclaw-enterprise/
├── drill.ts                    # Marathon Drill 存活验证脚本
├── src/
│   ├── index.ts                # 统一导出
│   ├── PluginLoader.ts         # 一键激活 + License 验证
│   ├── gateway/
│   │   └── IntentGateway.ts   # 🌀 统一意图入局网关 [NEW]
│   └── plugins/
│       ├── AegisPlugin.ts      # 🛡️ Prompt Injection 防火墙
│       ├── VaultPlugin.ts      # 🔑 主权密钥保险库
│       ├── DLPPlugin.ts        # 🛡️ 数据防泄露 [REALIZED]
│       ├── LedgerPlugin.ts     # 💳 经济结算 [REALIZED]
│       ├── EvolutionPlugin.ts  # 🧠 进化矩阵 [REALIZED]
│       ├── EscrowPlugin.ts     # 🤝 担保合约 [REALIZED]
│       ├── CommerceMCP.ts      # 🛒 商业工具胶囊 [NEW]
│       ├── SocialMCP.ts        # 📢 社交工具胶囊 [NEW]
│       ├── CognitiveMCP.ts     # 🧠 认知工具胶囊 [NEW]
│       ├── FinanceMCP.ts       # 💰 财务工具胶囊 [NEW]
│       ├── SovereignAuthMCP.ts # 🏛️ 治理工具胶囊 [NEW]
│       └── NetRelayMCP.ts      # 📡 网络工具胶囊 [NEW]

安全约束

  • VM 沙盒隔离 — 子代理代码运行在 node:vm 独立上下文,无 require、无 fs、无逃逸途径
  • 5000ms 硬杀 — 任何超时任务被强制终止,防止资源耗尽攻击
  • BFT 双重法庭 — AgentEvaluator 同时验证覆盖率(≥80%)和边界域合规
  • SAML 签名验证 — 所有 A2A 请求必须携带有效 HMAC-SHA256 签名
  • 防重放保护 — nonce registry 防止同一请求被多次执行

License

UNLICENSED — All Rights Reserved. 本包仅供内部使用及授权企业客户使用。 未经授权的分发或使用被严格禁止。

Keywords

lobster

FAQs

Package last updated on 06 Apr 2026

Related posts