360 Secure SkillHub
360 安全技能中心

TWZRD Preflight

该 Skill 说明如何在 OpenClaw 中安装并配置 twzrd-preflight 插件,通过 before_tool_call 门禁在支付类 x402 或 AgentCash 风格工具调用前执行远程预检,支持 enforce、fail-closed 与 wash 拒绝等模式。运行时代码需从 npm 获取,预检服务端实现不在文件内。

twzrd-sol
twzrd-sol
热度 7.64
最近更新 2026-08-22 09:53:59
分类:安全依赖:代码执行 / 第三方 API应用场景:API 集成 / 工作流 / 财务

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add twzrd-preflight
Metadata
name
twzrd-preflight
description
Use when configuring OpenClaw to run TWZRD preflight checks before payment-shaped x402 tool calls.

TWZRD Preflight

Use twzrd-preflight when an OpenClaw operator wants a native before_tool_call gate for payment-shaped x402 or AgentCash-style tool calls.

The runtime plugin is installed from npm:

npm install twzrd-preflight

OpenClaw config example:

{
  "plugins": [
    {
      "name": "twzrd-preflight",
      "config": {
        "mode": "enforce",
        "failMode": "closed",
        "refuseWashFlagged": true,
        "endpoint": "https://intel.twzrd.xyz"
      }
    }
  ]
}

Factory defaults are enforce + fail-closed + wash refuse. Assign wrapFetchWithTwzrdPreflight(fetch) on the HTTP client so a 402 wash payTo cannot reach a signer. mode: "shadow" is opt-in (log only).

The remote preflight endpoint is free. Paid trust receipts remain available from https://intel.twzrd.xyz for agents that need portable proof.