Back to skill

Security audit

社媒数据接口接入 okdata

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious with medium confidence, chiefly because it recommends running unpinned packages that could change and execute with your account’s privileges.

Consider avoiding installation until the package commands use reviewed, fixed versions and the API destination and credential handling have been checked. Skillspector completed only a partial analysis because several references could not be resolved, so the available scan evidence is incomplete.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (14)

Agent Config Directory Access

High
Category
Agent Snooping
Confidence
90% confidence
Finding

Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.

Content

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

{ "mcpServers": { "okdata": { "url": "https://api.okdata.online/mcp", "headers": { "Authorization": "Bearer ${env:OKDATA_API_KEY}" } } } }

text

Codex, `~/.codex/config.toml`:

```toml
[mcp_servers.okdata]

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 · SKILL.md (reported line 32)May include surrounding context.

md
## 2. Connect over MCP (preferred)

Server: `https://api.okdata.online/mcp`, Streamable HTTP, header `Authorization: Bearer <key>`.

Quickest, if Node is installed: `npx okdata setup --client claude-code` (or `cursor`, `codex`, or several:
`--client claude-code,cursor`) writes the entry below into the client's config and keeps a backup of the file.

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 · SKILL.md (reported line 41)May include surrounding context.

the key, in the config, so OKDATA_API_KEY must be set where Claude Code starts):

bash
claude mcp add --transport http --scope user okdata https://api.okdata.online/mcp \
  --header 'Authorization: Bearer ${OKDATA_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 · SKILL.md (reported line 48)May include surrounding context.

Cursor, ~/.cursor/mcp.json:

json
{ "mcpServers": { "okdata": { "url": "https://api.okdata.online/mcp", "headers": { "Authorization": "Bearer ${env:OKDATA_API_KEY}" } } } }

Codex, ~/.codex/config.toml:

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 · SKILL.md (reported line 55)May include surrounding context.

toml
[mcp_servers.okdata]
url = "https://api.okdata.online/mcp"
bearer_token_env_var = "OKDATA_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 · SKILL.md (reported line 81)May include surrounding context.

go in the query string, and the key comes from the environment, never from the chat:

bash
curl -sG "https://api.okdata.online/v1/weibo/trends/list" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  --data-urlencode "view=compact"

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

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The setup command runs an unpinned npm package, so its executable content can change without changes to this skill. A compromised release could execute with the user's privileges, read API credentials, and modify agent configuration; configuration access is particularly relevant to this command's intended purpose.

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 · SKILL.md (reported line 59)May include surrounding context.

bearer_token_env_var = "OKDATA_API_KEY"

text

A client that only starts local (stdio) servers can bridge with `npx -y mcp-remote https://api.okdata.online/mcp
--header "Authorization:${AUTH_HEADER}"` and `AUTH_HEADER="Bearer okd_..."` in that server's `env`. Other
clients: <https://okdata.online/agents.md>.

MCP server referenced without pinned version: 'npx -y mcp-remote'.

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

The bridge runs an unpinned mcp-remote package, and -y suppresses the npm installation confirmation when installation is needed. A compromised version would execute locally and have access to the authentication material supplied to the bridge.

Content

No source excerpt is available for this finding.

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

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The call example executes an unpinned okdata package in a workflow that can require the API key. A compromised release could steal that credential or execute arbitrary local actions, independently of the documented billing controls.

Content

No source excerpt is available for this finding.

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

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The find command invokes an unpinned npm executable rather than merely making a read-only API request. Although endpoint discovery is free, a compromised package release could still read local files or credentials with the user's privileges.

Content

No source excerpt is available for this finding.

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

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The balance command runs an unpinned npm executable, potentially with access to stored or environment-provided credentials. Its read-only business purpose does not restrict what a compromised package can do on the local machine.

Content

No source excerpt is available for this finding.

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

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The login command runs an unpinned package during credential provisioning and storage. A malicious package update could capture newly issued credentials or compromise the local account even though the documented command avoids printing the key.

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 · SKILL.md (reported line 103)May include surrounding context.

md
## 4. Check that it works

1. Free: `account` over MCP, or `curl -s https://api.okdata.online/v1/catalog/status`, shows how many endpoints
   are up. With a key, `account` (or `GET /v1/account`) also shows the balance.
2. The smallest paid call is `x.posts.get` at $0.0003: `call` it once with
   `{"capability": "x.posts.get", "url": "<any public x.com post link>"}` and confirm `meta.billing.amount` is