
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
clawdbox-edge-gateway
Advanced tools
ClawdBox Edge Gateway 是运行在边缘设备(Debian ARM64)上的核心网关服务。它负责连接 ClawdBox 云端后端、管理本地 OpenClaw AI 引擎,并提供安全的自更新机制。
NCC 打包、JavaScript Obfuscator 混淆与 Bytenode 字节码编译,实现工业级源码防逆向。.env 文件依赖,极致隐藏后端地址与敏感信息。npm installnpm run dev (默认连接测试环境 http://192.168.10.51:3000)配置位于 src/config/ 目录下:
base.js: 通用基础配置。envs.js: 环境差异配置(测试/正式环境地址)。npm run build 才能生效于生产环境。为了保护知识产权,分发到设备的代码必须经过构建处理。
npm run build
构建产物将输出至 dist/ 目录:
dist/clawdbox-edge-gateway/: 部署文件夹(仅含混淆后的二进制字节码)。dist/clawdbox-edge-gateway.tar.gz: 供自更新使用的标准压缩包。dist/VERSION: 当前构建的版本号。dist/clawdbox-edge-gateway/ 拷贝至设备(或直接上传 tar.gz 并解压)。cd clawdbox-edge-gateway
pm2 start ecosystem.config.js
pm2 save
项目内置了 src/services/updater.js 模块,支持以下两种更新逻辑:
后端可发送 gateway_update 消息实时触发更新:
gateway_update{
"type": "gateway_update",
"content": {
"version": "1.0.1",
"url": "http://api.clawdbox.cn/download/v1.0.1.tar.gz"
}
}
运维人员可直接在设备上通过 update 命令强制更新:
# 方式 1: 使用远程 URL 更新 (-u 参数)
node index.js update -u http://your-server.com/clawdbox-edge-gateway.tar.gz
# 方式 2: 使用本地下载好的文件更新 (-u 参数)
node index.js update -u /tmp/clawdbox-edge-gateway.tar.gz
# 查看帮助
node index.js --help
该命令支持子命令 update,会自动识别来源类型并完成安装与 PM2 重启。
.env 文件或 config/ 源码目录,所有敏感信息均锁死在字节码中。pm2 logs clawdbox-edge-gateway
FAQs
ClawdBox Edge Gateway - OpenClaw 管理代理 + 后端对接网关
The npm package clawdbox-edge-gateway receives a total of 33 weekly downloads. As such, clawdbox-edge-gateway popularity was classified as not popular.
We found that clawdbox-edge-gateway demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.