Back to skill

Security audit

DataXAPI Xiaohongshu

Security checks for vulnerabilities and agentic risk

Overview

The skill coherently provides paid access to Xiaohongshu data, with routine privacy and optional software-installation caveats.

DataXAPI receives search and discovery terms, so omit secrets and unnecessary personal context. Set a spending budget because calls and additional pages can incur charges. Prefer REST or hosted MCP, or review and pin the CLI version. This review covers the bundled instructions, not the external service or downloaded package.

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)

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

Call it three ways

MCP. Server https://api.dataxapi.com/mcp, header Authorization: Bearer <key>. Tools: find (with platform: "xiaohongshu" it lists this platform's endpoints), describe (parameters and price), call, read_more (free), account (balance). Setting the server up: https://dataxapi.com/agents.md

json
{"capability":"xiaohongshu.notes.search","query":"咖啡","max_price":"0.02"}

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

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The skill recommends running an npm package through unversioned npx dataxapi or installing it globally without a version constraint. If a subsequently resolved release is compromised, it could execute with the agent's permissions and access credentials or local files; nothing in this document demonstrates an actual compromise.

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

REST:

bash
curl -G "https://api.dataxapi.com/v1/xiaohongshu/notes/search" \
  --data-urlencode "query=咖啡" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"

Endpoint discovery sends the user's wording to DataXAPI without a privacy disclosure.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The fallback discovery instruction sends the user's words to DataXAPI without requiring sensitive information to be removed or explaining that discovery itself transmits those words. Although external queries are expected for this skill, endpoint selection can inadvertently disclose private terms or context that are unnecessary for locating an endpoint.

Content

No source excerpt is available for this finding.