← 返回 Skills 市场
mlumeau

Verify Matrix device

作者 Maxime Lumeau · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
380
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install verify-matrix-device
功能描述
Verify and cross-sign the active Matrix device for one OpenClaw-managed account. Use when a user needs to repair trust for an OpenClaw Matrix device, confirm...
安全使用建议
This skill appears to do what it claims, but review and run it with these precautions: 1) Inspect the included scripts locally (they are provided) and confirm the homeserver you supply is correct. 2) Be aware the script will read your openclaw.json (default ~/.openclaw/openclaw.json or path from OPENCLAW_JSON) to obtain access tokens — only use this skill if you trust the repository/run context. 3) npm install will fetch dependencies from the public npm registry into the skill folder; consider running installs in an isolated environment (container or VM) and run npm audit if desired. 4) Provide recovery keys, access tokens, or passwords only interactively in a secure terminal as instructed. 5) If you need greater assurance, run the scripts in a sandbox and verify network requests (they target only the homeserver you provide and Matrix endpoints).
功能分析
Type: OpenClaw Skill Name: verify-matrix-device Version: 0.1.0 The skill's core functionality involves securely handling sensitive Matrix credentials (access tokens, passwords, recovery keys) and performing cryptographic operations to verify and cross-sign a Matrix device, which aligns with its stated purpose. However, the `SKILL.md` instructions for the OpenClaw agent to execute `node {baseDir}/scripts/verify_matrix_device.mjs` with user-provided `--homeserver` and `--username` arguments create a shell injection vulnerability. If the OpenClaw agent does not properly sanitize these user inputs before constructing and executing the shell command, an attacker could achieve Remote Code Execution (RCE) on the host system. This is a critical vulnerability in the agent's execution model, not an intentional malicious act by the skill itself, thus classifying it as suspicious.
能力评估
Purpose & Capability
Name/description, prompts, and code all align: the scripts read an OpenClaw config (openclaw.json) or accept direct credentials, restore the self-signing key from a recovery key, sign the active device, and confirm the signature server-side. Required binaries (node, npm) and the listed dependency matrix-js-sdk are reasonable for this purpose.
Instruction Scope
SKILL.md instructions are specific: ask for homeserver/username/recovery key, optionally read openclaw.json, ensure node_modules exists (npm install if missing), and run the included script which performs Matrix client calls to the provided homeserver only. The instructions do require an interactive TTY for hidden secret prompts, and they explicitly avoid passing the recovery key on the command line.
Install Mechanism
No remote download/install spec is embedded — the skill instructs to run npm install --prefix {baseDir} to fetch matrix-js-sdk from the public npm registry. This is a standard approach but does write node_modules into the skill folder and will pull dependencies from npm; no custom or remote URLs, shorteners, or archives are used.
Credentials
The skill requests no environment variables or credentials up-front. It reads openclaw.json (defaulting to ~/.openclaw/openclaw.json or OPENCLAW_JSON if set) to obtain an OpenClaw access token, or accepts direct interactive credentials (access token or password). These data needs are expected for signing a Matrix device and are proportionate to the stated task.
Persistence & Privilege
The skill is not always-enabled, does not demand persistent platform privileges, and does not modify other skills or global agent config. It does write node_modules when npm install is run (local to the skill folder) but otherwise does not request elevated or persistent system privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install verify-matrix-device
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /verify-matrix-device 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of verify-matrix-device: - Verifies and cross-signs the active Matrix device for a specified OpenClaw-managed account. - Prompts user for missing inputs, manages dependencies, and uses secure recovery key entry. - Utilizes existing `openclaw.json` access token; does not generate or use temporary devices for OpenClaw. - Reports on device verification status, confirming if already cross-signed or newly signed. - Supports advanced options for local testing, including direct access token and password-based flows.
元数据
Slug verify-matrix-device
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Verify Matrix device 是什么?

Verify and cross-sign the active Matrix device for one OpenClaw-managed account. Use when a user needs to repair trust for an OpenClaw Matrix device, confirm... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 380 次。

如何安装 Verify Matrix device?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install verify-matrix-device」即可一键安装,无需额外配置。

Verify Matrix device 是免费的吗?

是的,Verify Matrix device 完全免费(开源免费),可自由下载、安装和使用。

Verify Matrix device 支持哪些平台?

Verify Matrix device 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Verify Matrix device?

由 Maxime Lumeau(@mlumeau)开发并维护,当前版本 v0.1.0。

💬 留言讨论