cashfree
Integrates Cashfree payment APIs for seamless payment processing, including order creation, refunds, and webhook handling.
Install this skill
Security score
The cashfree skill was audited on Jun 8, 2026 and we found 35 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Webhook reference - potential data exfiltration
| 3 | description: Use this skill whenever the user wants to integrate Cashfree payment APIs. Triggers include: creating orders or payment sessions, accepting payments via UPI/cards/netbanking/wallets, gene |
Webhook reference - potential data exfiltration
| 73 | 4. Webhook → POST your endpoint (async payment notifications) |
Webhook reference - potential data exfiltration
| 108 | "notify_url": "https://yourapp.com/webhook/cashfree" # webhook endpoint |
Webhook reference - potential data exfiltration
| 177 | ## 4. Webhook — Verify & Handle |
Webhook reference - potential data exfiltration
| 184 | def verify_cashfree_webhook(timestamp: str, signature: str, |
Webhook reference - potential data exfiltration
| 186 | """Verify Cashfree webhook signature.""" |
Webhook reference - potential data exfiltration
| 197 | @app.route("/webhook/cashfree", methods=["POST"]) |
Webhook reference - potential data exfiltration
| 198 | def cashfree_webhook(): |
Webhook reference - potential data exfiltration
| 199 | ts = request.headers.get("x-webhook-timestamp") |
Webhook reference - potential data exfiltration
| 200 | sig = request.headers.get("x-webhook-signature") |
Webhook reference - potential data exfiltration
| 202 | if not verify_cashfree_webhook(ts, sig, request.data, |
Webhook reference - potential data exfiltration
| 207 | event_type = event["type"] # e.g. "PAYMENT_SUCCESS_WEBHOOK" |
Webhook reference - potential data exfiltration
| 209 | if event_type == "PAYMENT_SUCCESS_WEBHOOK": |
Webhook reference - potential data exfiltration
| 218 | ### Key webhook event types |
Webhook reference - potential data exfiltration
| 221 | | `PAYMENT_SUCCESS_WEBHOOK` | Payment captured successfully | |
Webhook reference - potential data exfiltration
| 222 | | `PAYMENT_FAILED_WEBHOOK` | Payment attempt failed | |
Webhook reference - potential data exfiltration
| 223 | | `PAYMENT_USER_DROPPED_WEBHOOK` | User closed checkout without paying | |
Webhook reference - potential data exfiltration
| 224 | | `REFUND_STATUS_WEBHOOK` | Refund processed | |
Webhook reference - potential data exfiltration
| 225 | | `DISPUTE_OPENED_WEBHOOK` | Customer raised a dispute | |
Webhook reference - potential data exfiltration
| 318 | | Webhook retry | Cashfree retries failed webhooks — make your handler idempotent | |
External URL reference
| 7 | - API Reference: https://www.cashfree.com/docs/api-reference/payments/latest/overview |
External URL reference
| 10 | - Dev Studio (interactive test): https://www.cashfree.com/devstudio/preview/pg/web/checkout |
External URL reference
| 26 | | **Sandbox (Test)** | `https://sandbox.cashfree.com/pg` | Development, testing | |
External URL reference
| 27 | | **Production** | `https://api.cashfree.com/pg` | Live payments | |
External URL reference
| 29 | > Always develop in sandbox. Test cards/UPI provided at: https://www.cashfree.com/docs/api-reference/payments/data-to-test-integration |
External URL reference
| 35 | 1. Sign up at https://merchant.cashfree.com/merchants/signup |
External URL reference
| 82 | POST https://sandbox.cashfree.com/pg/orders |
External URL reference
| 88 | BASE = "https://sandbox.cashfree.com/pg" # switch to api.cashfree.com/pg for prod |
External URL reference
| 107 | "return_url": "https://yourapp.com/payment/return?order_id={order_id}", |
External URL reference
| 108 | "notify_url": "https://yourapp.com/webhook/cashfree" # webhook endpoint |
External URL reference
| 129 | <script src="https://sdk.cashfree.com/js/v3/cashfree.js"></script> |
External URL reference
| 150 | GET https://sandbox.cashfree.com/pg/orders/{order_id} |
External URL reference
| 232 | POST https://sandbox.cashfree.com/pg/orders/{order_id}/refunds |
External URL reference
| 265 | POST https://sandbox.cashfree.com/pg/links |
External URL reference
| 304 | Full test data: https://www.cashfree.com/docs/api-reference/payments/data-to-test-integration |