jd-aipay-onboarding

Warn

Audited by Socket on Oct 18, 2026

6 alerts found:

Securityx3Anomalyx3
SecurityMEDIUM
assets/server-examples/java-quickstart/src/main/java/com/jdd/demo/RokidCreateOrderGatewayDemo.java

This is payment-gateway demo code, with no evident credential theft, persistence, destructive behavior, or unauthorized destination in the supplied fragment. Its main security issue is that HTTPS certificate and hostname checks are completely disabled, permitting interception of payment data and signed requests; verbose stdout logging can also expose order and response details. The endpoint and credential values are external configuration and cannot be assessed here. Severity is high for production use because of TLS verification bypass, but the behavior shown is not itself evidence of malware.

Confidence: 98%Severity: 82%
SecurityMEDIUM
assets/server-examples/java-quickstart/src/main/java/com/jdd/demo/RokidRefundGatewayDemo.java

This is a payment-refund gateway demo, not evidence of malware. Its primary security issue is disabling TLS certificate and hostname verification, which can expose or redirect refund traffic; it also logs plaintext refund data and uses non-cryptographic randomness for identifiers. The destination is AiPayConfig.ENDPOINT_URL, whose actual URL is not included. Severity: high for use with real payment credentials or transactions; no specific domain, IP, file path, or hardcoded credential is present in this fragment.

Confidence: 98%Severity: 78%
SecurityMEDIUM
assets/server-examples/java-quickstart/src/main/java/com/jdd/demo/RokidQueryRefundGatewayDemo.java

This is payment gateway demo code, not apparent malware. The primary security issue is disabled HTTPS certificate and hostname verification, which exposes payment request data and responses to interception; extensive stdout logging may also disclose refund details and signatures. Endpoint and credential values are supplied through AiPayConfig and are not visible here. Security severity is high for production use; no literal domain or URL is present in the fragment.

Confidence: 99%Severity: 82%
AnomalyLOW
assets/server-examples/nodejs-quickstart/src/utils/common.js

This helper module implements request signing/encryption and HTTP transport, with no evidence of intentional malware or hardcoded exfiltration destinations. Its main security concern is disabled TLS certificate validation in postJson(), which can expose requests and responses to interception; it also logs decrypted response content and generates its nonce with Math.random(). Severity is moderate and depends on caller-provided endpoints and the sensitivity of logged data.

Confidence: 98%Severity: 62%
AnomalyLOW
assets/server-examples/python-quickstart/src/aipay_demo/utils/common.py

This is an API client utility, not evidence of malware. Its main security issue is that HTTPS certificate and hostname validation are disabled in post_json(), enabling interception or server impersonation; decrypted response data is also printed to stdout and may be retained in logs. No hardcoded domains, credentials, or environment-variable harvesting appear in the fragment. Severity is moderate due to transport security and plaintext disclosure risks.

Confidence: 98%Severity: 58%
AnomalyLOW
scripts/client-sdk-scripts/download_sdk.sh

The code appears to be a straightforward SDK download and extraction helper, with no direct evidence of malware or intentional data theft. Its main security risks are supply-chain trust in the supplied URL/archive, lack of checksum or signature verification, unconditional overwrite extraction, and insufficient explicit protection against malicious ZIP paths. Use only trusted sources and consider validating archive entries and authenticity before extraction.

Confidence: 97%Severity: 55%
Audit Metadata
Analyzed At
Oct 18, 2026, 03:28 PM
Package URL
pkg:socket/skills-sh/jd-opensource%2Fjd-aipay-skill%2Fjd-aipay-onboarding%2F@088f53f2c11285f79f488f3b8b0df970f197a9d413b39709991100272b187e93