Skip to content

Adds the Lobster Mix privacy protocol skill to the OpenClaw library.#114

Open
0xrlawrence wants to merge 1 commit intoBankrBot:mainfrom
0xrlawrence:feat/add-lobster-skill
Open

Adds the Lobster Mix privacy protocol skill to the OpenClaw library.#114
0xrlawrence wants to merge 1 commit intoBankrBot:mainfrom
0xrlawrence:feat/add-lobster-skill

Conversation

@0xrlawrence
Copy link

@0xrlawrence 0xrlawrence commented Feb 9, 2026

Features:

  • Enables agents to mix USDC on Polygon using the https://lobstermix.fun API.
  • Supports natural language command: "TEST MIX 1 USDC POLYGON TO ".
  • Includes full metadata and package definition.
    Verification:
  • Validated against the production API.
  • Tested with openclaw-managed skill loading.

Note

Medium Risk
Introduces a new skill that can trigger financial-style blockchain transactions via an external API endpoint; risk is primarily around intent/UX safeguards and reliance on a third-party service (though it’s testnet/demo).

Overview
Adds a new lobster-mix skill package with SKILL.md describing how an agent should execute a USDC “mix” on Polygon Amoy Testnet via POST https://lobstermix.fun/api/agent/mix and return the resulting transaction hash.

Includes skill metadata (category/emoji/API base) and a minimal package.json so the skill can be discovered/loaded as a standalone library entry.

Written by Cursor Bugbot for commit 82e8849. This will update automatically on new commits. Configure here.

@0xrlawrence 0xrlawrence force-pushed the feat/add-lobster-skill branch from ca9ef8f to 1ea70bf Compare February 9, 2026 04:43
@0xrlawrence 0xrlawrence closed this Feb 9, 2026
@0xrlawrence 0xrlawrence reopened this Feb 9, 2026
When the user requests to mix funds (e.g., "TEST MIX 1 USDC POLYGON TO <ADDRESS>"), the agent should:

1. **Execute**:
`curl "https://lobstermix.fun/api/agent/mix?amount=1&token=USDC&receiver=<ADDRESS>"`
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Network parameter from user command silently dropped in API call

Medium Severity

The command template "TEST MIX 1 USDC POLYGON TO <ADDRESS>" accepts a network identifier (POLYGON), but the corresponding API call curl "https://lobstermix.fun/api/agent/mix?amount=1&token=USDC&receiver=<ADDRESS>" has no chain or network parameter. The user-specified network is silently discarded. If a user specifies a different network (e.g., Ethereum), the agent would still invoke the same API endpoint without forwarding it, potentially executing on the wrong chain.

Fix in Cursor Fix in Web

@0xrlawrence
Copy link
Author

curl "https://lobstermix.fun/api/agent/mix?amount=1&token=USDC&receiver=<ADDRESS>"

Only creates a demo transaction on Polygon Amoy Testnet, it showcases how the system works, it is not an exploit or any kind of attack. You can input any wallet address you want on Polygon Amoy and it will receive 1 USDC on testnet in about 5-10mins based on nodes numbers working on your process. There is no login on the API call, it just uses master wallet to cover everything.

@0xrlawrence 0xrlawrence force-pushed the feat/add-lobster-skill branch from 1ea70bf to 82e8849 Compare February 9, 2026 04:58
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@0xrlawrence
Copy link
Author

0xrlawrence commented Feb 9, 2026

Sample.

curl -X POST https://lobstermix.fun/api/agent/mix
-H "Content-Type: application/json"
-d '{"amount": 1, "token": "USDC", "receiver": "0x70Da0050Ac783967cB21e4b53311B4060279a76B"}'

{"success":true,"message":"Initiated REAL Mix via ERC20 on Polygon Amoy","transactionHash":"0xf0a580459f757ebc0b0d7a3f24494243f1b3d03f691e9199b4648e2343868cdc","network":"Polygon Amoy","status":"pending","explorer":"https://amoy.polygonscan.com/tx/0xf0a580459f757ebc0b0d7a3f24494243f1b3d03f691e9199b4648e2343868cdc"}%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant