Security Magazine logo
search
cart
facebook twitter linkedin youtube
  • Sign In
  • Create Account
  • Sign Out
  • My Account
Security Magazine logo
  • NEWS
    • Security Newswire
    • Technologies & Solutions
  • MANAGEMENT
    • Leadership Management
    • Enterprise Services
    • Security Education & Training
    • Logical Security
    • Security & Business Resilience
    • Profiles in Excellence
  • PHYSICAL
    • Access Management
    • Fire & Life Safety
    • Identity Management
    • Physical Security
    • Video Surveillance
    • Case Studies (Physical)
  • CYBER
    • Cybersecurity News
    • More
  • BLOG
  • COLUMNS
    • Career Intelligence
    • Cyber Tactics
    • Cybersecurity Education & Training
    • Leadership & Management
    • Security Talk
  • EXCLUSIVES
    • Annual Guarding Report
    • Most Influential People in Security
    • The Security Benchmark Report
    • Top Guard and Security Officer Companies
    • Top Cybersecurity Leaders
    • Women in Security
  • SECTORS
    • Arenas / Stadiums / Leagues / Entertainment
    • Banking/Finance/Insurance
    • Construction, Real Estate, Property Management
    • Education: K-12
    • Education: University
    • Government: Federal, State and Local
    • Hospitality & Casinos
    • Hospitals & Medical Centers
    • Infrastructure:Electric,Gas & Water
    • Ports: Sea, Land, & Air
    • Retail/Restaurants/Convenience
    • Transportation/Logistics/Supply Chain/Distribution/ Warehousing
  • EVENTS
    • Industry Events
    • Webinars
    • Solutions by Sector
    • Security 500 Conference
  • MEDIA
    • Interactive Spotlight
    • Photo Galleries
    • Podcasts
    • Polls
    • Videos
      • Cybersecurity & Geopolitical Discussion
      • Ask Me Anything (AMA) Series
  • MORE
    • Call for Entries
    • Classifieds & Job Listings
    • Continuing Education
    • Newsletter
    • Sponsor Insights
    • Store
    • White Papers
  • EMAG
    • eMagazine
    • This Month's Content
    • Advertise
  • SIGN UP!
CybersecurityManagementSecurity Leadership and ManagementLogical SecuritySecurity & Business Resilience

How to build more secure APIs

By Jeff Williams
API security

Image from Unsplash

October 4, 2022

If applications were organic, application programming interfaces (APIs) would be the circulatory system: they’re the connective tissue that enables the lifeblood to flow between applications, carrying data within different contexts and across multiple channels. 

But APIs are just as hackable as web apps, as demonstrated by the many major data breaches enabled by unsecured APIs, including, for example, LinkedIn’s 2021 breach or Parler’s 2021 hacktivist archives.

APIs have become some of attackers’ favorite targets, given that it’s easy to intercept and modify the HTTP traffic being sent between, say, the mobile banking app on a cell phone and the bank’s mobile APIs. From there, malicious actors can pivot: once they reverse-engineer the service API, attackers can try to hijack other users’ accounts, find injection vulnerabilities, access other users' data and launch other common attacks.

This has to do with architecture: up until recently, monolithic, large applications handled access to specific data sources. In contrast, the modern web application is actually a conglomeration of interconnected APIs, microservices, web apps, frameworks, libraries and serverless functions, spread across multiple cloud and on-premise environments. Data access to many different applications has moved to APIs — not necessarily just across the enterprise, but even publicly, across the internet, externally exposed to users and partners. 

Exposing the enterprise’s soft underbelly

From a security perspective, that’s risky. APIs aren’t necessarily insecure, but modern web app architecture means that employees and cybersecurity teams have got to think about whether they are. There could be a far larger attack surface and many more clients able to access the data than what used to be buried deep inside a big, monolithic application.

These API attacks are difficult to detect with traditional technologies such as web application firewalls, which can only see network traffic. The same is true of API vulnerabilities, as Static Analysis Security Testing (SAST) and Dynamic Analysis Security Testing (DAST) technologies were designed for web applications from the early 2000s, and they haven’t advanced much since then. The complexity of modern API code, the frameworks that support them, and the complex interconnections between them is simply too much for static tools. Such tools produce loads of false positives, and they miss serious vulnerabilities.

It’s even harder for tools when they try to analyze APIs, given the complexity of looking at API traffic from the network perspective. Instead of just receiving a simple HTTP request, APIs requests contain some kind of payload — say, an XML document or a JSON document — if not something even harder to analyze, such as a serialized object.

Instead of these old-school security tools, security needs to work from inside the running API so that the analysis can see exactly how the apps are behaving and can measure that behavior in order to detect both vulnerabilities and attacks.

Unifying security and developers to build secure APIs

As it is, around 48% of developers say that they regularly push vulnerable code into production. This is a problem with the market, not with enterprise development teams. Business leaders can't blame developers for the pressures they’re under to release code.

Nor can they blame security. Manual penetration testing and code review can be helpful in testing API security, but they’re not only slow; they also require expertise. Such testing approaches may have issues when scaling.

Another approach to API security leverages Interactive Application Security Testing (IAST): a cybersecurity method that runs in the background during normal QA testing of APIs, without the need to change anything about how developers build, test and deploy code. Another key piece of the puzzle is Runtime Application Self-Protection (RASP), which prevents vulnerabilities from being exploited, even if one somehow makes its way into production in API code or an open-source library.

If business leaders want to stop playing the blame game and instead get development and security teams to work together to build more secure APIs, security teams need to enable them to build safer code.

Give developers the tools they need to efficiently fix issues in a way that’s most efficient, at a time when they can best learn from their mistakes and minimize security risk. Help security staff automate testing routines — that’s how to get security and development to work together on building secure APIs.

KEYWORDS: API key API security code cyber attack cyber security education DevOps

Share This Story

Looking for a reprint of this article?
From high-res PDFs to custom plaques, order your copy today!

Jeff williams

Jeff Williams is a pioneer in application security and has more than 20 years of experience in software development and security. He is the co-founder and CTO of Contrast Security, a revolutionary application security product that enhances software with the power to defend itself, check itself for vulnerabilities, and join a security command and control infrastructure. Williams is also a founder and major contributor to OWASP, where he served as the Chair of the OWASP Board for 8 years and created the OWASP Top 10, OWASP Enterprise Security API, OWASP Application Security Verification Standard, XSS Prevention Cheat Sheet, and many other widely adopted free and open projects. Jeff holds a BA from Virginia, an MA from George Mason, and a JD from Georgetown.

 

Recommended Content

JOIN TODAY
To unlock your recommendations.

Already have an account? Sign In

  • Iintegration and use of emerging tools

    Future Proof Your Security Career with AI Skills

    AI’s evolution demands security leaders master...
    Security Education & Training
    By: Jerry J. Brennan and Joanne R. Pollock
  • The 2025 Security Benchmark Report

    The 2025 Security Benchmark Report

    The 2025 Security Benchmark Report surveys enterprise...
    The Security Benchmark Report
    By: Rachelle Blair-Frasier
  • The Most Influential People in Security 2025

    Security’s Most Influential People in Security 2025

    Security Magazine’s 2025 Most Influential People in...
    Most Influential People in Security
    By: Security Staff
Manage My Account
  • Security Newsletter
  • eMagazine Subscriptions
  • Manage My Preferences
  • Online Registration
  • Mobile App
  • Subscription Customer Service

More Videos

Sponsored Content

Sponsored Content is a special paid section where industry companies provide high quality, objective, non-commercial content around topics of interest to the Security audience. All Sponsored Content is supplied by the advertising company and any opinions expressed in this article are those of the author and not necessarily reflect the views of Security or its parent company, BNP Media. Interested in participating in our Sponsored Content section? Contact your local rep!

close
  • critical event management
    Sponsored byEverbridge

    Why a Unified View Across IT, Continuity, and Security Makes or Breaks Crisis Response

  • Charlotte Star Room
    Sponsored byAMAROK

    In an Uncertain Economy, Security Is a Necessity - Not an Afterthought

  • Sureview screen
    Sponsored bySureView Systems

    The Evolution of Automation in the Command Center

Popular Stories

Cybersecurity trends of 2025

3 Top Cybersecurity Trends from 2025

Red laptop

Security Leaders Discuss SitusAMC Cyberattack

Green code

Logitech Confirms Data Breach, Security Leaders Respond

Neon human and android hands

65% of the Forbes AI 50 List Leaked Sensitive Information

The Louvre

After the Theft: Why Camera Upgrades Should Begin With a Risk Assessment

Top Cybersecurity Leaders

Events

September 18, 2025

Security Under Fire: Insights on Active Shooter Preparedness and Recovery

ON DEMAND: In today’s complex threat environment, active shooter incidents demand swift, coordinated and well-informed responses.

December 11, 2025

Responding to Evolving Threats in Retail Environments

Retail security professionals are facing an increasingly complex array of security challenges — everything from organized retail crime to evolving cyber-physical threats and public safety concerns.

View All Submit An Event

Products

Security Culture: A How-to Guide for Improving Security Culture and Dealing with People Risk in Your Organisation

Security Culture: A How-to Guide for Improving Security Culture and Dealing with People Risk in Your Organisation

See More Products

Related Articles

  • software code on computer

    Modernizing application security to retool DevSecOps

    See More
  • cybersecurity

    New NIST Standards on IAST and RASP Deliver State-of-the-Art AppSec

    See More
  • hacker

    How to Work with Hackers to Make Your Company More Secure

    See More

Related Products

See More Products
  • school security.jpg

    School Security: How to Build and Strengthen a School Safety Program

  • security culture.webp

    Security Culture: A How-to Guide for Improving Security Culture and Dealing with People Risk in Your Organisation

  • physical security.webp

    Physical Security Assessment Handbook An Insider’s Guide to Securing a Business

See More Products
×

Sign-up to receive top management & result-driven techniques in the industry.

Join over 20,000+ industry leaders who receive our premium content.

SIGN UP TODAY!
  • RESOURCES
    • Advertise
    • Contact Us
    • Store
    • Want More
  • SIGN UP TODAY
    • Create Account
    • eMagazine
    • Newsletter
    • Customer Service
    • Manage Preferences
  • SERVICES
    • Marketing Services
    • Reprints
    • Market Research
    • List Rental
    • Survey/Respondent Access
  • STAY CONNECTED
    • LinkedIn
    • Facebook
    • YouTube
    • X (Twitter)
  • PRIVACY
    • PRIVACY POLICY
    • TERMS & CONDITIONS
    • DO NOT SELL MY PERSONAL INFORMATION
    • PRIVACY REQUEST
    • ACCESSIBILITY

Copyright ©2025. All Rights Reserved BNP Media.

Design, CMS, Hosting & Web Development :: ePublishing