Back to skill

Security audit

Xiaohongshu Store

Security checks for vulnerabilities and agentic risk

Overview

Store changes require your confirmation, but first-time setup can execute an unverified remote installer without a separate approval step.

Review and explicitly approve CLI installation before allowing setup, preferably using a verified release. Check whether it installs or updates other agent skills. Connect only the intended shop, request customer information only when needed, and retain confirmation for store changes. The remote installer contents and server-side connector implementation remain unverified.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (8)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

The supplied chunk only executes an external installer; it shows no Xiaohongshu Store operations or connection between the installer and the declared functionality. Installation can be a legitimate supporting detail, but that relationship is not established here. The remote script's contents and any further effects are unknown.

Content

No source excerpt is available for this finding.

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

md
- `list_supported_ports` — List the customs ports supported by Xiaohongshu for cross-border clearance.
- `modify_order_express` — Change the express tracking number of a shipped Xiaohongshu order. Only available after shipment and before receipt. [write]
- `modify_order_remark` — Modify the seller remark and flag of a Xiaohongshu order. [write]
- `refresh_token` — Refresh the access token using the refresh token stored in the connection credential. Xiaohongshu only issues new tokens when the access token has under 30 minutes left or has expired; otherwise it returns the current ones unchanged. A changed token set must be saved back to the connection, and the old access token stays valid for only 5 more minutes. Access tokens expire after 7 days. [write]
- `resend_payment_record` — Ask Xiaohongshu to notify the payment company to push the payment record to customs again for a bonded cross-border order. [write]
- `search_brands` — Search the brands available for a leaf Xiaohongshu catego

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

md
- `list_supported_ports` — List the customs ports supported by Xiaohongshu for cross-border clearance.
- `modify_order_express` — Change the express tracking number of a shipped Xiaohongshu order. Only available after shipment and before receipt. [write]
- `modify_order_remark` — Modify the seller remark and flag of a Xiaohongshu order. [write]
- `refresh_token` — Refresh the access token using the refresh token stored in the connection credential. Xiaohongshu only issues new tokens when the access token has under 30 minutes left or has expired; otherwise it returns the current ones unchanged. A changed token set must be saved back to the connection, and the old access token stays valid for only 5 more minutes. Access tokens expire after 7 days. [write]
- `resend_payment_record` — Ask Xiaohongshu to notify the payment company to push the payment record to customs again for a bonded cross-border order. [write]
- `search_brands` — Search the brands available for a leaf Xiaohongshu catego

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

md
s` — Change the express tracking number of a shipped Xiaohongshu order. Only available after shipment and before receipt. [write]
- `modify_order_remark` — Modify the seller remark and flag of a Xiaohongshu order. [write]
- `refresh_token` — Refresh the access token using the refresh token stored in the connection credential. Xiaohongshu only issues new tokens when the access token has under 30 minutes left or has expired; otherwise it returns the current ones unchanged. A changed token set must be saved back to the connection, and the old access token stays valid for only 5 more minutes. Access tokens expire after 7 days. [write]
- `resend_payment_record` — Ask Xiaohongshu to notify the payment company to push the payment record to customs again for a bonded cross-border order. [write]
- `search_brands` — Search the brands available for a leaf Xiaohongshu category.
- `search_items` — Search Xiaohongshu items with full publish fields using keywords, item codes, or availability filters.

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

md
s` — Change the express tracking number of a shipped Xiaohongshu order. Only available after shipment and before receipt. [write]
- `modify_order_remark` — Modify the seller remark and flag of a Xiaohongshu order. [write]
- `refresh_token` — Refresh the access token using the refresh token stored in the connection credential. Xiaohongshu only issues new tokens when the access token has under 30 minutes left or has expired; otherwise it returns the current ones unchanged. A changed token set must be saved back to the connection, and the old access token stays valid for only 5 more minutes. Access tokens expire after 7 days. [write]
- `resend_payment_record` — Ask Xiaohongshu to notify the payment company to push the payment record to customs again for a bonded cross-border order. [write]
- `search_brands` — Search the brands available for a leaf Xiaohongshu category.
- `search_items` — Search Xiaohongshu items with full publish fields using keywords, item codes, or availability filters.

External Script Fetching

High
Category
Supply Chain
Confidence
99% confidence
Finding

Piping an unpinned remote script directly into bash executes whatever the installation endpoint serves with the invoking user's privileges, without prior integrity verification or review. Compromise of the distribution endpoint could therefore compromise the local account; the PowerShell alternative has the same underlying risk, although both commands are limited to first-time setup.

Content

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

The setup workflow executes remotely downloaded installation scripts without warning about system changes or third-party code execution.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The fallback setup directs the agent to execute remote installation code without explicitly obtaining approval for local system changes. Conditioning installation on a missing CLI limits exposure, but a store-operation request does not itself authorize executing third-party installers.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources