Date: 2026-03-21
Action: Git history has been rewritten to remove sensitive information
-
MIT License Added (
LICENSE) -
Sensitive Data Removed from
config.js:- Merchant keys replaced with
YOUR_MERCHANT_KEY_HERE - Alipay AppID replaced with
YOUR_ALIPAY_APPID_HERE - Alipay private key replaced with
YOUR_ALIPAY_PRIVATE_KEY_HERE - Alipay public key replaced with
YOUR_ALIPAY_PUBLIC_KEY_HERE
- Merchant keys replaced with
-
Git History Rewritten:
- All historical commits containing sensitive data have been modified
- All commit hashes have changed
- Reflog has been purged
If you have cloned this repository before 2026-03-21:
-
Delete your local clone and re-clone from the remote
rm -rf /path/to/gopay git clone https://github.com/lopinx/gopay.git
-
Do NOT pull or merge - this will create conflicts due to rewritten history
-
Fork owners: You must delete and re-fork the repository
Actions Required:
-
✅ Regenerate ALL exposed credentials:
- Alipay AppID and keys
- Merchant keys
- Database passwords
- Any API tokens
-
✅ Rotate secrets in production environments
-
✅ Update CI/CD pipelines with new secrets
-
✅ Notify all team members to re-clone the repository
-
✅ Check GitHub/GitLab security alerts for any exposed tokens
- ✅ Prototype pollution protection
- ✅ Timing attack prevention (crypto.timingSafeEqual)
- ✅ Race condition fixes (atomic order updates)
- ✅ Graceful shutdown handling
- ✅ Rate limiting
- ✅ XSS protection
- ✅ SSRF protection
- ✅ Database indexes
- ✅ Comprehensive E2E tests
If you discover any security issues, please report them to the repository maintainers.