← 返回 Skills 市场
0xmasayoshi

SushiSwap SDK

作者 0xMasayoshi · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
1367
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install sushiswap-sdk
功能描述
TypeScript SDK for interacting with the SushiSwap Aggregator and related primitives. This SDK is a typed wrapper over the SushiSwap API, providing ergonomic helpers for token amounts, prices, quotes, and swap transaction generation. USE THIS SKILL WHEN: - Building TypeScript or JavaScript applications - You want strongly typed token, amount, and fraction primitives - You need to request swap quotes or executable swap transactions via code - You want safer arithmetic, formatting, and comparisons without floating point errors - You prefer SDK-based integration over raw HTTP requests
安全使用建议
This skill appears to be a legitimate SDK wrapper for SushiSwap, but there are important mismatches and provenance gaps you should address before installing or using it: - The reference examples show reading process.env.PRIVATE_KEY to sign and send transactions, yet the skill metadata does not declare any required environment variables. Do not provide your private key to this skill (or to an agent) unless you fully trust the source and understand exactly when and how it will be used. - The skill source and homepage are unknown. Verify the package author and locate the official repository or npm package named 'sushi' before installing — typosquatting and fake packages are common on registries. - If you need to execute swaps, prefer signing transactions offline or with a hardware wallet / ephemeral key that has minimal funds and limited permissions. Never store high-value keys in plain process.env for untrusted agents. - Ask the skill author to: (1) declare required env vars (e.g., PRIVATE_KEY) in metadata, (2) document exactly how referrer is used and whether any revenue/affiliate behavior occurs, and (3) provide a source repository or official homepage so you can audit the package code. If you can't verify provenance or the author cannot clarify the env/credential handling, treat this skill as untrusted and avoid giving it signing keys or broad access.
功能分析
Type: OpenClaw Skill Name: sushiswap-sdk Version: 0.1.0 The skill bundle is classified as suspicious due to the presence of code in `references/REFERENCE.md` that demonstrates reading `process.env.PRIVATE_KEY` and using it to sign and send blockchain transactions. While presented as an example for developers on how to use the SDK, this instruction, if interpreted and executed by an AI agent, could lead to the agent accessing and utilizing a highly sensitive credential from its environment for transaction execution, representing a significant security risk without clear malicious intent of exfiltration.
能力评估
Purpose & Capability
The name/description (TypeScript SDK for SushiSwap aggregator) aligns with the SKILL.md content: examples show getQuote/getSwap, use of viem for RPC/wallet clients, and guidance about referrer and fee splits. The requested npm packages (sushi, viem) are consistent with the stated purpose.
Instruction Scope
The reference example instructs reading process.env.PRIVATE_KEY and using it to create/send transactions. That is sensitive I/O and is not reflected in the declared requirements. The SKILL.md otherwise stays within the SDK's scope, but the example explicitly demonstrates accessing and using a private key, which the skill metadata fails to surface.
Install Mechanism
There is no install spec (instruction-only) and the SKILL.md simply recommends installing 'sushi' and 'viem' via common package managers. This is low-risk in itself, but because the skill has unknown provenance, installing packages from the registry should be done cautiously.
Credentials
The skill metadata declares no required environment variables, yet the reference code reads process.env.PRIVATE_KEY to sign/send transactions. Asking for a private key (or demonstrating its use) is a high-sensitivity action and should be explicitly declared and justified. There is also a mandatory 'referrer' parameter (for affiliate/fee attribution), which may have economic implications but is not a secret; however the private key usage is not documented in requires.env.
Persistence & Privilege
The skill is not always-enabled (always:false) and is user-invocable. Autonomous invocation is allowed by default, which is normal. Because the skill can generate executable swap data and (per examples) request signing via an env private key, an agent invoking this skill autonomously could attempt to execute on-chain transactions if given credentials — users should be cautious about granting signing credentials to autonomous agents.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sushiswap-sdk
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sushiswap-sdk 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of the SushiSwap TypeScript SDK. - Provides typed wrappers over the SushiSwap API for tokens, prices, quotes, and swap transaction generation. - Introduces ergonomic helpers for safer arithmetic, formatting, and comparisons. - Supports integration with TypeScript/JavaScript applications using strongly typed primitives. - Requires a mandatory `referrer` parameter for all swap-related calls. - Exposes a list of supported swap networks and clarifies fee handling and customization policies.
元数据
Slug sushiswap-sdk
版本 0.1.0
许可证
累计安装 3
当前安装数 2
历史版本数 1
常见问题

SushiSwap SDK 是什么?

TypeScript SDK for interacting with the SushiSwap Aggregator and related primitives. This SDK is a typed wrapper over the SushiSwap API, providing ergonomic helpers for token amounts, prices, quotes, and swap transaction generation. USE THIS SKILL WHEN: - Building TypeScript or JavaScript applications - You want strongly typed token, amount, and fraction primitives - You need to request swap quotes or executable swap transactions via code - You want safer arithmetic, formatting, and comparisons without floating point errors - You prefer SDK-based integration over raw HTTP requests. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1367 次。

如何安装 SushiSwap SDK?

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

SushiSwap SDK 是免费的吗?

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

SushiSwap SDK 支持哪些平台?

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

谁开发了 SushiSwap SDK?

由 0xMasayoshi(@0xmasayoshi)开发并维护,当前版本 v0.1.0。

💬 留言讨论