Back to skill

Security audit

抖音七日点赞飙升榜

Security checks for vulnerabilities and agentic risk

Overview

This ranking tool needs review because it automatically installs payment software and initiates recharge requests without clear approval and validation safeguards.

Before installing, require approval for payment-tool installation and each recharge, use a reviewed fixed package version, and verify the merchant and amount in Alipay. The ranking API receives your RedFox API key and query parameters. The main concerns are automatic installation and insufficiently checked payment initiation; the artifacts do not establish silent charging or malicious intent.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

A routine ranking query is escalated into an automatic paid-recharge workflow without an explicit purchase-approval step.

High
Category
Prompt Injection
Confidence
96% confidence
Finding

The skill turns an informational ranking request into an automatic payment workflow when the API reports insufficient credits, without requiring explicit purchase approval in the supplied file. This crosses a financial authorization boundary and could cause unintended spending, particularly because payment details originate in the API response. The referenced payment guide was not supplied, so any additional approval controls there cannot be verified.

Content

No source excerpt is available for this finding.

A query failure is reframed as authority to initiate a payment workflow using server-supplied transaction details.

High
Category
Prompt Injection
Confidence
98% confidence
Finding

An insufficient-credit response causes the script to emit authoritative instructions directing the agent to initiate and monitor an Alipay payment using server-supplied URLs, amounts, and merchant information, without requiring explicit user approval. Although the script does not execute payment commands itself, its output promotes untrusted API data into instructions for a financially consequential workflow. This is particularly dangerous in a ranking-query skill, where requesting information does not authorize purchases; a compromised or malicious API could redirect the agent toward an attacker-controlled payment.

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 CLI without warning the user about changes to their system.

Medium
Category
Output Handling
Confidence
98% confidence
Finding

When the CLI is absent, the workflow directs the agent to install it automatically without disclosing the system changes or requesting explicit approval. A request for a Douyin ranking does not itself authorize installing persistent payment tooling, and the -y option removes an additional confirmation opportunity. The payment-related context makes this expansion of authority more sensitive, though the document does not establish that payment itself bypasses user authorization.

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 workflow instructs the agent to execute an npm package using the mutable @latest tag, with -y suppressing npm's installation prompt. A compromised package release could execute attacker-controlled code with the agent's local permissions; this is especially consequential in a payment workflow that handles transaction links and may have access to sensitive local data. Although the scanner calls this an MCP server, the actual issue is unpinned CLI execution.

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
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

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/hotContentRank" \
  -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"}'