webpay-api
Audited by Socket on Feb 27, 2026
1 alert found:
SecurityThis is a legitimate integration guide and sample implementation for Transbank Webpay Plus. It does not contain malicious code or third-party exfiltration to attacker-controlled hosts. Primary security concerns are operational: integration test API credentials are embedded directly in examples (which is risky if copied into production or published), there is no guidance in examples for secure storage of secrets (use env vars or vaults), and the example does not demonstrate verifying the authenticity of the redirect/request from Transbank (no signature/HMAC verification or explicit TLS validation guidance). Recommendations: remove hard-coded secrets from example code, demonstrate use of environment variables or secret management, enforce HTTPS for return URLs, and add guidance to validate incoming callbacks (e.g., verify TLS, check caller IPs per Transbank docs or use any available signed payloads).