Back to skill

Security audit

抖音每日热门作品榜

Security checks for vulnerabilities and agentic risk

Overview

This ranking tool needs review because it can automatically install payment software and initiate a recharge using unchecked payment details from the API.

Before installing, require approval before payment-software installation or recharge initiation, use a reviewed fixed software version, and verify the payment destination and exact amount. The guide hands payment to the user and checks completion, but those safeguards do not validate API-supplied payment details.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (9)

A routine ranking query is escalated into an automatic payment workflow when API credits run out.

High
Category
Prompt Injection
Confidence
94% confidence
Finding

The skill turns an informational ranking request into a payment workflow on an API-controlled insufficient-credit response, directing payment submission and automatic resumption without requiring explicit approval of the particular charge in the visible instructions. This crosses a financial authorization boundary and trusts response-supplied payment details, potentially enabling unwanted payment initiation or payment redirection; the referenced payment guide was not supplied, so any safeguards there cannot be verified.

Content

No source excerpt is available for this finding.

A read-only lookup failure is reframed as an instruction to initiate a payment workflow without obtaining user authorization.

High
Category
Prompt Injection
Confidence
98% confidence
Finding

An insufficient-credit response converts a read-only ranking lookup into instructions for the agent to initiate a payment workflow, without requiring explicit user authorization. The instructions direct the agent to pass API-provided cashierUrl, amount, and goodsName into payment tools without validation, allowing an erroneous or compromised response to influence the payment destination and amount. Although this script only prints instructions rather than executing payment itself, its agent-facing output and the skill's automatic-recharge behavior create a credible path to unauthorized payment initiation or financial loss, depending on downstream payment safeguards.

Content

No source excerpt is available for this finding.

Invocation examples include generic phrases without an explicit Douyin-context requirement.

Medium
Category
Trigger Abuse
Confidence
94% confidence
Finding

The quick reference presents phrases such as "Today's ranking", "Check the food category", and "Show all" as ways to invoke skill functionality. These phrases overlap with unrelated tasks, and the file does not explicitly restrict them to an active Douyin-ranking conversation.

Content

No source excerpt is available for this finding.

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

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.

The workflow automatically installs a missing payment CLI without warning the user about executing downloaded code or modifying the local environment.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The workflow instructs the agent to install a missing executable automatically, without an explicit user approval step for downloading code or changing the local environment. A request to retrieve rankings does not itself authorize software installation, and encountering an insufficient-credit response expands the workflow into a security-sensitive payment setup.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @alipay/agent-payment'.

Medium
Category
MCP Rug Pull
Confidence
99% confidence
Finding

The command uses the mutable @latest tag and npx -y, allowing downloaded package code to execute without version review or an installation prompt. A compromised publisher account or malicious future release could execute code with the agent's local privileges; the payment context increases the potential consequences, although this is a CLI rather than an MCP server.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @alipay/agent-payment'.

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

This failure-handling entry repeats the same unpinned installation command identified at line 62, so it reflects the same supply-chain vulnerability rather than a separate execution path. The referenced @latest installation can execute a changing release in an environment used to coordinate payments.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · references/api-config.md (reported line 26)May include surrounding context.

📦 请求示例

bash
curl -X POST "https://redfox.hk/story/api/dy/search/likesRank" \
  -H "X-API-KEY: $REDFOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source": "dy-ClawHub", "type": "美食", "startTime": "2026-08-01", "endTime": "2026-08-07"}'

Invocation examples include generic phrases without requiring an established Douyin-specific context.

Low
Category
Trigger Abuse
Confidence
93% confidence
Finding

Examples such as 「今日榜单」 (“today's ranking”), 「5月20号的榜单」 (“the May 20 ranking”), and 「查看全部」 (“view all”) can refer to unrelated rankings or results. The guide does not explicitly restrict these generic phrases to an active Douyin-ranking conversation, creating ambiguity about when the skill should activate.

Content

No source excerpt is available for this finding.