Back to skill

Security audit

Xinjianxue Diag

Security checks for vulnerabilities and agentic risk

Overview

The skill is marked suspicious because scanners report undeclared payment-wallet actions, automatic payment-software setup, and handling of personal birth details without a privacy disclosure.

Consider avoiding installation until the payment-related steps are explained and removed or separately authorized, the package source and version are reviewed, and the external service's handling of birth details is clear. The verdict is suspicious, not malicious; the scan was partial because two local references could not be resolved, so the evidence is incomplete.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
Findings (17)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Checking an Alipay wallet is unrelated to the declared astrology functionality and is not a supporting implementation detail. The supplied command therefore represents an undeclared capability. The chunk does not establish whether the check succeeds or what wallet information it returns.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Applying for a payment wallet is a financial-account operation unrelated to calculating or interpreting BaZi astrology. The declared purpose does not disclose this capability, and the supplied command provides no indication that it is necessary to support the stated functionality. The snippet does not establish that any money is transferred.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

钱包绑定涉及支付账户关联,与声明的八字排盘和命理分析功能无关,也不是这些功能所必需的实现细节。所给代码因此体现了未声明的能力;但仅凭该命令不能认定存在转账或扣款行为。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

声明的用途仅涉及八字排盘和命理分析,而所提供代码执行了与金融钱包有关的检查命令。钱包检查既未在描述中声明,也不是完成所述命理功能所必需的实现细节,因此构成描述与行为不一致。该片段未显示转账或其他资金操作。

Content

No source excerpt is available for this finding.

The workflow sends personal birth information to a service without a user-facing privacy disclosure.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The workflow collects precise birth date and time, gender, and birthplace and then sends them to an external service without requiring a user-facing disclosure of that transfer. These details can contribute to identification, and requesting an astrology reading does not necessarily communicate consent to third-party processing.

Content

No source excerpt is available for this finding.

Payment-readiness framing directs the agent to install payment software without user approval.

Medium
Category
Prompt Injection
Confidence
99% confidence
Finding

The payment-readiness framing expressly tells the agent not to ask before installing software. This crosses the authorization boundary between fulfilling an astrology request and executing third-party code with local side effects; the legitimate payment dependency does not remove that boundary.

Content

No source excerpt is available for this finding.

The skill directs automatic installation of payment software and wallet setup beyond its stated astrology-service purpose.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The skill explicitly instructs the agent to install payment software without asking the user, treating an astrology request as permission to execute code and modify the environment. Payment onboarding is relevant to a paid service, but that relevance does not authorize installation or initiation of wallet 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
98% confidence
Finding

The check-env command uses npx -y with @latest, downloading and executing a mutable package without an approval prompt. Although this is a CLI rather than an established MCP server, the supply-chain risk is real: a compromised release could execute with the agent's local permissions.

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 installation command executes the current @latest package and may change the user's environment without approval. Its payment-related role increases the consequences of a compromised release, although there is no evidence that this package is currently malicious.

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

Running doctor through npx @latest executes remotely supplied code; its diagnostic label does not make it read-only or trustworthy. Resolving the package independently for each command also permits version changes between installation and verification.

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

The fallback instructions ask the user to execute an unpinned remote installation command on their own computer. Manual execution provides some user involvement, but it does not eliminate the risk of a compromised or unexpectedly changed package running with the user's permissions.

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

The user-facing doctor command again resolves and executes @latest, potentially running a different release from the installed one. A diagnostic command is still arbitrary package execution and could expose local files or payment-related state if compromised.

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 · references/api.md (reported line 3)May include surrounding context.

md
# 接口契约

- 地址:`https://api.xinjianxue.com/api/xinjianxue/aipay/bazi`
- 方法:POST,`Content-Type: application/json`
- 单价:6 元/次
- 鉴权:只认 `Payment-Proof`,不需要账号、密码或登录态

The request workflow sends personal birth details to an external API without a privacy warning.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The workflow sends precise birth date, birth time, gender, and birthplace to an external service without directing the assistant to disclose that transfer or establish informed permission. These fields are relevant to astrology, which makes the request functionally plausible, but their combination can identify or profile a person and the service's retention practices are not provided.

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/payment.md (reported line 8)May include surrounding context.

1. 发起请求

bash
curl -sS -D - -X POST "https://api.xinjianxue.com/api/xinjianxue/aipay/bazi" \
  -H "Content-Type: application/json" \
  -d '{"year":1995,"month":8,"day":4,"h":5,"m":52,"gender":"男","birth_place":"浙江杭州","country":"CN"}'

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 · references/payment.md (reported line 8)May include surrounding context.

1. 发起请求

bash
curl -sS -D - -X POST "https://api.xinjianxue.com/api/xinjianxue/aipay/bazi" \
  -H "Content-Type: application/json" \
  -d '{"year":1995,"month":8,"day":4,"h":5,"m":52,"gender":"男","birth_place":"浙江杭州","country":"CN"}'

The skill directs financial-wallet enrollment, authorization-code collection, and payment initiation despite declaring only astrology services.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

Charging for astrology services is not inherently suspicious, and the workflow includes user-side authorization and duplicate-payment precautions. However, it instructs the assistant to collect an authorization code to bind a financial wallet and subsequently initiate payment without explicitly requiring approval of the particular transaction; this creates sensitive-code exposure and insufficiently bounded financial authority.

Content

No source excerpt is available for this finding.