The public API is a lazy loader for HaiPay’s checkout component, which matches the package’s stated purpose. A separate shipped bundle contains telemetry, including a feature-flagged session replay path, but the manifest does not expose that file as an entry point, so its reachability through this package’s declared API is not established.
Static reason
One or more suspicious static signals were detected.
Trigger
A caller explicitly invokes loadHaiPay in a browser.
Impact
The loaded checkout component can access the browser context needed to render and process payments; the package source does not establish harmful behavior on the exported paths.
Mechanism
The exported loader inserts a script from cashier.haipay.top and constructs the HaiPay instance after it loads.
Evidence
dist/index.jsdist/index.cjsdist/pure.jsdist/pure.cjsdist/index.esm.jspackage.json
Network endpoints5
cashier.haipay.toppg.ucboost.comus.posthog.com