← 返回 Skills 市场
yanara-osm

osm-p2p-hybrid

作者 yanara-osm · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
76
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install osm-p2p-hybrid
功能描述
OSM-P2P Hybrid - 融合 UDP 直连与 Nostr 网络的 P2P 通讯系统
安全使用建议
This skill appears to implement a legitimate hybrid UDP+Nostr P2P client, but it does create persistent local state and network exposure you should accept consciously. Before installing, consider: 1) The skill will generate and store a Nostr private key in ~/.osm-p2p/identity.json (base64). Treat that file like a secret — protect it, or change dataDir to an isolated location. 2) The app publishes node announcements (including local IPs and ports) to public Nostr relays and via UDP broadcasts; this can reveal your LAN/VPN addresses and service ports. 3) Audit logs record message payloads (truncated) to disk; if you handle sensitive text, disable or relocate logging. 4) Relays used are hard-coded defaults — you can and should configure trusted relays if you plan to use it. 5) Run in a sandbox or test machine if you want to inspect behavior first (network monitoring, check created files, review identity.json and audit.log). If you want, I can point to the exact lines that write keys/logs and show how to change the dataDir, disable audit logging, or avoid announcing addresses.
功能分析
Type: OpenClaw Skill Name: osm-p2p-hybrid Version: 1.0.0 The skill bundle implements a legitimate P2P communication system combining UDP for local discovery and Nostr for wide-area relaying. Key components include an IdentityManager for cryptographic keys, a TransportManager for routing, and an AuditLogger for message history. While the system stores private keys in plaintext (Base64) within the '~/.osm-p2p/identity.json' file and performs local network broadcasting, these behaviors are consistent with the stated purpose of a P2P chat application and lack any evidence of malicious intent, data exfiltration, or unauthorized execution.
能力标签
cryptorequires-walletrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (hybrid UDP + Nostr P2P) align with code and dependencies: UDP sockets (dgram), nostr-tools, gossip, discovery, CLI. The included files implement the claimed features (TransportManager / UDPTransport / NostrTransport / IdentityManager / AuditLogger). No unrelated cloud credentials or unrelated binaries are requested.
Instruction Scope
SKILL.md is an instruction-only install/run guide (npm install, build, run CLI). It does not call for extra environment variables or external download URLs. However the runtime code will enumerate local network interfaces, open UDP sockets, connect to public Nostr relays, and persist identity + audit files to disk — behavior that the SKILL.md does not explicitly warn about.
Install Mechanism
No download/install spec in the registry; package uses standard npm dependencies (nostr-tools, commander, qrcode, chalk, ora) from public registries. No remote archive downloads or obscure installers are used in the provided files.
Credentials
Although the skill requests no environment secrets, it generates and persists a Nostr private key (identity.json under ~/.osm-p2p by default) and writes audit logs containing message payloads to disk. It also includes and advertises local IP addresses and ports to peers/relays. These actions are consistent with a P2P messaging app but are high-sensitivity (private key + possibly message content + local network topology), so you should evaluate whether you are comfortable with those exposures.
Persistence & Privilege
The skill writes persistent files to the user's home (default dataDir ~/.osm-p2p): identity.json (including base64-encoded private key), audit.log, and other state. It does not request always:true or modify other skills. Autonomous invocation is possible by platform default; combined with persisted keys and public relay publication this increases blast radius compared to a purely manual tool.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install osm-p2p-hybrid
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /osm-p2p-hybrid 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
osm-p2p-hybrid 1.0.0 initial release - Combines UDP direct (local/VPN) and Nostr-based (wide area) P2P communication. - Features intelligent routing to choose the optimal transmission path. - Supports Direct, Broadcast, and Multicast room types. - Implements gossip-style message spreading. - Easy social node addition via QR code, similar to WeChat. - Includes CLI for status checking, node listing, QR code generation, node adding, broadcasting, private messaging, and interactive chat mode.
元数据
Slug osm-p2p-hybrid
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

osm-p2p-hybrid 是什么?

OSM-P2P Hybrid - 融合 UDP 直连与 Nostr 网络的 P2P 通讯系统. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 76 次。

如何安装 osm-p2p-hybrid?

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

osm-p2p-hybrid 是免费的吗?

是的,osm-p2p-hybrid 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

osm-p2p-hybrid 支持哪些平台?

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

谁开发了 osm-p2p-hybrid?

由 yanara-osm(@yanara-osm)开发并维护,当前版本 v1.0.0。

💬 留言讨论