API Security in the Age of Open Banking: A Practical Guide for Indian Enterprises

  • Home
  • API Security in the Age of Open Banking: A Practical Guide for Indian Enterprises
API Security in the Age of Open Banking: A Practical Guide for Indian Enterprises

India’s financial services sector is undergoing one of its fastest-ever digital transformations. Account Aggregator (AA) frameworks, UPI 2.0 integrations, and the Reserve Bank of India’s open banking directives are compelling banks, NBFCs, fintechs, and their enterprise partners to expose hundreds of new APIs every quarter. The productivity gains are real—but so is the attack surface.

According to multiple threat-intelligence reports covering the Asia-Pacific region, APIs have surpassed web applications as the most-targeted layer in financial services attacks. Threat actors abuse authentication weaknesses, broken object-level authorisation (BOLA), and excessive data exposure to exfiltrate customer records, manipulate transactions, and pivot into core banking systems. In India, where the DPDP Act now mandates demonstrable protection of personal data and CERT-In requires incident reporting within six hours, an API breach is no longer just a technical embarrassment—it is a regulatory event with teeth.

This guide covers the threat landscape, a defence-in-depth framework, and how managed-security capabilities—especially a unified SecOps platform—help Indian enterprises stay ahead.

Why API Security Is the New Perimeter

The classic network perimeter—firewalls at the edge, trusted traffic inside—was never designed for an ecosystem where a mobile banking app, a third-party fintech aggregator, an RBI-regulated AA entity, and a cloud data warehouse all call the same core ledger APIs simultaneously. The boundaries are now logical, not physical, and attackers know it.

The OWASP API Security Top 10: Still the Fastest Path to a Breach

The OWASP API Security Top 10 catalogues the vulnerabilities most commonly exploited in production systems. For Indian enterprises, the most operationally dangerous are:

  • Broken Object Level Authorisation (BOLA / IDOR): An authenticated user manipulates an object identifier in the request to access another user’s data. In a multi-tenant banking API, this can mean reading another customer’s account balance or transaction history. BOLA is the single most exploited API flaw globally.
  • Broken Authentication: Weak token expiry, missing revocation endpoints, or accepting JWTs with the “alg:none” header—all trivially exploitable and still found in production systems.
  • Excessive Data Exposure: APIs return full data objects and rely on the client to filter. A mobile app might show only the masked card number, but a raw API response includes the full PAN—a direct DPDP Act liability.
  • Unrestricted Resource Consumption: No rate-limiting on expensive endpoints—account statement generation, credit score pulls—enabling denial-of-service attacks that cost money even if no data is stolen.
  • Server-Side Request Forgery (SSRF): API endpoints that fetch remote resources can be abused to reach internal services, cloud metadata endpoints, or other APIs behind the firewall.

Each of these vulnerabilities requires a different remediation technique, which is why “put a WAF in front of it” is not a sufficient API security strategy.

A Defence-in-Depth Framework for API Security

Effective API security is layered. No single control is sufficient; each layer catches what the one above it misses.

Layer 1: API Inventory and Discovery

You cannot protect what you cannot see. Shadow APIs—endpoints deployed by a development team that were never registered in the gateway—are endemic in large organisations running multiple squads in parallel. Start with an automated discovery exercise: passive traffic analysis, code repository scanning, and gateway log correlation to build a complete inventory. Every API should have an owner, a data-classification tag, and an agreed-upon lifecycle status (active / deprecated / sunset).

Layer 2: Secure-by-Design API Gateway Policy

An API gateway is not just a routing layer—it is your first enforcement point. Enforce the following at the gateway level, before requests reach application code:

  • Mutual TLS (mTLS) for machine-to-machine API calls between regulated entities
  • OAuth 2.0 with PKCE for public-facing consumer APIs; short-lived access tokens with mandatory refresh rotation
  • Input validation schemas (OpenAPI / JSON Schema) to reject malformed payloads at the gateway, reducing attack surface for injection attacks downstream
  • Strict rate-limiting per client-id, per endpoint, and per data-sensitivity tier
  • Payload size limits to prevent resource-exhaustion attacks

Layer 3: Next-Generation Firewall with API Visibility

A FortiGate NGFW with the appropriate threat-intelligence subscriptions provides deep packet inspection at the protocol level—including HTTP/2 and REST traffic patterns—and can detect anomalous sequences of API calls that are individually legitimate but collectively suspicious (e.g., sequential BOLA probing across object IDs). FortiGate’s Web Application and API Protection (WAAP) capabilities extend traditional WAF coverage to modern API attack patterns, with threat feeds updated from FortiGuard Labs’ global sensor network.

For organisations with SD-WAN deployments, FortiGate SD-WAN provides consistent policy enforcement across branch offices, data centres, and cloud workloads—ensuring that API traffic from a regional office receives the same security treatment as traffic from headquarters.

Layer 4: Runtime Threat Detection and Behavioural Analytics

Static policy enforcement stops known-bad patterns. Runtime detection catches novel abuse. Behavioural baselines—how many objects does a given client typically access per session? What is the normal distribution of HTTP status codes for a given endpoint?—are established during normal operation and monitored continuously. Deviations trigger alerts. This is where SIEM correlation and SOAR automation become essential, particularly for the six-hour reporting window mandated by CERT-In.

Layer 5: Shift-Left Security in the Development Pipeline

APIs are code. Security needs to be part of the development lifecycle, not bolted on after deployment. Mandatory requirements include:

  • Threat modelling for every new API before development begins
  • Static analysis (SAST) and software composition analysis (SCA) in CI/CD pipelines
  • API contract testing that validates security properties—not just functional correctness—against the OpenAPI specification
  • Penetration testing of API endpoints before production release, with findings tracked to closure

DPDP Act and CERT-In: The Regulatory Dimension

India’s Digital Personal Data Protection Act imposes a duty of care over personal data processed through APIs. If an API exposes a field that constitutes personal data—a name, a mobile number, a financial account identifier—the data fiduciary (typically the organisation running the API) must implement appropriate technical safeguards. Excessive data exposure (OWASP API3) is therefore not just a security gap; it is a DPDP Act compliance gap.

CERT-In’s 2022 directions require reporting of data breaches, ransomware incidents, and several other security events within six hours of detection. For a breach that originates via an API—which may propagate across multiple systems in minutes—six hours is a very tight window. Organisations that have not automated their detection-to-notification pipeline will miss this deadline. Automation is not optional; it is a regulatory requirement in practical terms.

Key principle: API security controls should be documented, testable, and evidenced. Auditors and regulators increasingly expect organisations to demonstrate—not just assert—that appropriate safeguards are in place. Log retention, policy enforcement records, and incident response timelines all contribute to this evidence base.

PrahiX Ora: Unified SecOps for API Threat Visibility and Response

Managing API security across a large enterprise estate generates high volumes of telemetry: gateway logs, firewall events, application logs, authentication events, and anomaly alerts—each from a different source, each in a different format. Without a unified operations platform, SOC teams spend more time correlating data than responding to threats.

PrahiX Ora is a unified SecOps platform built by PrahiX Tech Pvt Ltd. PJ Networks is its primary field deployment and operations partner, deploying and operating the platform for clients across banking, manufacturing, and retail sectors. Here is how its four pillars directly address API security operations:

SIEM: Correlation Across the Entire API Stack

Ora’s SIEM ingests logs from API gateways, FortiGate NGFWs, application servers, and identity providers into a single correlated timeline. Correlation rules mapped to the MITRE ATT&CK framework surface attack sequences that span multiple systems—for example, a credential stuffing attempt (Initial Access) followed by successful authentication and then high-volume object enumeration (Discovery). The graph-based attack storyline reconstruction gives SOC analysts a visual narrative of the incident rather than thousands of raw log lines to sift through manually.

For CERT-In compliance, Ora’s tiered retention model—hot, cold, and archive tiers—supports CERT-In’s direction on 180-day in-country log retention, ensuring that forensic data is available for post-incident analysis without driving up storage costs unsustainably.

NMS: Network Observability for API Infrastructure

API infrastructure does not exist in isolation—it rides on firewalls, load balancers, SD-WAN links, and cloud interconnects. Ora’s Network Management System provides unified observability across this multi-vendor estate, with LLDP/CDP topology discovery to map exactly which physical and virtual nodes sit in the API traffic path. ML-based anomaly detection flags unusual traffic patterns at the network layer—such as a sudden spike in outbound data volume from an API server—that complement application-layer detection. For NOC teams managing fragmented multi-vendor environments, this single-pane view eliminates the blind spots that attackers exploit.

Video Surveillance (VMS): Physical-Digital Security Convergence

For manufacturing, retail, and multi-site enterprises, physical security is part of the overall risk picture. Ora’s video surveillance (VMS) module manages ONVIF, Hikvision, and Dahua cameras with video analytics capabilities, bringing physical surveillance under the same operations view as network and security events. For a data centre or server room where API infrastructure is hosted, correlating a physical access event with an anomalous API call from the same location at the same time can be the difference between detecting an insider threat and missing it entirely.

SOAR: Automation for the Six-Hour Window

When an API threat is confirmed—BOLA attack in progress, credential stuffing detected, data exfiltration underway—the response clock starts. Ora’s SOAR module uses pre-built playbooks and automated response actions to compress the time between detection and containment. A confirmed API abuse event can automatically push updated blocklists to FortiGate, revoke compromised API tokens via the identity provider, and trigger the CERT-In notification workflow—all within minutes of detection. For organisations with CERT-In’s six-hour reporting obligation, this automation is what makes the timeline realistic rather than aspirational.

If you would like to understand how the platform we deploy and operate for clients could fit your organisation’s SOC and NOC requirements, speak to the PJ Networks team for a capability walkthrough.

Practical Steps: Building Your API Security Roadmap

For Indian enterprise IT and security leaders looking to harden their API posture, the following sequenced approach provides a practical starting point:

  1. Weeks 1–2: Inventory. Run an API discovery exercise. Enumerate all public, partner-facing, and internal APIs. Tag each with data-classification and ownership. Identify shadow APIs immediately.
  2. Weeks 3–4: Gateway hardening. Review and tighten gateway policies—authentication, rate-limiting, input validation. Disable deprecated API versions. Enforce mTLS on regulated inter-entity connections.
  3. Month 2: Threat modelling. Conduct structured threat modelling on the top five highest-risk APIs (those handling personal data, financial transactions, or administrative functions). Prioritise findings by exploitability and impact.
  4. Month 3: Detection and response. Instrument API gateway logs into the SIEM. Build correlation rules for BOLA probing, authentication anomalies, and excessive data export. Create SOAR playbooks for the top three threat scenarios. Test the CERT-In notification workflow end to end.
  5. Ongoing: Red-team and continuous improvement. Schedule quarterly API penetration testing. Track OWASP API Security Top 10 coverage as a KPI. Review gateway and firewall policies after every significant API change.

How PJ Networks Can Help

PJ Networks brings together the network security depth of FortiGate NGFW and FortiMail, the managed NOC/SOC capabilities of 24/7 Indian operations teams, and the unified SecOps visibility of the PrahiX Ora platform to deliver end-to-end API security services for Indian enterprises.

Our engagements typically begin with an API security assessment—inventory, threat modelling, and a gap analysis against OWASP and DPDP Act requirements—and then move into continuous managed monitoring and response. For organisations in regulated sectors (BFSI, healthcare, critical infrastructure), we align the programme explicitly to CERT-In reporting obligations and DPDP Act data-protection duties.

If your organisation is expanding its API estate as part of open banking, digital transformation, or cloud migration programmes, this is the right time to build security in—before the threat actors find the gaps for you.

Talk to the PJ Networks team to discuss an API security assessment or a PrahiX Ora platform demonstration tailored to your industry and regulatory context.