API Security for Indian Enterprises: Closing the Gaps Before Attackers Do

  • Home
  • API Security for Indian Enterprises: Closing the Gaps Before Attackers Do
API Security for Indian Enterprises: Closing the Gaps Before Attackers Do

Every enterprise in India is now, in effect, an API company. Banking workflows run on UPI integrations. ERP systems talk to GST portals. CRM platforms push data to cloud analytics. The API layer that makes digital India tick is also its most rapidly expanding attack surface—and in 2026, attackers have noticed.

CERT-In’s incident data from the past two years shows a steady rise in API-based intrusions targeting Indian financial services, manufacturing, and government-adjacent enterprises. Unlike perimeter breaches that trip network alerts, API attacks often look like legitimate traffic—until large volumes of sensitive data have already left the building. If your security posture was designed around protecting the traditional network perimeter, your API estate is likely under-defended.

This guide explains the API threat landscape specific to the Indian enterprise context, where the risks concentrate, and the practical controls that close the gaps.

Why the Indian API Attack Surface Is Growing Faster Than Controls

Three forces are driving API proliferation in Indian enterprises simultaneously:

  • Digital India mandates and interoperability requirements — RBI, SEBI, NPCI, and UIDAI all require programmatic integrations. Enterprises connecting to Aadhaar eKYC, NACH mandates, or GSTN verification expose API endpoints that must be both functional and hardened.
  • Cloud migration without API governance — As Indian enterprises move workloads to AWS, Azure, and GCP, they often stand up REST and GraphQL APIs to bridge legacy and cloud systems. These “shadow APIs” frequently skip security review.
  • Third-party and partner integrations — The average mid-size Indian enterprise now has integrations with 15–25 SaaS vendors. Each integration is a trust relationship expressed as API credentials—and a potential pivot point for attackers.

The OWASP API Security Top 10 (updated in 2023) catalogues the canonical failure modes: broken object-level authorization (BOLA), excessive data exposure, lack of resource rate limiting, broken function-level authorization, and more. In practice, BOLA—where an authenticated user can access another user’s data by simply changing an ID in the request—is by far the most common finding in our assessments of Indian enterprise APIs.

The Four Attack Scenarios Indian Security Teams Should Model

1. Credential Stuffing Against Public-Facing APIs

Attackers buy credential dumps from dark-web markets—many sourced from earlier Indian data leaks—and replay them against authentication endpoints. APIs that lack rate limiting, progressive back-off, or anomaly-based lockout absorb millions of login attempts per day without triggering a single alert. Once a valid credential pair is found, the attacker queries the API directly, bypassing any web-UI controls.

Defence: Enforce rate limits at the API gateway layer. Require MFA for all API credentials with access to sensitive objects. Correlate authentication failures across all endpoints in your SIEM, not just the primary login page.

2. BOLA / Insecure Direct Object Reference (IDOR)

Consider a common pattern: a mobile app calls /api/v2/accounts/{account_id}/transactions. If the backend validates only that the caller is authenticated—not that they own account_id—an attacker can enumerate account IDs and harvest transaction histories at scale. This exact pattern has appeared in multiple Indian fintech disclosures.

Defence: Enforce object-level authorisation checks server-side for every API call. Use opaque, non-guessable identifiers (UUIDs). Log all object-access events and alert on enumeration patterns—sequential ID access from a single session.

3. Excessive Data Exposure via Verbose API Responses

Developers often return the full object from the database and rely on the frontend to filter what is displayed. The API response may include PAN numbers, Aadhaar hashes, salaries, or health data that the UI never renders—but an attacker intercepting or calling the API directly can read everything. Under the Digital Personal Data Protection (DPDP) Act 2023, returning excessive personal data constitutes a processing violation, not just a security risk.

Defence: Implement field-level filtering at the API layer. Return only what is explicitly needed for the calling use-case. Conduct periodic API schema reviews to identify over-returning endpoints before a breach forces the issue.

4. Abusing Undocumented “Shadow” or Legacy API Versions

Enterprises rarely fully deprecate old API versions. /api/v1/ endpoints often remain live after /api/v3/ is released, with weaker authentication or older, unpatched libraries. Attackers probe for these systematically. A threat-hunting exercise we ran recently found active v1 API traffic on a client’s network that the security team believed had been decommissioned 18 months earlier.

Defence: Maintain a live API inventory. Use your WAF and NGFW to explicitly block or redirect decommissioned API paths. Enforce sunset dates in API governance policy.

Building an API Security Architecture: The Layered Approach

Effective API security is not a single product—it is controls applied at multiple layers, each compensating for what the previous layer misses.

Layer 1: FortiGate NGFW with Application Control and SSL Inspection

A FortiGate next-generation firewall with deep SSL/TLS inspection is your first line of defence. API traffic is almost entirely HTTPS; without SSL inspection, your firewall is blind to the payload. FortiGate’s application control signatures can identify API frameworks and enforce policy—blocking calls to decommissioned paths, enforcing rate limits at the network layer, and alerting on unusually large response payloads that may indicate data exfiltration.

For enterprises running on FortiGate SD-WAN, application steering policies can distinguish API traffic from general web traffic and route it through security inspection stacks regardless of which WAN link is active—critical for branch offices connecting to centralised API gateways.

Layer 2: Web Application Firewall (WAF) Rules

A WAF positioned in front of API endpoints inspects HTTP/HTTPS requests against signatures for injection attacks (SQL, NoSQL, command injection), enforces schema validation (rejecting malformed JSON that may exploit parser vulnerabilities), and can apply positive security models—only allowing requests that match known-good API specifications (OpenAPI/Swagger definitions). FortiWeb, integrated with FortiGate, provides this capability with automated signature updates from FortiGuard threat intelligence.

Layer 3: API Gateway with Authentication Enforcement

An API gateway centralises authentication and authorisation policy. Every API call must present a valid token (OAuth 2.0 / JWT); the gateway validates the token signature, expiry, and scope before forwarding the request upstream. This eliminates the pattern where individual application teams implement authentication inconsistently. The gateway also enforces rate limits, manages API key lifecycle, and provides the logging surface your SIEM needs.

Layer 4: ZTNA for Internal API Access

Internal-facing APIs—those consumed by employees, partners, or internal microservices—should be protected by Zero Trust Network Access. ZTNA replaces the implicit trust of VPN with continuous verification: device health, user identity, and access context are checked before each API session is established. For Indian enterprises meeting CERT-In’s network segmentation guidance, ZTNA provides a policy-enforced layer that makes lateral movement through the API estate significantly harder.

The DPDP Act Dimension: API Governance Is Data Governance

The Digital Personal Data Protection Act 2023 introduces Data Fiduciary obligations that map directly onto API security requirements. If your APIs process personal data—which almost all enterprise APIs do—the Act requires that you:

  • Process only the data necessary for the stated purpose (directly addressed by field-level filtering)
  • Implement “reasonable security safeguards” to prevent personal data breaches
  • Report breaches to the Data Protection Board within the timeframe specified by implementing rules (expected to align with CERT-In’s 6-hour direction)
  • Ensure that data processors (your SaaS vendors accessing your APIs) operate under contractual data processing agreements

An API-related breach—say, an exploited BOLA vulnerability exposing customer account data—is simultaneously a security incident and a potential DPDP compliance breach. The 6-hour reporting window CERT-In mandates makes detection speed a regulatory requirement, not just a security aspiration.

A Practical API Security Checklist for Indian Enterprise Teams

  • Inventory: Enumerate all APIs—internal, external, partner-facing, and legacy. Your NGFW traffic analysis and SIEM logs will reveal APIs your development teams forgot to document.
  • Authentication audit: Verify every API endpoint requires authentication. Confirm MFA or strong credential policies for all API accounts with access to personal data.
  • Authorisation testing: Run BOLA/IDOR tests against your own APIs before attackers do. Check that object-level authorisation is enforced server-side, not just on the frontend.
  • Rate limiting: Enforce rate limits on all authentication endpoints and on any endpoint returning sensitive data. Document the limits so developers know what to expect.
  • SSL inspection: Ensure your perimeter FortiGate is inspecting TLS traffic to and from your API gateways. Blind firewalls cannot protect against payload-layer attacks.
  • Logging: Capture full API request/response logs (sanitised for sensitive fields) with enough retention to support a CERT-In-style incident investigation. CERT-In’s direction on log retention—180 days—applies to all ICT infrastructure logs.
  • Third-party review: Audit API credentials issued to vendors and partners quarterly. Revoke unused credentials immediately.
  • Deprecation policy: Enforce API version sunset dates. Block decommissioned API paths at the WAF/NGFW layer the day they are retired.

How PrahiX Ora Supports API Security Operations

Detection and response across an API estate generates significant operational volume: authentication anomalies, rate-limit breaches, BOLA probes, and lateral movement through internal services all produce events that need correlation before they become readable as an attack storyline. Managing that volume manually, across a multi-vendor environment, is where most security teams fall short.

PrahiX Ora is a unified SecOps platform built by PrahiX Tech Pvt Ltd. PJ Networks is its primary field deployment and operations partner—we deploy and operate the platform for our managed security clients across India.

Ora addresses the API security operations challenge across four integrated capabilities:

SIEM with CERT-In-aligned log retention: Ora ingests API gateway logs, FortiGate NGFW events, WAF alerts, and authentication service logs into a single correlation engine. Correlation rules mapped to MITRE ATT&CK techniques surface attack storylines—not raw alert floods. Critically, Ora’s tiered retention (hot, cold, archive) supports CERT-In’s direction on 180-day in-country log retention, which matters when API breach investigations require reconstructing attack chains weeks or months after the initial event.

NMS for visibility across multi-vendor estates: For enterprises where API traffic traverses mixed FortiGate, Cisco, and cloud-native network fabric, Ora’s network management capability provides unified observability—LLDP/CDP topology discovery, network path tracing, and ML-based anomaly detection that flags unusual API traffic volumes between segments. In environments where NOC visibility is fragmented across vendor consoles, Ora collapses the view into a single operational pane.

Video surveillance (VMS) for physical and network security convergence: For manufacturing, retail, and multi-site enterprises, Ora’s video surveillance management integrates ONVIF/Hikvision/Dahua camera management with video analytics under the same operations view. This matters for facilities where physical access to server rooms or network closets is part of the attack surface—a physical intrusion followed by API credential theft is a real scenario in high-value targets. One operations view covering both physical and network security reduces coordination gaps.

SOAR playbook automation for the 6-hour window: When an API breach is detected, CERT-In’s 6-hour reporting window leaves almost no time for manual response. Ora’s SOAR capability automates the critical first-hour actions: isolating affected API endpoints, pushing blocklists to FortiGate to cut off attacker IPs, triggering evidence collection, and generating draft incident reports. It is this automation—not manual analyst effort—that makes the 6-hour timeline realistic for enterprises dealing with complex API attack chains. Pre-built connectors to FortiGate and other infrastructure components mean that automated response actions execute without requiring human approval for every step.

If your team is evaluating SecOps platforms to bring API security visibility in-house rather than reacting to breaches, we are happy to walk through how Ora is deployed in environments similar to yours.

Conclusion: API Security Is Not Optional in 2026

The Indian enterprise API attack surface will continue to expand. Digital India initiatives, cloud migration, and regulatory interoperability requirements all drive more APIs into production—and more potential entry points for attackers. The good news is that the controls exist: deep SSL inspection via FortiGate, WAF enforcement, API gateway authentication, ZTNA for internal services, and SIEM-based detection that correlates API events into readable attack narratives.

The gap is not technology—it is implementation coverage and operational maturity. Most successful API breaches exploit known, fixable vulnerabilities on APIs that were never security-reviewed, running on paths that should have been decommissioned, with logging that was too sparse to support a post-breach investigation.

PJ Networks works with Indian enterprises to close those gaps: FortiGate NGFW and FortiWeb deployment, ZTNA rollout for internal API access, 24/7 NOC/SOC coverage that monitors API traffic alongside network events, and managed SecOps on the PrahiX Ora platform. If you are not confident that your API estate is fully visible and defended, that is the right place to start the conversation.

To discuss an API security assessment or a managed security engagement, reach out to the PJ Networks team at pjnetworks.com/contact.

Leave a Reply

Your email address will not be published. Required fields are marked *