---
title: "Discussion on \"The API security issue I see most often isn't in the code, it's in the OpenAPI spec\" | Hashnode"
description: "Discussion on \"The API security issue I see most often isn't in the code, it's in the OpenAPI spec\". I've been auditing APIs for a while now, and there's a pattern that keeps coming up. Teams spend weeks getting their endpoints working, tests pass, deployment is clean. But the OpenAPI (or Swagger) fi"
url: "https://hashnode.com/posts/the-api-security-issue-i-see-most-often-isn-t-in-the-code-it-s-in-the-openapi-spec/6afb2a1b61f42b1acf5110bd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The API security issue I see most often isn't in the code, it's in the OpenAPI spec](https://cloakwave.hashnode.dev/the-api-security-issue-i-see-most-often-isn-t-in-the-code-it-s-in-the-openapi-spec?utm_source=hashnode&utm_medium=feed)

I've been auditing APIs for a while now, and there's a pattern that keeps coming up. Teams spend weeks getting their endpoints working, tests pass, deployment is clean. But the OpenAPI (or Swagger) fi

Nov 16 · 2 min read · cloakwave.hashnode.dev  
Read the article

-   [#api-security-web](https://hashnode.com/tag/api-security-web)
-   [#securityawareness](https://hashnode.com/tag/securityawareness)
-   [#application-security](https://hashnode.com/tag/application-security)
-   [#application-development](https://hashnode.com/tag/application-development)
-   [#api](https://hashnode.com/tag/api)

## Written by

[Cloakwave](https://hashnode.com/@cloakwave)

@cloakwave · Toronto, Canada

  
[View profile](https://hashnode.com/@cloakwave)

Cloakwave detects API security issues at inception

Hello everyone, I built Cloakwave because I kept running into the same problem with API security tools, they would tell me my spec had "BOLA risk" or "missing authentication," and I would have no idea whether that was a five minute fix or the kind of thing that ends up in a headline. So I started cataloguing documented API breaches, the ones where the root cause is public and mapped each one back to the OWASP category it belongs to. Now when the scanner flags something, it can tell you this is a technique that has been exploited repeatedly in real incidents or nobody has publicly documented exploitation of this yet, so it's lower priority. Same severity rating, very different urgency. If you try it and something feels wrong, a finding that's a false positive, a category I got wrong, a gap in the precedent data, please tell me. That feedback is genuinely the most useful thing you can give me right now.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
