Skip to content

[Bug][Critical] Internal env variable name exposed in UI: 'Set VITE_MOONPAY_API_KEY to enable MoonPay' #43

@hartsring

Description

@hartsring

Description

The 购买 (Buy) button has a tooltip/aria-label that reads "Set VITE_MOONPAY_API_KEY to enable MoonPay", exposing an internal environment variable name to end users.

Steps to Reproduce

  1. Open the wallet dashboard
  2. Hover over or inspect the 购买 (Buy) button

Expected Behavior

User-friendly message shown, e.g. "购买功能暂不可用".

Actual Behavior

Tooltip reads: "Set VITE_MOONPAY_API_KEY to enable MoonPay"

Severity

Critical — information disclosure / developer config leak

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions