API Security

The practices and technologies for protecting application programming interfaces from exploitation, unauthorized access, and data leakage.

On this page

What is API Security?

API security addresses the unique risks of programmatic interfaces including broken authentication, excessive data exposure, injection attacks, rate limiting failures, and mass assignment vulnerabilities. The OWASP API Security Top 10 provides a comprehensive risk taxonomy. Key controls include OAuth 2.0/OpenID Connect authentication, API gateways, rate limiting, input validation, schema validation, and API-specific WAF rules. API discovery and inventory are foundational, many breaches exploit unknown "shadow APIs." Runtime protection, security testing (DAST/SAST for APIs), and API behavioral analysis complement preventive controls.

Application to Vendor Screening

Assess vendor API security when integrating with vendor systems or when vendors expose APIs that access your data. Review authentication mechanisms, rate limiting, data exposure in responses, API versioning practices, and whether the vendor follows OWASP API Security guidelines. Request API security test results.

Practical Examples

  • Reviewing a vendor's API authentication and authorization mechanisms
  • Assessing whether vendor APIs follow OWASP API Security Top 10 guidelines
  • Evaluating rate limiting and abuse prevention on vendor API endpoints

Frequently Asked Questions

What are the biggest API security risks?

According to OWASP API Security Top 10: broken object-level authorization, broken authentication, broken object property-level authorization, unrestricted resource consumption, broken function-level authorization, server-side request forgery, security misconfiguration, and lack of protection from automated threats.

How should vendor APIs be secured?

Key measures include OAuth 2.0 with short-lived tokens, mutual TLS for service-to-service communication, rate limiting, input validation, API gateway enforcement, regular security testing, API versioning, and comprehensive logging and monitoring.

Check the vendor. Keep the evidence.

Start free