Back to skill

Security audit

小红书评论采集 · Xiaohongshu comments · DataXAPI

Security checks for vulnerabilities and agentic risk

Overview

The skill is marked suspicious because scanners found an unpinned third-party CLI and a privacy concern about sending share text or token-bearing URLs to an external service; the review is incomplete.

Consider the supply-chain risk of an unpinned CLI and the disclosure of share text or token-bearing URLs to DataXAPI before installing. The scan is partial: although the single listed component was inspected, some local references were unresolved, so the 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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

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

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

The suggested npx dataxapi invocation can download and execute an unpinned package version; the global installation alternative is also unpinned. A compromised package release could execute with the agent's local permissions and access available credentials, including DATAXAPI_API_KEY. This is a CLI supply-chain risk, rather than an unversioned MCP server as the finding's label suggests.

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 70)May include surrounding context.

dataxapi show xiaohongshu.notes.comments.list prints its price and every parameter, free and without a key.

MCP. Server https://api.dataxapi.com/mcp, header Authorization: Bearer <key>; the call tool takes:

json
{"capability":"xiaohongshu.notes.comments.list","id":"6a9c5884000000002b002d95","max_price":"0.02"}

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 79)May include surrounding context.

REST:

bash
curl -G "https://api.dataxapi.com/v1/xiaohongshu/notes/comments/list" \
  --data-urlencode "id=6a9c5884000000002b002d95" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"

The skill instructs sending complete share text and token-bearing URLs to DataXAPI without a privacy warning.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The skill explicitly permits forwarding whole share messages and URLs containing xsec_token to a third-party service without explaining the additional disclosure. This can transmit unnecessary contextual text or platform tokens that may be retained in service logs; the supplied material does not establish that xsec_token grants account access. Supporting note IDs provides a lower-disclosure alternative.

Content

No source excerpt is available for this finding.