alipay-aipay

Warn

Audited by Socket on Nov 19, 2026

2 alerts found:

AnomalySecurity
AnomalyLOW
references/integration/modules/code-examples/python/4-按量付费/A2MPaymentDemo.md

This is a Python Flask payment-gateway integration example that creates persisted pending orders, verifies client-supplied payment proofs with Alipay, checks order and amount details, and confirms fulfillment before returning a resource. The code contains no apparent malware, credential harvesting, or suspicious third-party network destinations; the only configured external gateway is `https://openapi-sandbox[.]dl[.]alipaydev[.]com/gateway.do` by default. The main security concern is running the built-in Flask server with `debug=True` on `0.0.0.0`, which is unsafe if exposed beyond isolated development; error details are also returned to clients. Severity is high if that debug server is exposed in deployment, otherwise this is a moderate deployment-hardening concern.

Confidence: 98%Severity: 62%
SecurityMEDIUM
references/normal/scripts/alipay_cli_refresh.mjs

The code is an installation and refresh helper for Alipay CLI. It does not provide clear evidence of intentionally malicious behavior, but it performs a high-impact supply-chain operation by executing an unverified remote shell script and disabling installer verification. The principal risk is compromise of the download endpoint, DNS/TLS infrastructure, or the remote script, which could result in arbitrary code execution with the user's privileges. Review of the fetched installer and use of a pinned, signed, or checksum-verified artifact is recommended.

Confidence: 97%Severity: 78%
Audit Metadata
Analyzed At
Nov 19, 2026, 12:35 PM
Package URL
pkg:socket/skills-sh/alipay%2Fai%2Falipay-aipay%2F@a2ffb03634bc6267a6d163927dab965bca19bc77b8e78b7c58a84e8debe80b08