SecAppDev original
OpenAPI as a security tool, not just documentation
Video and handoutsSecAppDev 2025
-
Philippe De Ryck Security Expert, Pragmatic Web Security
Abstract
OpenAPI specifications are more than just documentation—they can be a powerful foundation for improving your application’s security.
This talk explores how to effectively use OpenAPI in both code-first and spec-first workflows. We’ll discuss how well-crafted specs help uncover security issues, guide audits, and power security tools for testing, automated attacks, and even runtime protection. You’ll walk away with practical insights into turning your API specs into a security asset, not just a developer convenience.
Handouts available for this lecture
DownloadChapters
- Introduction to OpenAPI and Swagger
- OpenAPI as developer documentation
- How OpenAPI contracts describe an API
- Demo: augmenting generated OpenAPI specs
- Using specs for security testing
- Demo: running an API fuzzer
- Auditing OpenAPI specs for security
- Defining error codes and authentication
- OpenAPI and API security vulnerabilities
- Demo: finding excessive data exposure
- Mass assignment explained
- Moving from code-first to API-first
- Preventing drift with conformance scanning
- Runtime enforcement with API contracts
- Final recommendations and takeaways
In-person course
Philippe De Ryck taught at previous editions of SecAppDev
SecAppDev is an immersive course in secure application development, running annually since 2005. World-renowned faculty from industry and academia deliver in-depth 90-minute lectures and full-day workshops in an intimate setting, typically in early June.
More about SecAppDev