Back to skill

Security audit

OpenSea Skill

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because it reports a swap approval weakness, transaction guidance lacking adequate review safeguards, and unpinned install commands; the analysis was also partial.

Treat this as a cautionary Review result, not a claim that the author is malicious. Before installing, consider whether you need its wallet and trading capabilities, review transaction details and costs before approving any signing or submission, and use reviewed fixed package versions. Scanner coverage was partial: 84 of 92 components were scanned, with 8 only partially inspected, so the results do not establish that the artifact is safe.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
opensea-swaps/scripts/opensea-swap.sh:87
Finding

Immediate swap execution bypasses approved-quote binding

Content
View full analysis

Impact

The wallet can spend the requested input amount for an output or route the user did not approve. Slippage relative to the new quote does not preserve the minimum output of the earlier approved quote.

Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
Findings (59)

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

Scanner excerpt · CHANGELOG.md (reported line 244)May include surrounding context.

md
### Minor Changes

- ef89be8: `opensea-api`: add `references/authentication.md` covering SIWE wallet authentication — getting a token via the SDK (`OpenSeaAuth`) or the CLI `auth` commands (login, status, refresh, revoke, tokens, scopes), available scopes, and manual cURL flows. Document auth scopes in `references/rest-api.md`.
- d4dff85: `opensea-tool-sdk`: update SKILL.md and `references/predicate-gating.md` for the unified 402 + X-Payment flow and the new `paidPredicateGate` (single 402 round trip for combined identity + payment). Remove the `--auth eip3009` flag from `pay` command docs.

## 2.14.0

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

Scanner excerpt · CHANGELOG.md (reported line 285)May include surrounding context.

md
### Minor Changes

- 27a89da: `opensea-tool-sdk`: document canonical `SubscriptionPredicate` deployment on Ethereum mainnet + Base (`0xCBe0cd9B1d99d95Baa9c58f2767246C52e461f25`). `SubscriptionPredicateClient` constructor no longer requires `predicateAddress` — it defaults to the canonical multi-tenant deployment, matching the ERC721 / ERC1155 owner predicates. Self-hosted deployments are still supported by passing `predicateAddress` explicitly.
- 427e093: `opensea-tool-sdk`: update SKILL.md and `references/known-predicates.md` for the v0.2 registry redeploy on Ethereum mainnet + Base. New canonical addresses for `ToolRegistry`, `ERC721OwnerPredicate`, and `ERC1155OwnerPredicate`.
- 773adcd: `opensea-api`: document 3 new opensea-mcp tools.

## 2.8.0

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

The script specifically supports asset transfers, a capability not explicitly included in the declared operations. The broad claim of covering the full OpenSea developer surface does not clearly disclose this additional operation. The visible code only requests transaction preparation; it does not itself sign or broadcast transfers.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 28)May include surrounding context.

md
| Build/register/gate AI agent tools (ERC-8257) | [`opensea-tool-sdk/SKILL.md`](opensea-tool-sdk/SKILL.md) |

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
80% confidence
Finding

Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.

Content

Scanner excerpt · docs/policy-administration.md (reported line 106)May include surrounding context.

md
## After any change

Run `opensea wallet info` on the agent host. It should print no warnings, or only the standing reminder to check scope in the console for Fireblocks and Bankr. A remaining warning means the change did not apply; check the dashboard again.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · opensea-api/references/authentication.md (reported line 11)May include surrounding context.

md
|---|---|---|
| API key | Application access and quota | `X-API-KEY` on REST and MCP requests |
| SIWE session | Create, list, rotate, or revoke PATs | Session cookies; managed by the CLI or SDK |
| Scoped personal access token (PAT) | Durable credential used only to mint JWTs | Token exchange only |
| Wallet JWT | Short-lived wallet identity and scopes | `Authorization: Bearer <JWT>` on REST and MCP requests |

Wallet-scoped REST and MCP calls need both the API key and the wallet JWT. Never send a PAT to either.

The cross-chain mint workflow instructs transaction submission without warning about spending funds or irreversible onchain effects.

High
Category
Output Handling
Confidence
92% confidence
Finding

The cross-chain mint guidance directs submission of every returned transaction without requiring transaction inspection or approval of the complete spending plan. In a wallet-enabled agent, following that instruction literally could authorize unwanted transfers, approvals, or irreversible mint and bridge costs if a response is malicious or does not match the user's intended purchase; ordered submission and receipt polling do not validate transaction safety.

Content

No source excerpt is available for this finding.

The MCP workflow directs signing and submitting transaction data without a financial-risk warning.

High
Category
Output Handling
Confidence
93% confidence
Finding

The workflow directs the agent to sign and submit server-returned transaction data without requiring verification against the user's intended operation. The substantive risk is not merely a missing financial disclaimer: malicious or incorrect transaction data could authorize irreversible transfers or approvals.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The installation command executes an unpinned npm package and installs skill content from a mutable repository reference, with automatic confirmation. This is a supply-chain exposure rather than an MCP configuration issue: a compromised release or repository update could introduce code or instructions into an environment later used for wallet operations.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
86% confidence
Finding

The paragraph gives an unpinned installation command and recommends invoking it with a dry-run flag after structural changes. A dry run of the installer does not prevent npx from downloading and executing the installer package itself, leaving a supply-chain execution risk even when installation changes are only previewed.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · docs/policy-administration.md (reported line 28)May include surrounding context.

md
const ownerKey = process.env.PRIVY_OWNER_PRIVATE_KEY!

const policyIds = ["pol_abc123"] // policy you authored separately
const url = `https://api.privy.io/v1/wallets/${walletId}`
const body = { policy_ids: policyIds }

const signature = generateAuthorizationSignature({

MCP server referenced without pinned version: 'npx @opensea/cli'.

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

Both the global installation and npx alternative select an unpinned CLI release. Although this is not an MCP server launch, a compromised or unexpectedly changed package would execute locally in a workflow that handles API keys, wallet sessions, and potentially private keys.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-api/SKILL.md (reported line 116)May include surrounding context.

md
| Real-time WebSocket events | [stream-api.md](references/stream-api.md) |
| Shell script index | [scripts.md](references/scripts.md) |
| Tool registry REST parameters | [`opensea-tool-sdk`](../opensea-tool-sdk/SKILL.md#tool-discovery-beta) |
| Live OpenAPI spec | `https://api.opensea.io/api/v2/openapi.json` |

The SDK (`@opensea/cli` exports `OpenSeaCLI`, `@opensea/sdk` exports `OpenSeaAPI`) mirrors the CLI groups, for example `client.collections.get(slug)` and `client.listings.best(slug, { traits })`.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-api/references/authentication.md (reported line 3)May include surrounding context.

md
# Wallet authentication

Use wallet auth when an operation acts as a wallet. Start with the [public auth guide](https://docs.opensea.io/reference/auth), and take current paths, schemas and scopes from the [live OpenAPI document](https://api.opensea.io/api/v2/openapi.json).

## Credential model

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-api/references/rest-api.md (reported line 7)May include surrounding context.

text
Base URL: https://api.opensea.io
OpenAPI spec: https://api.opensea.io/api/v2/openapi.json
API key header: x-api-key: $OPENSEA_API_KEY
Bearer token header: Authorization: Bearer <token>  (wallet-authenticated endpoints only)

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-marketplace/references/marketplace-api.md (reported line 8)May include surrounding context.

Base URL and authentication

text
Base URL: https://api.opensea.io/api/v2
Auth: x-api-key: $OPENSEA_API_KEY

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-marketplace/references/marketplace-api.md (reported line 82)May include surrounding context.

Example (curl):

bash
curl -X POST "https://api.opensea.io/api/v2/orders/ethereum/seaport/listings" \
  -H "x-api-key: $OPENSEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"protocol_address": "0x0000000000000068f116a894984e2db1123eb395", "parameters": {...}, "signature": "0x..."}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-tool-sdk/SKILL.md (reported line 97)May include surrounding context.

| GET /api/v2/tools/{registry_chain}/{registry_addr}/{tool_id}/activity | include_creator_payments (default false), limit (default 25), offset |

bash
curl -s "https://api.opensea.io/api/v2/tools/search?query=nft&access_type=open&limit=10" \
  -H "x-api-key: $OPENSEA_API_KEY" | jq
curl -s "https://api.opensea.io/api/v2/tools/8453/0x265BB2DBFC0A8165C9A1941Eb1372F349baD2cf1/1" \
  -H "x-api-key: $OPENSEA_API_KEY" | jq

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-tool-sdk/SKILL.md (reported line 99)May include surrounding context.

bash
curl -s "https://api.opensea.io/api/v2/tools/search?query=nft&access_type=open&limit=10" \
  -H "x-api-key: $OPENSEA_API_KEY" | jq
curl -s "https://api.opensea.io/api/v2/tools/8453/0x265BB2DBFC0A8165C9A1941Eb1372F349baD2cf1/1" \
  -H "x-api-key: $OPENSEA_API_KEY" | jq

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-api/references/authentication.md (reported line 60)May include surrounding context.

Send the application key and a short-lived wallet JWT from your own SIWE or OAuth flow. The CLI does not export its stored JWT; with the CLI, use opensea api request instead.

bash
curl "https://api.opensea.io/api/v2/account/0xYOUR_WALLET/favorites?limit=1" \
  -H "X-API-KEY: $OPENSEA_API_KEY" \
  -H "Authorization: Bearer $OPENSEA_WALLET_JWT"

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-api/scripts/auth/opensea-auth-request-key.sh (reported line 14)May include surrounding context.

sh
tmp_body=$(mktemp)
trap 'rm -f "$tmp_body"' EXIT

http_code=$(curl -sS --connect-timeout 10 --max-time 30 -X POST \
  -H "User-Agent: opensea-skill/1.0" \
  -H "Content-Type: application/json" \
  -d '{}' \

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · opensea-api/scripts/auth/opensea-resolve-key.sh (reported line 50)May include surrounding context.

sh
tmp_body=$(mktemp)
trap 'rm -f "$tmp_body"' EXIT

http_code=$(curl -sS --connect-timeout 10 --max-time 30 -X POST \
  -H "User-Agent: opensea-skill/1.0" \
  -H "Content-Type: application/json" \
  -d '{}' \