Back to skill

Security audit

Xinjianxue Diag

Security checks for vulnerabilities and agentic risk

Overview

The scanners rate this astrology skill suspicious because it combines birth-chart services with undisclosed payment-wallet operations, automatic payment-software installation, and external transmission of personal birth details.

Consider not installing until the payment-software and wallet steps are removed or clearly explained and separately approved, and the package source and exact version are verified. Before sharing birth details, check what is sent to the external service and how it is handled. The scan was partial: two local references were unresolved, so the evidence is incomplete. The scanners did not establish malicious intent or that funds are moved.

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 (18)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Checking a payment wallet is unrelated to the declared astrology functionality and is not a necessary supporting implementation detail. The description does not disclose wallet access or payment-related operations. The supplied chunk does not establish what wallet information is returned or whether any funds are moved.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Checking an Alipay wallet is not part of the declared Bazi astrology purpose, and no payment-related capability is disclosed. The supplied command therefore represents a description–behavior mismatch. 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

所提供的 shell 命令执行钱包绑定,而非八字排盘或命理分析。支付账户绑定属于独立且敏感的账户操作,声明中未披露,也不是实现所述命理功能的普通支持性细节。该片段未显示实际转账或扣款行为。

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.

A payment prerequisite is used to direct software installation without user confirmation.

High
Category
Prompt Injection
Confidence
99% confidence
Finding

The payment prerequisite is used to instruct automatic software installation and explicitly discourages asking the user first. A legitimate service dependency does not authorize host modifications or remote package execution, particularly for a component connected to financial accounts.

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

The workflow collects precise birth details, gender, and birthplace and directs the agent to submit them to a service without requiring a user-facing disclosure first. These fields are relevant to the requested calculation, but their relevance does not ensure that the user understands or authorizes disclosure to an external operator.

Content

No source excerpt is available for this finding.

The skill directs the agent to install payment software and initiate wallet setup without first obtaining user approval, exceeding its birth-chart analysis purpose.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The skill explicitly tells the agent to install payment software without asking the user, then proceeds into wallet checking and onboarding. Requesting an astrology reading does not authorize executing downloaded software, changing the local environment, or initiating financial-account setup, even though final binding requires user participation.

Content

No source excerpt is available for this finding.

Automatic payment-component installation lacks advance user disclosure when terminal access is available.

Medium
Category
Output Handling
Confidence
99% confidence
Finding

When terminal access exists, the instructions expressly bypass asking permission before installing a payment component. The fallback disclosure for users without terminal-enabled agents does not protect users whose agents can silently execute the installation.

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 environment-check command executes an npm package using the mutable @latest tag and suppresses npm's installation prompt with -y. A compromised future release could execute code with the agent's local privileges; despite the detector's MCP wording, the underlying unpinned-execution risk is real.

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 installation command runs a mutable @latest package rather than a reviewed release. A malicious or compromised update could modify the host or access sensitive local data, with payment setup making the execution context particularly sensitive.

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 with @latest can fetch and execute a new package release, even though the operation sounds like a harmless diagnostic. A compromised release would run with the agent's privileges, potentially after payment components have been configured.

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 a remotely resolved @latest package on their own computer. Manual execution does not eliminate the supply-chain risk: a compromised release would receive the user's local privileges.

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 diagnostic command independently resolves @latest, so it need not execute the same package release used for installation. This creates another opportunity for unreviewed or compromised code execution on the user's computer.

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`,不需要账号、密码或登录态

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 request workflow transmits personal birth details to an external service without a privacy warning.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The workflow sends precise birth date and time, gender, and birthplace to an external API before any privacy disclosure or consent step is specified. These attributes can contribute to identification when combined with other information, and users requesting an astrology reading may not expect external processing. The destination and data are consistent with the advertised service, which reduces suspicion of malicious exfiltration but does not eliminate the disclosure risk.

Content

No source excerpt is available for this finding.

The skill directs the agent to enroll and bind an Alipay payment wallet, a financial capability outside the manifest's stated astrology scope.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

Charging for astrology services is not inherently suspicious, and the workflow requires user participation in Alipay authorization. However, it directs the agent to establish a financial capability and potentially collect an authorization code without defining the resulting payment permissions, limits, or duration; consenting to an astrology request does not itself authorize wallet enrollment. The user-controlled authorization step reduces the risk, but the resulting authority could exceed the immediate purchase.

Content

No source excerpt is available for this finding.