Why Should You Keep Your API Key Secure? (2024)

Shona Hossell

Jul 12, 2022 10:02:42 AM

Why Should You Keep Your API Key Secure? (1)

Attacks against APIs are increasing and API key protection is central to minimizing your business risks. In this article we’ll look at what your exposures are and what you should do about it.

API Attacks Are On The Rise

Stolen or accidentally exposed API keys and secrets can easily be exploited by threat actors and used to access sensitive information, impersonate your mobile app or make API calls on its behalf. With Salt Security reporting a 681% increase in API attacks during 2021 and Corsha estimating that poor API security will cost organisations up to $75B per year, this is a growing problem with significant financial risks for mobile businesses.

Exposed API keys can be used both to exploit vulnerabilities or bugs in the coding of the API itself and through API abuse (where the API is accessed or used in a way that was not intended). Example attacks includeaccount takeover, automated account creation, data scraping or DDoS attacks.

A recent security review by BeVigil found that many apps using the RazorPay API payment gateway were exposing API keys. This was down to poor coding practice and a lack of security awareness by the app developers rather than a flaw in the RazorPay API.

While code hardening and obfuscation techniques can add an additional layer of protection against the theft of API keys, readily available tools, such as mobSF, enable attackers to take published apps, download and reverse engineer them to extract the API keys and secrets for malicious purposes.

A MitM attack can be carried out using tools like mitmproxy and Charles Proxy to intercept the API traffic between your mobile app and the backend server and steal API keys or other secrets.

The thing to recognise is that if an API key becomes available to a bad actor then all the protection you have built into your mobile app will be useless as the attacker will use a script to bypass your app and trick the server into thinking it is communicating with a genuine instance of your mobile app.

Protecting against this attack vector requires your APIs to be shielded and you can read more about this in a more detailed four part series which starts here.

The Risks For Your Business

Mobile apps with APIs that access fintech or healthcare records are particularly at risk from transaction skimming, exposure of sensitive user information or unauthorised access to customer accounts or patient records. Research by Alissa Knight found security issues with many healthcare apps and APIs that use the FHIR standard. Many of the mobile healthcare apps tested had hardcoded API keys and tokens which could be used to access EHR APIs. With confidential patient data at risk, the financial and reputational costs for mobile healthcare companies can be significant.

Run-time protection is needed to protect the mobile app and its environment from tampering at the same time as ensuring that your APIs are properly shielded. Using a service such as Approov Mobile App Protection allows you to verify your app’s authenticity and integrity at run-time, ensuring that API keys cannot be misused at scale and that only the official version of your mobile app operating in an untampered environment can access your back-end API. Bots, scripts, fake and tampered apps are all blocked at source.

Further tips on storing your API keys can be found hereand more in-depth coverage of API key security here.

Why Should You Keep Your API Key Secure? (2)

Shona Hossell

Why Should You Keep Your API Key Secure? (2024)
Top Articles
Stake Pool Fees: What are the 340 ada fee and the percentage fee? Will I be charged this fee to stake my ada?
How to Make Money on Shopify: Ideas and Tips for 2024
Rosy Boa Snake — Turtle Bay
Pollen Count Centreville Va
Average Jonas Wife
Brady Hughes Justified
Cottonwood Vet Ottawa Ks
Otis Department Of Corrections
BULLETIN OF ANIMAL HEALTH AND PRODUCTION IN AFRICA
Www Craigslist Louisville
Victoria Secret Comenity Easy Pay
Volstate Portal
Doby's Funeral Home Obituaries
ds. J.C. van Trigt - Lukas 23:42-43 - Preekaantekeningen
2013 Chevy Cruze Coolant Hose Diagram
Günstige Angebote online shoppen - QVC.de
Rainfall Map Oklahoma
Find Such That The Following Matrix Is Singular.
Costco Gas Foster City
Lazarillo De Tormes Summary and Study Guide | SuperSummary
Voy Boards Miss America
Indiana Wesleyan Transcripts
Aps Day Spa Evesham
Highmark Wholecare Otc Store
Www Pointclickcare Cna Login
Craigslist Dubuque Iowa Pets
Booknet.com Contract Marriage 2
Papa Johns Mear Me
Pulitzer And Tony Winning Play About A Mathematical Genius Crossword
Does Royal Honey Work For Erectile Dysfunction - SCOBES-AR
Issue Monday, September 23, 2024
Murphy Funeral Home & Florist Inc. Obituaries
Bee And Willow Bar Cart
Garrison Blacksmith's Bench
Pitco Foods San Leandro
The Mad Merchant Wow
Dynavax Technologies Corp (DVAX)
Chatropolis Call Me
Koninklijk Theater Tuschinski
Tillman Funeral Home Tallahassee
Gary Lezak Annual Salary
Craigslist Pa Altoona
Nba Props Covers
Penny Paws San Antonio Photos
Az Unblocked Games: Complete with ease | airSlate SignNow
Greg Steube Height
Cara Corcione Obituary
Rovert Wrestling
Evil Dead Rise - Everything You Need To Know
Public Broadcasting Service Clg Wiki
Renfield Showtimes Near Regal The Loop & Rpx
La Fitness Oxford Valley Class Schedule
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 5582

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.