Securing Your APIs According to the OWASP API Security Top 10
To secure your APIs according to the OWASP API Security Top 10, you need to move away from the reflex of “checking off ten risks” and build a control loop that covers design, testing, real exposure, and remediation. This is exactly the realm of [https://fleuret.ai/blog/continuous-api-security-assessment](continuous API security) when you want to prove what is actually exposed, not just what is on a diagram. In this context, Fleuret is relevant for teams that want to move from one-off audits to a living coverage of APIs, with useful elements for auditing and product teams.
Key takeaways
-
The OWASP API Security Top 10 2023 places authorization at the center, not just authentication.
-
API1, API2, and API3 risks are addressed through testing on objects, sessions, and properties, not just through a simple gateway.
-
A WAF or gateway helps filter, but does not replace inventory, continuous testing, or remediation.
-
Serious coverage combines contracts, production observation, negative validation, and post-correction verification.
-
Key Points
What to Address First
The starting point is not the list of ten risks. It is authorization. OWASP states very clearly that “authorization remains the biggest challenge in API security”; this is where the most frequent access abuses occur, especially when object identifiers circulate in parameters or in the body of requests.
If you do not fix object access, modifiable fields, and sensitive functions, the rest remains fragile. A team can have good SSO, nice JWT tokens, and a well-tuned gateway while still allowing a user to read or modify another user's object. This is the most common case. It is also the most costly to miss.
“Authorization remains the biggest challenge in API security. Three of the top five items are related to authorization (access control).” — OWASP API Security Project team, https://owasp.github.io/blog/2023/07/03/owasp-api-top10-2023
Field signals point in the same direction. According to https://salt.security/press-releases/salt-labs-state-of-api-security-report-reveals-99-of-respondents-experienced-api-security-issues-in-past-12-months, 95% of API attacks in the 12 months leading up to 2025 came from authenticated sources. In other words, authentication alone does not protect you from an already logged-in user abusing their access rights.
-
Inventory all exposed APIs, their versions, hosts, and actual usages.
-
Lock down authorization at the object, property, and function level.
-
Test for abuses on concrete routes, with positive and negative cases.
-
Monitor production to spot forgotten endpoints, variants, and abnormal usages.
In practice, most teams start in the wrong place. They reinforce the entry point, only to discover too late that a standard account can still make calls it should never see. For OWASP, API1, API2, and API3 come before discussions about the format of responses or the cleanliness of logs.
The Ten OWASP Risks Translated into Concrete Controls
The first three items in the Top 10 are the most sensitive for exposed APIs. API1:2023 concerns object access: an identifier should never be enough to read, modify, or delete another user's object. API2:2023 covers broken authentication, when a token, session, or authentication mechanism can be bypassed. API3:2023 targets property-level authorization: a sensitive field should not become modifiable just because it is passed in the body of the request.
API4:2023, unbounded resource consumption, also deserves early attention. On a public API, this is often where denial of service, overcosts, and side effects on downstream systems hide. API5:2023, function-level authorization, remains the classic oversight: an administrative action should not be reachable from a standard role by simple direct call.
“APIs tend to expose endpoints that manipulate object identifiers (OIDs), creating a large attack surface on object access controls.” — OWASP, https://api-security.owasp.org/editions/2023/fr/0x11-t10
The complete Top 10 adds other angles. API6:2023 targets sensitive business flows, such as address changes, adding a payment method, or validating a transfer. API7:2023 covers server-side request forgery, when an API can be tricked into calling an internal or unexpected resource. API8:2023 deals with configuration errors. API9:2023 concerns poor inventory management, and API10:2023 the dangerous consumption of third-party APIs.
This last point is often underestimated. An API that consumes other services inherits their risks, but also its own: response validation, URL filtering, forgotten dependencies, excessive trust in an internal service. In real life, these details turn a small weakness into a complete incident.
According to [https://blog.cloudflare.com/2024-api-security-report/](Cloudflare, 2024 API Security & Management Report), 30.7% more endpoints were discovered through automated analysis compared to what organizations reported themselves. This is the classic sign of shadow APIs: what you think you are exposing is not always what you are really exposing.
The Long-Term Security Plan
The foundation consists of a few blocks. OAuth 2.0 or JWT for identity and scopes. TLS for transport. Strict input validation. Rate limiting. Usable logging. Centralized access policy when it makes sense. If your API gateway can only do coarse filtering, it reduces noise but does not close the problem.
The right test starts on real endpoints, not on demo examples. Take GET /accounts/{id}, PATCH /users/{id}, or POST /payments. Check an allowed case, a forbidden case, then a twisted case: missing identifier, insufficient role, unexpected field, invalid format. A useful access control must withstand these variants, not just the happy path.
For teams that move quickly, the real difference comes from repetition. A test run once in pre-production proves nothing if your OpenAPI schema has changed the following week or if a new role has been added on the back-end. This is where a continuous cycle becomes more useful than an isolated audit.
What Teams Should Automate First
-
BOLA: test if a user can access another's object by only changing the identifier.
-
BFLA: check that a sensitive function is not reachable from a standard role.
-
OpenAPI Contract: compare what is published with what is actually served.
-
Resource Limits: push pagination, search, and volume cases to see where it breaks.
Teams that expose many APIs quickly face the issue of remediation time. According to [https://info.edgescan.com/vulnerability-statistics-li23](Edgescan, 2023 Vulnerability Statistics Report), the average remediation time for a critical vulnerability on the web application/API layer was 73.9 days. Three months. That’s long when the API remains online all that time.
Why Inventory Matters as Much as Testing
An API that is not visible cannot be secured. Shadow APIs and zombie APIs are often the most exposed because they fall outside the contract, escape reviews, and survive partial redesigns. This is also why OWASP API9 exists: poor inventory management is not an organizational detail, it is a security flaw.
On the ground, you often find the same blind spots: old host kept for compatibility, v1 version still active, test route left in production, webhook documented in a ticket but not in the API gateway. If you do not have a continuous view, you are relying on luck.
In regulated sectors, the pressure is even higher. Bank of America reported a 51% increase in companies using its APIs for real-time payments from 2022-2023 to 2023-2024. The more central APIs become, the larger their attack surface expands, especially when they serve critical business flows.
According to https://www.akamai.com/newsroom/press-release/2025-api-security-impact-study, 85% of organizations in the APAC region reported at least one security incident related to APIs in the past 12 months. This figure mainly indicates one thing: APIs are no longer a peripheral surface; they are already carrying real incidents in many teams.
How to Choose Your Tools Without Misaligning Layers
If your main need is to filter traffic at the entry point, an API gateway or WAF may suffice. If you are looking to detect and prove application abuses, you need something more than a border guard. This is where continuous testing and evaluation tools become more suitable than purely perimeter devices.
In a platform or AppSec team, the right choice depends on the expected deliverable. A WAF protects a surface, but it does not tell you if a user can read another's object. A passive discovery tool sees endpoints, but it does not demonstrate their abuse. Fleuret fits this second need: linking what is exposed, what is testable, and what needs to be fixed.
In the face of tools like Escape, Pentera, or Horizon3.ai, the difference is not just marketing. Some are useful for simulation, others for a snapshot, and others for a broader scope. If your constraint is sustainable API coverage and proof of remediation, you need to look at the ability to replay tests, track changes, and maintain auditable records.
What Fleuret Does Differently on APIs
The value is not in one more alert. It is in the routine. With our platform, the idea is to make API security a cycle: detect exposure, test real scenarios, produce evidence, and then verify that the fix still holds after changes. For a team that must respond to DORA, NIS2, or a serious internal audit, this is a clear difference.
In environments where APIs change frequently, this approach avoids the classic scenario: a reassuring annual audit followed by six months of drift. Fleuret fits better when you need a control rhythm close to the delivery rhythm. The starting point remains the same: what you are really exposing. The rest follows.
We have also published a guide on [https://fleuret.ai/blog/continuous-security-assessments-for-apis-a-practical-guide](continuous security assessments for APIs) and another on [https://fleuret.ai/blog/ai-powered-api-security-solutions-what-to-buy-in-2026](API security solutions to consider). They detail use cases, differences between approaches, and points where a team wastes time when confusing discovery, testing, and remediation.
The Mistakes That Leave APIs Vulnerable
-
Believing that authentication is enough: a logged-in user can still abuse the rights that have been too broadly granted.
-
Forgetting modifiable properties: a sensitive field can be altered without breaking the route or the token.
-
Not bounding resources: a costly request can saturate the API or downstream services.
-
Keeping dead versions: an old forgotten route attracts abuse because it is less monitored.
-
Ignoring outgoing calls: API10 reminds us that a consuming API can become the entry point of an attack.
Sensitive flows deserve special attention. Password changes, address modifications, beneficiary additions, data exports, and webhooks are natural targets. In this type of scenario, security is not limited to the technical perimeter; it touches the business logic itself.
The right reflex is simple: if an action can have a significant effect on an account, a payment, or an access right, it must be tested outside the nominal path. Not once. With every significant evolution.
The Right Decision Based on Your Need
If your goal is simply to filter traffic at the network edge, take a gateway or a WAF. If you want to secure your APIs according to the OWASP API Security Top 10 with evidence, continuous testing, and a defendable remediation loop, Fleuret is the most coherent option. And if you are simply looking for passive discovery or a filtering layer, it is better to choose another family of tools than to try to make a continuous testing platform carry that role.
Your turn.
En garde.
The Free plan runs SAST, DAST, SCA and secret scanning for 2 users and 10 repos, no call needed. Several apps or an audit deadline? Book a demo instead.
