Back to skill

Security audit

拼多多客服助手

Security checks for vulnerabilities and agentic risk

Overview

The skill fits a merchant customer-service automation purpose, but it exposes high-impact browser and customer-data handling paths with weak scoping and misleading safety/privacy claims.

Review carefully before installing. Use only a dedicated browser profile with no unrelated sessions, do not run the CDP proxy unless it is bound to localhost and protected by authentication, do not store merchant passwords in config.json, and treat any CDB_URL or export/notification feature as customer-data transmission requiring explicit approval and retention controls.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (3)

T05 · Unauthorized Access and Privilege Escalation

Error
Location
scripts/cdp-proxy.mjs:90
Finding

Unauthenticated Network-Exposed Browser Proxy

Content
View full analysis
{ ``` ### Technical Analysis Calling `server.listen(PORT)` without specifying a loopback address causes Node.js to listen on available network interfaces. The service implements no authentication or authorization and sets `Access-Control-Allow-Origin` to `*`, allowing arbitrary websites to issue cross-origin requests and read responses. The operational `/new` endpoint accepts an arbitrary URL and forwards it to Chrome's remote-debugging ...[truncated 2087 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
src/cdb.ts:145
Finding

Undisclosed Remote Transmission and Storage of Buyer Data

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/config.json:6
Finding

Unsafe Merchant Credential Storage and Disabled Browser Sandbox

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (63)

Tp4

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

The overall domain and main intent broadly align with a Pinduoduo customer-service helper: browser automation, login-state checking, unread message reading, template-based smart reply, and message sending are all present. However, several materially specific claims in the description are not supported by the supplied code. Most notably, there is no evidence of CDP connection to an existing real Chrome instance or use of the user's normal Chrome profile/login state; instead, the code relies on a generic browser abstraction, opens the site directly, and waits for manual authentication. In addition, the description says it supports after-sales processing, but the implementation contains no actual order or after-sales operation logic—only response templates related to returns/refunds. Therefore this is a description-behavior mismatch, though partial alignment exists on customer-service messaging automation.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

声明描述的是一个面向真实拼多多商家后台的浏览器自动化客服系统,重点能力包括 CDP 控制浏览器、依赖现有 Chrome 登录态、自动登录后台、智能回复和售后处理。但实际代码片段仅包含对 matchTemplate 和 TEMPLATES 的测试,以及一个简单的关键词匹配函数和静态话术库。它的实际用途更接近“客服回复模板匹配逻辑验证”,而不是“连接浏览器并自动操作拼多多后台”的自动化助手。两者在主要目的和能力上存在明显差异,因此应判定为描述与行为不匹配。

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/index.ts login --shop "店铺名称"

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The README promotes automated reading of buyer messages, order lookups, persistent sessions, and optional auto-reply, but does not clearly warn about privacy, credential/session exposure, or the risks of using a real logged-in browser context. In this skill context, the tool handles live customer conversations and merchant account state, so weak disclosure increases the chance of accidental misuse, over-collection, or unauthorized actions.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README states the tool is 'only manually triggered,' but elsewhere documents continuous 5-second polling, long-running listeners, and an AUTO_REPLY option. This mismatch can mislead users and reviewers about the actual automation level, causing unsafe deployment assumptions and underestimation of compliance, account abuse, and unintended messaging risks.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The planned Feishu and WeChat integrations describe pushing buyer messages, after-sales tickets, alerts, and reports to external platforms without any privacy warning or data-minimization guidance. Forwarding customer service content to third-party messaging systems can expand the exposure surface for personal, transactional, and potentially sensitive data, especially when combined with persistent merchant login sessions.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill advertises capabilities that inherently involve network access and likely environment/config handling, but it declares no explicit tool scope or permission boundaries. That creates an unsafe trust model: an operator cannot easily tell what the skill is allowed to access, and downstream runners may execute it with broader privileges than necessary.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill describes ongoing background monitoring of buyer messages and extraction of message and order information without a clear warning that live customer communications may be continuously collected and processed. In this context, that omission increases the risk of unintentional privacy violations, unauthorized surveillance, and operator misuse.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The documented refund and after-sales actions can alter real merchant workflows and may be irreversible or financially impactful, yet the skill does not clearly warn about these risks. In a live commerce backend, mistaken automation or misuse could approve/reject refunds incorrectly, damage customer relationships, or cause direct financial loss.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The document claims all operations require manual confirmation, yet elsewhere describes continuous listening and automatic handling logic. This safety-claim contradiction is dangerous because users may authorize the skill believing human approval gates exist when in practice automated actions may occur on live customer conversations.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill asserts that buyer sensitive information is not stored, but also describes session persistence, message/record tracking, database persistence, and accumulated site experience. In a customer-service context, those features strongly imply retention of buyer conversation, order, or account-linked data, creating privacy and compliance risk through misleading disclosure.

Content

No source excerpt is available for this finding.