This scenario is a composite, built from VAPT engagements with Indian lenders, not a single client. A profitable consumer-lending NBFC, around 500 crore rupees in assets under management, was in the last stretch before listing, with an RBI technical inspection 90 days away. Its stack was modern and its developers knew it well. The brief from the CTO was simple: no surprises. That meant finding every serious weakness first, fixing it, and having a clean, evidenced report to show inspectors and the listing due diligence team.
The scope
The team agreed a scope that matched where the risk actually was.
- The loan origination web application, used by customers and the sales team.
- The customer mobile app for Android and iOS.
- Nine backend APIs, including integrations with credit bureaus, a co-lending bank partner and the payment gateway.
- The internal network from a standard employee laptop, including Active Directory.
- Internet-facing infrastructure: VPN, email and remote access.
The plan
Testing ran for 14 working days in a staging environment with realistic data, plus a short, carefully controlled test of production infrastructure. Reporting, fixes and the retest took a further three weeks, leaving a buffer before the inspection. Critical findings were reported the same day rather than held for the final report, so developers could start fixing while testing continued.
Rules of engagement for a regulated lender
Because the NBFC handled live customer data and money movement, the rules were written down before testing started. Testing used staging for applications and APIs, with production limited to infrastructure checks in an agreed overnight window. No real customer data was to be accessed or exfiltrated; where a flaw exposed data, the tester stopped at proof using test accounts. The partner bank was told about the testing in advance, as its contract required, and the CTO and the CISO were the named escalation contacts throughout.
What the test found
In this scenario the test produced 23 findings: three critical, eight high and twelve medium. The critical ones were typical of lending platforms.
- An API that returned another applicant's KYC documents when the application ID in the request was changed.
- An OTP verification endpoint with no rate limit, allowing an attacker to brute-force login codes and take over customer accounts.
- A partner API key with broad permissions, shared across environments and never rotated, embedded in a configuration file the mobile app could reach.
The high-severity findings
The high findings included an admin panel for the loan management system reachable from the internet, session tokens that stayed valid after logout and password change, verbose error messages revealing internal server details, missing server-side checks on loan amount limits the app enforced only on the client, and an internal network path from the employee laptop to a database server with a weak service account password. Medium findings covered security headers, TLS settings, outdated libraries and logging gaps.
Fixing it in time
The team prioritised by impact and effort. Criticals were fixed within a week: object-level authorisation checks on every API endpoint, rate limiting and lockout on OTP verification, and a new, scoped and rotated partner key held server-side. High findings were fixed over the next two weeks, including moving the admin panel behind the VPN and fixing session invalidation. The retest confirmed every critical and high finding closed, and most mediums, with the remainder on a documented remediation plan with dates.
What inspectors and due diligence saw
The final pack contained the scope, method and tester qualifications, every finding with evidence and the fix, the retest results and a remediation tracker for the few open medium items. A short board summary explained the results in business terms. In the scenario, the inspection raised no new technical observations on the tested systems, and the listing due diligence team accepted the report without further testing.
Lessons for other lenders
Test early enough to fix and retest before the deadline. Include APIs and partner integrations, where the most serious lending platform flaws usually sit. Ask for critical findings as they are found. And treat the retest report as the main deliverable, because it is what inspectors and investors want to see. Our guide to VAPT for NBFCs covers RBI's expectations in more detail.
Our VAPT services cover web, mobile, API and network testing for lenders with the retest included, and you can see the report format in our sample VAPT report. See our fintech page for wider support.
Frequently asked questions
How long before an RBI inspection should an NBFC run VAPT?
What do lending platform tests usually find?
Should the test cover partner APIs?
What should the VAPT report for RBI contain?
Walk into your inspection with no surprises
Web, mobile, API and network testing for lenders, with critical findings reported the same day and the retest included.

