SlideShare a Scribd company logo
Addressing OWASP API
Security Top10 starts at
design time


Developer First Platform for API Security
Isabelle Mauny - Field CTO


isabelle@42crunch.com
API Breaches are on the rise!
• 350+ breaches reported on apisecurity.io since
Oct. 2018


• And those are just the public ones!


• Recurring Combination of:


• Lack of Input validation


• Lack of Rate Limiting


• Data/Exception leakage


• Authorization issues


• Authentication issues
https://www.datacenterknowledge.com/security/api-attacks-breaches-piling
OWASP Top 10 Mapping
• API1 : Broken Object Level Access Control


• API2 : Broken Authentication


• API3 : Excessive Data Exposure


• API4 : Lack of Resources & Rate Limiting


• API5 : Missing Function Level Access Control


• API6 : Mass Assignment


• API7 : Security Misconfiguration


• API8 : Injection


• API9 : Improper Assets Management


• API10 : Insufficient Logging & Monitoring
DOWNLOAD
Data	Protection Auth	/	Authorization	 Governance/Operations
WHY IS THIS
HAPPENING?
4
New York
JULY
Australia
SEPTEMBER
Singapore
APRIL
Helsinki & North
MARCH
Paris
DECEMBER
London
OCTOBER
Jakarta
FEBRUARY
Hong Kong
AUGUST
JUNE
India
MAY
Check out our API Conferences here
50+ events since 2012, 14 countries, 2,000+ speakers, 50,000+ attendees,
300k+ online community
Want to talk at one of our conferences?
Apply to speak here
API-centric architectures expand the attack surface
Source: https://apisecurity.io/encyclopedia/content/owasp/owasp-api-security-top-10.htm
SECURITY IS STILL AN


AFTER THOUGHT!
API	Security	is	about	protecting	data	


and	requires	context
TRADITIONAL SECURITY APPROACHES


ARE NOT WORKING ANYMORE!
APPLICATION SECURITY STRUGGLES TO SCALE
APPLICATION


DEVELOPMENT
APPLICATION


SECURITY
450	APIS	ON	
AVERAGE


1	APPSEC	
PERSON	FOR	
100	DEVS
TIME FOR
PROACTIVE


SECURITY
9
BAD DESIGN DECISIONS
ARE HARD TO UNDO


DESIGN ISSUES WILL
NOT AUTO-MAGICALLY
FIX THEMSELVES!
Know your APIs!
• Security is not a one-size fit all !


• Define which APIs are the most sensitive, for example:


• You’re likely to be in the news if something bad happens


• Your reputation will be affected


• Where is data stored, how it is accessed and by who ?


• What are the potential threats and how do we address
them?


• STRIDE model


• Invented in 1999 by Microsoft, but still relevant


• About knowing the threats and how you mitigate them and
where
Approach
•Key to security is to build context at design time, enumerated in the API
contract
Devs
Cyber
Consumer
= = =
Establish an API Contract As The Single Source Of Truth
API Contract Design


Data (API3, API6 and API8)
• Build / define the context you need for
security decisions.


• Own your schemas - Inbound and
outbound


• Define data constraints, schema constraints


• Know your PII


• Granted, there are standard ones, but you may have
one called “contraseña” or “numéro_sécu” !


• Don’t forget about :


• Headers


• Error responses


• JWTs (yes, they carry data!)
Interface Design


Access Control (API 1, API 2, API 5)
‣ Reduce/Eliminate resources IDs exposure


‣ What is an ID ? Can it be enumerated ? Can we hide it ?


‣ Fine-grained authorization policies


‣ Define external authorization policies (not in the
code…)


‣ True solution to BOLA/IDOR issue


‣ Who has access to what and how


‣ Which operations are we exposing ?


‣ Which ones are critical and require special access ?


‣ Do we have admin-level operations ?


‣ Who can access them ? How ?


‣ Shall this be a separate API all together so that we get
finer control ?
API Contract as Context


Positive Security Model for APIs
Operating APIs
‣ Invest in a framework for observability /monitoring


‣ Logging cannot be an after thought


‣ Logging needs to be designed! Which data will you log ? Where will it go ?


‣ Design Rate Limiting


‣ Rate limiting is not one size fit all


‣ Design rate limiting, watch for authentication/authorization endpoints.


‣ Design/manage API lifecycle/versioning


‣ Know when to retire APIs
CALL TO ACTION!
Use API Top 10 as framework for design and testing


Start worrying about API Security at design time


✓ A vulnerability discovered at production time costs up to 30x more
to solve


Hack yourselves leveraging API contracts


✓ For each functional test, create 10 negative tests


✓ Hammer your APIs with bad data, bad tokens, bad users


Automate Security


✓ Inject Security into DevOps practices and don’t rely on manual
testing of APIs.


✓ Only solution to scale and have avoid human errors
https://www.helpnetsecurity.com/2020/05/20/devops-software-development-teams/
“I think security, in most cases, is not a single
person’s specialization. Security must be a practice
of every member of the team from the frontend
developer to the system administrator (also non
tech roles).”
 



From: Gitlab DevSecOps report - 2021
18
Thank you!
THE DEVELOPER FIRST


API SECURITY PLATFORM
Continuous Protection for your Digital Business


➡ Subscribe to the apisecurity.io
weekly newsletter for regular
news on breaches, tools and best
practices.
New York
JULY
Australia
SEPTEMBER
Singapore
APRIL
Helsinki & North
MARCH
Paris
DECEMBER
London
OCTOBER
Jakarta
FEBRUARY
Hong Kong
AUGUST
JUNE
India
MAY
Check out our API Conferences here
50+ events since 2012, 14 countries, 2,000+ speakers, 50,000+ attendees,
300k+ online community
Want to talk at one of our conferences?
Apply to speak here

More Related Content

PPTX
Guide to an API-first Strategy
Kellton Tech Solutions Ltd
 
PDF
apidays LIVE Paris 2021 - Beyond API Governance: Run your API org like a lean...
apidays
 
PDF
apidays LIVE Paris 2021 - Synchronous Communication Patterns by Sébastien Ber...
apidays
 
PDF
apidays LIVE Paris 2021 - The Real World, API Security Edition by Michael Isb...
apidays
 
PDF
apidays LIVE Paris 2021 - Taming the beast by Markus Mueller, Apiida
apidays
 
PPTX
Executing on API Developer Experience
SmartBear
 
PDF
apidays LIVE Paris 2021 - API Attack Simulator - Find your API vulnerabilitie...
apidays
 
PDF
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
apidays
 
Guide to an API-first Strategy
Kellton Tech Solutions Ltd
 
apidays LIVE Paris 2021 - Beyond API Governance: Run your API org like a lean...
apidays
 
apidays LIVE Paris 2021 - Synchronous Communication Patterns by Sébastien Ber...
apidays
 
apidays LIVE Paris 2021 - The Real World, API Security Edition by Michael Isb...
apidays
 
apidays LIVE Paris 2021 - Taming the beast by Markus Mueller, Apiida
apidays
 
Executing on API Developer Experience
SmartBear
 
apidays LIVE Paris 2021 - API Attack Simulator - Find your API vulnerabilitie...
apidays
 
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
apidays
 

What's hot (20)

PDF
Mobile - Your API Security Blindspot by David Stewart, Approov
apidays
 
DOCX
API Strategy in Cloud
PavanPardeshi1
 
PPTX
apidays LIVE New York 2021 - API Security & AI by Deb Roy, Accenture
apidays
 
PDF
apidays LIVE Hong Kong 2021 - Event-driven APIs & Schema governance for Apach...
apidays
 
PDF
INTERFACE, by apidays - Aligning teams and strategies behind API investment ...
apidays
 
PDF
apidays LIVE Paris - Potential of API integrations, common traps and advices ...
apidays
 
PDF
Building an API Security Strategy
SmartBear
 
PPTX
API Management - Practical Enterprise Implementation Experience
Capgemini
 
PDF
API Security Webinar : Security Guidelines for Providing and Consuming APIs
DevOps Indonesia
 
PDF
apidays LIVE Paris 2021 - API design is where culture and tech meet each othe...
apidays
 
PDF
apidays LIVE Paris 2021 - API data sharing legal practices for public sector ...
apidays
 
PPTX
apidays LIVE Paris - Principles for API security by Alan Glickenhouse
apidays
 
PDF
APIdays Paris 2019 - API Gateway & Identity Providers, a Match Made in Micros...
apidays
 
PDF
apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...
apidays
 
PDF
APIdays Paris 2019 - Zero Downtime in API Management by Waldemar Rosenfeld, A...
apidays
 
PDF
apidays LIVE Paris - Connectivity rules everything around us by Marco Palladino
apidays
 
PDF
API Days, Paris, January 2018 - Sharing API Economy Observations: Business dr...
Veronique Wagon
 
PDF
apidays LIVE Paris - Succeeding with API Programs by Kiran Nadgir
apidays
 
PPTX
apidays LIVE New York 2021 - Playing with FHIR without getting burned by Dav...
apidays
 
PDF
INTERFACE, by apidays - A cloud-native approach for open banking in action b...
apidays
 
Mobile - Your API Security Blindspot by David Stewart, Approov
apidays
 
API Strategy in Cloud
PavanPardeshi1
 
apidays LIVE New York 2021 - API Security & AI by Deb Roy, Accenture
apidays
 
apidays LIVE Hong Kong 2021 - Event-driven APIs & Schema governance for Apach...
apidays
 
INTERFACE, by apidays - Aligning teams and strategies behind API investment ...
apidays
 
apidays LIVE Paris - Potential of API integrations, common traps and advices ...
apidays
 
Building an API Security Strategy
SmartBear
 
API Management - Practical Enterprise Implementation Experience
Capgemini
 
API Security Webinar : Security Guidelines for Providing and Consuming APIs
DevOps Indonesia
 
apidays LIVE Paris 2021 - API design is where culture and tech meet each othe...
apidays
 
apidays LIVE Paris 2021 - API data sharing legal practices for public sector ...
apidays
 
apidays LIVE Paris - Principles for API security by Alan Glickenhouse
apidays
 
APIdays Paris 2019 - API Gateway & Identity Providers, a Match Made in Micros...
apidays
 
apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...
apidays
 
APIdays Paris 2019 - Zero Downtime in API Management by Waldemar Rosenfeld, A...
apidays
 
apidays LIVE Paris - Connectivity rules everything around us by Marco Palladino
apidays
 
API Days, Paris, January 2018 - Sharing API Economy Observations: Business dr...
Veronique Wagon
 
apidays LIVE Paris - Succeeding with API Programs by Kiran Nadgir
apidays
 
apidays LIVE New York 2021 - Playing with FHIR without getting burned by Dav...
apidays
 
INTERFACE, by apidays - A cloud-native approach for open banking in action b...
apidays
 
Ad

Similar to apidays LIVE Paris 2021 - Addressing OWASP API Security Top 10 by Isabelle Mauny, 42Crunch (20)

PDF
Top API Security Issues Found During POCs
42Crunch
 
PDF
APIdays Paris 2019 - API Security Tips for Developers by Isabelle Mauny, 42Cr...
apidays
 
PDF
APISecurity_OWASP_MitigationGuide
Isabelle Mauny
 
PDF
APIdays London 2019 - API Security Tips for Developers with Isabelle Mauny, 4...
apidays
 
PDF
The Dev, Sec and Ops of API Security - API World
42Crunch
 
PDF
Checkmarx meetup API Security - API Security top 10 - Erez Yalon
Adar Weidman
 
PDF
What Every Developer And Tester Should Know About Software Security
Anne Oikarinen
 
PDF
Bugbounty Programs - Codemotion
Omar BV
 
PDF
Apidays Helsinki & North 2024 - Security Vulnerabilities in your APIs by Luká...
apidays
 
PPTX
London Adapt or Die: Securing your APIs the Right Way!
Apigee | Google Cloud
 
PDF
The Dev, Sec and Ops of API Security - NordicAPIs
42Crunch
 
PDF
Introduction to Security Testing
vodQA
 
PDF
PIRATEs of the Software Supply Chain.pdf
TAURUSEER
 
PPTX
Programming languages and techniques for today’s embedded andIoT world
Rogue Wave Software
 
PPTX
Fragments-Plug the vulnerabilities in your App
Appsecco
 
PDF
OWASP API Security Top 10 Examples
42Crunch
 
PPTX
Security at Greenhouse
Michael O'Neil
 
PDF
apidays LIVE LONDON - Protecting financial-grade APIs - Getting the right API...
apidays
 
PPTX
Outpost24 webinar - Api security
Outpost24
 
PPTX
2022 APIsecure_The Real World, API Security Edition
APIsecure_ Official
 
Top API Security Issues Found During POCs
42Crunch
 
APIdays Paris 2019 - API Security Tips for Developers by Isabelle Mauny, 42Cr...
apidays
 
APISecurity_OWASP_MitigationGuide
Isabelle Mauny
 
APIdays London 2019 - API Security Tips for Developers with Isabelle Mauny, 4...
apidays
 
The Dev, Sec and Ops of API Security - API World
42Crunch
 
Checkmarx meetup API Security - API Security top 10 - Erez Yalon
Adar Weidman
 
What Every Developer And Tester Should Know About Software Security
Anne Oikarinen
 
Bugbounty Programs - Codemotion
Omar BV
 
Apidays Helsinki & North 2024 - Security Vulnerabilities in your APIs by Luká...
apidays
 
London Adapt or Die: Securing your APIs the Right Way!
Apigee | Google Cloud
 
The Dev, Sec and Ops of API Security - NordicAPIs
42Crunch
 
Introduction to Security Testing
vodQA
 
PIRATEs of the Software Supply Chain.pdf
TAURUSEER
 
Programming languages and techniques for today’s embedded andIoT world
Rogue Wave Software
 
Fragments-Plug the vulnerabilities in your App
Appsecco
 
OWASP API Security Top 10 Examples
42Crunch
 
Security at Greenhouse
Michael O'Neil
 
apidays LIVE LONDON - Protecting financial-grade APIs - Getting the right API...
apidays
 
Outpost24 webinar - Api security
Outpost24
 
2022 APIsecure_The Real World, API Security Edition
APIsecure_ Official
 
Ad

More from apidays (20)

PDF
apidays Munich 2025 - The Physics of Requirement Sciences Through Application...
apidays
 
PDF
apidays Munich 2025 - Developer Portals, API Catalogs, and Marketplaces, Miri...
apidays
 
PDF
apidays Munich 2025 - Making Sense of AI-Ready APIs in a Buzzword World, Andr...
apidays
 
PDF
apidays Munich 2025 - Integrate Your APIs into the New AI Marketplace, Senthi...
apidays
 
PDF
apidays Munich 2025 - The Double Life of the API Product Manager, Emmanuel Pa...
apidays
 
PDF
apidays Munich 2025 - Let’s build, debug and test a magic MCP server in Postm...
apidays
 
PDF
apidays Munich 2025 - The life-changing magic of great API docs, Jens Fischer...
apidays
 
PDF
apidays Munich 2025 - Automating Operations Without Reinventing the Wheel, Ma...
apidays
 
PDF
apidays Munich 2025 - Geospatial Artificial Intelligence (GeoAI) with OGC API...
apidays
 
PPTX
apidays Munich 2025 - GraphQL 101: I won't REST, until you GraphQL, Surbhi Si...
apidays
 
PPTX
apidays Munich 2025 - Effectively incorporating API Security into the overall...
apidays
 
PPTX
apidays Munich 2025 - Federated API Management and Governance, Vince Baker (D...
apidays
 
PPTX
apidays Munich 2025 - Agentic AI: A Friend or Foe?, Merja Kajava (Aavista Oy)
apidays
 
PPTX
apidays Munich 2025 - Streamline & Secure LLM Traffic with APISIX AI Gateway ...
apidays
 
PPTX
apidays Munich 2025 - Building Telco-Aware Apps with Open Gateway APIs, Subhr...
apidays
 
PPTX
apidays Munich 2025 - Building an AWS Serverless Application with Terraform, ...
apidays
 
PDF
apidays Helsinki & North 2025 - REST in Peace? Hunting the Dominant Design fo...
apidays
 
PDF
apidays Helsinki & North 2025 - Monetizing AI APIs: The New API Economy, Alla...
apidays
 
PDF
apidays Helsinki & North 2025 - How (not) to run a Graphql Stewardship Group,...
apidays
 
PDF
apidays Helsinki & North 2025 - APIs in the healthcare sector: hospitals inte...
apidays
 
apidays Munich 2025 - The Physics of Requirement Sciences Through Application...
apidays
 
apidays Munich 2025 - Developer Portals, API Catalogs, and Marketplaces, Miri...
apidays
 
apidays Munich 2025 - Making Sense of AI-Ready APIs in a Buzzword World, Andr...
apidays
 
apidays Munich 2025 - Integrate Your APIs into the New AI Marketplace, Senthi...
apidays
 
apidays Munich 2025 - The Double Life of the API Product Manager, Emmanuel Pa...
apidays
 
apidays Munich 2025 - Let’s build, debug and test a magic MCP server in Postm...
apidays
 
apidays Munich 2025 - The life-changing magic of great API docs, Jens Fischer...
apidays
 
apidays Munich 2025 - Automating Operations Without Reinventing the Wheel, Ma...
apidays
 
apidays Munich 2025 - Geospatial Artificial Intelligence (GeoAI) with OGC API...
apidays
 
apidays Munich 2025 - GraphQL 101: I won't REST, until you GraphQL, Surbhi Si...
apidays
 
apidays Munich 2025 - Effectively incorporating API Security into the overall...
apidays
 
apidays Munich 2025 - Federated API Management and Governance, Vince Baker (D...
apidays
 
apidays Munich 2025 - Agentic AI: A Friend or Foe?, Merja Kajava (Aavista Oy)
apidays
 
apidays Munich 2025 - Streamline & Secure LLM Traffic with APISIX AI Gateway ...
apidays
 
apidays Munich 2025 - Building Telco-Aware Apps with Open Gateway APIs, Subhr...
apidays
 
apidays Munich 2025 - Building an AWS Serverless Application with Terraform, ...
apidays
 
apidays Helsinki & North 2025 - REST in Peace? Hunting the Dominant Design fo...
apidays
 
apidays Helsinki & North 2025 - Monetizing AI APIs: The New API Economy, Alla...
apidays
 
apidays Helsinki & North 2025 - How (not) to run a Graphql Stewardship Group,...
apidays
 
apidays Helsinki & North 2025 - APIs in the healthcare sector: hospitals inte...
apidays
 

Recently uploaded (20)

PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Software Development Methodologies in 2025
KodekX
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Software Development Methodologies in 2025
KodekX
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 

apidays LIVE Paris 2021 - Addressing OWASP API Security Top 10 by Isabelle Mauny, 42Crunch

  • 1. Addressing OWASP API Security Top10 starts at design time Developer First Platform for API Security Isabelle Mauny - Field CTO 
 [email protected]
  • 2. API Breaches are on the rise! • 350+ breaches reported on apisecurity.io since Oct. 2018 • And those are just the public ones! • Recurring Combination of: • Lack of Input validation • Lack of Rate Limiting • Data/Exception leakage • Authorization issues • Authentication issues https://www.datacenterknowledge.com/security/api-attacks-breaches-piling
  • 3. OWASP Top 10 Mapping • API1 : Broken Object Level Access Control • API2 : Broken Authentication • API3 : Excessive Data Exposure • API4 : Lack of Resources & Rate Limiting • API5 : Missing Function Level Access Control • API6 : Mass Assignment • API7 : Security Misconfiguration • API8 : Injection • API9 : Improper Assets Management • API10 : Insufficient Logging & Monitoring DOWNLOAD Data Protection Auth / Authorization Governance/Operations
  • 5. New York JULY Australia SEPTEMBER Singapore APRIL Helsinki & North MARCH Paris DECEMBER London OCTOBER Jakarta FEBRUARY Hong Kong AUGUST JUNE India MAY Check out our API Conferences here 50+ events since 2012, 14 countries, 2,000+ speakers, 50,000+ attendees, 300k+ online community Want to talk at one of our conferences? Apply to speak here
  • 6. API-centric architectures expand the attack surface Source: https://apisecurity.io/encyclopedia/content/owasp/owasp-api-security-top-10.htm
  • 7. SECURITY IS STILL AN AFTER THOUGHT!
  • 9. APPLICATION SECURITY STRUGGLES TO SCALE APPLICATION 
 DEVELOPMENT APPLICATION 
 SECURITY 450 APIS ON AVERAGE 1 APPSEC PERSON FOR 100 DEVS
  • 11. BAD DESIGN DECISIONS ARE HARD TO UNDO DESIGN ISSUES WILL NOT AUTO-MAGICALLY FIX THEMSELVES!
  • 12. Know your APIs! • Security is not a one-size fit all ! • Define which APIs are the most sensitive, for example: • You’re likely to be in the news if something bad happens • Your reputation will be affected • Where is data stored, how it is accessed and by who ? • What are the potential threats and how do we address them? • STRIDE model • Invented in 1999 by Microsoft, but still relevant • About knowing the threats and how you mitigate them and where
  • 13. Approach •Key to security is to build context at design time, enumerated in the API contract Devs Cyber Consumer = = = Establish an API Contract As The Single Source Of Truth
  • 14. API Contract Design Data (API3, API6 and API8) • Build / define the context you need for security decisions. • Own your schemas - Inbound and outbound • Define data constraints, schema constraints • Know your PII • Granted, there are standard ones, but you may have one called “contraseña” or “numéro_sécu” ! • Don’t forget about : • Headers • Error responses • JWTs (yes, they carry data!)
  • 15. Interface Design Access Control (API 1, API 2, API 5) ‣ Reduce/Eliminate resources IDs exposure ‣ What is an ID ? Can it be enumerated ? Can we hide it ? ‣ Fine-grained authorization policies ‣ Define external authorization policies (not in the code…) ‣ True solution to BOLA/IDOR issue ‣ Who has access to what and how ‣ Which operations are we exposing ? ‣ Which ones are critical and require special access ? ‣ Do we have admin-level operations ? ‣ Who can access them ? How ? ‣ Shall this be a separate API all together so that we get finer control ?
  • 16. API Contract as Context Positive Security Model for APIs
  • 17. Operating APIs ‣ Invest in a framework for observability /monitoring ‣ Logging cannot be an after thought ‣ Logging needs to be designed! Which data will you log ? Where will it go ? ‣ Design Rate Limiting ‣ Rate limiting is not one size fit all ‣ Design rate limiting, watch for authentication/authorization endpoints. ‣ Design/manage API lifecycle/versioning ‣ Know when to retire APIs
  • 18. CALL TO ACTION! Use API Top 10 as framework for design and testing Start worrying about API Security at design time ✓ A vulnerability discovered at production time costs up to 30x more to solve Hack yourselves leveraging API contracts ✓ For each functional test, create 10 negative tests ✓ Hammer your APIs with bad data, bad tokens, bad users Automate Security ✓ Inject Security into DevOps practices and don’t rely on manual testing of APIs. ✓ Only solution to scale and have avoid human errors https://www.helpnetsecurity.com/2020/05/20/devops-software-development-teams/ “I think security, in most cases, is not a single person’s specialization. Security must be a practice of every member of the team from the frontend developer to the system administrator (also non tech roles).” 
 From: Gitlab DevSecOps report - 2021
  • 19. 18 Thank you! THE DEVELOPER FIRST 
 API SECURITY PLATFORM Continuous Protection for your Digital Business ➡ Subscribe to the apisecurity.io weekly newsletter for regular news on breaches, tools and best practices.
  • 20. New York JULY Australia SEPTEMBER Singapore APRIL Helsinki & North MARCH Paris DECEMBER London OCTOBER Jakarta FEBRUARY Hong Kong AUGUST JUNE India MAY Check out our API Conferences here 50+ events since 2012, 14 countries, 2,000+ speakers, 50,000+ attendees, 300k+ online community Want to talk at one of our conferences? Apply to speak here