<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Mayhem by ForAllSecure - Medium]]></title>
        <description><![CDATA[Mayhem is a developer-first security testing solution. Built by professional hackers, it automatically generates thousands of tests to identify defects in your apps and APIs. - Medium]]></description>
        <link>https://medium.com/mayhem-security?source=rss----99d1a806f683---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Mayhem by ForAllSecure - Medium</title>
            <link>https://medium.com/mayhem-security?source=rss----99d1a806f683---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 06 Jun 2026 20:17:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/mayhem-security" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Meet The Team Behind Mayhem: Come See Us At These Upcoming April 2023 Events]]></title>
            <link>https://medium.com/mayhem-security/meet-the-team-behind-mayhem-come-see-us-at-these-upcoming-april-2023-events-f33e7d0be0b8?source=rss----99d1a806f683---4</link>
            <guid isPermaLink="false">https://medium.com/p/f33e7d0be0b8</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[code-security]]></category>
            <dc:creator><![CDATA[Debra Hopper]]></dc:creator>
            <pubDate>Mon, 03 Apr 2023 20:38:06 GMT</pubDate>
            <atom:updated>2023-04-03T20:38:06.451Z</atom:updated>
            <content:encoded><![CDATA[<p>The Mayhem team participated in the Miami Cybersecurity Summit, Automotive IQ, and Wright-Patterson AFB Training last month.</p><p>We have a number of upcoming events planned for April 2023, including:</p><ol><li><a href="https://forallsecure.com/blog/meet-the-team-behind-mayhem-come-see-us-at-these-upcoming-april-2023-events#h_3237269532591680270687998">RSA Conference, DevSecOps Days, and BSides</a></li><li><a href="https://forallsecure.com/blog/meet-the-team-behind-mayhem-come-see-us-at-these-upcoming-april-2023-events#h_1845683314431680270706607">Webinar: How to Increase Test Coverage With Mayhem for API</a></li><li><a href="https://forallsecure.com/blog/meet-the-team-behind-mayhem-come-see-us-at-these-upcoming-april-2023-events#h_9045461286221680270726634">Speed vs. Resilience: Making the Right Trade-offs for Software Security</a></li><li><a href="https://forallsecure.com/blog/meet-the-team-behind-mayhem-come-see-us-at-these-upcoming-april-2023-events#h_74420248001680270738766">Securing Open Source Software University Hackathon</a></li></ol><p>Read on to learn more about April’s events. We hope to see you there!</p><h3>RSA Conference</h3><p>The RSA Conference is an annual event that brings together cybersecurity professionals and experts from around the world to discuss the latest trends, challenges, and innovations in cybersecurity. 2023’s theme “Stronger Together” is all about “exchanging ideas, sharing our success stories, and bravely examining our failures.”</p><p><strong>Where</strong>: San Francisco, CA | Moscone Center</p><h4>Why Attend?‍</h4><p>Attend RSA to network, learn about the latest trends and challenges in the industry, gain insights on emerging threats and solutions, and discover new technologies and solutions.</p><p>Join our team at RSA! <a href="https://forallsecure.com/contact">Set up a meeting with us </a>during the conference to learn more about how Mayhem makes security testing easy for development teams.</p><h3>DevSecOps Days</h3><p>DevOps Connect: DevSecOps at RSAC is a program within the RSA Conference that explores different ways to effectively integrate security into DevOps processes, discusses the emergence of security engineers in DevOps, and explores the role of developer security champions.</p><p><strong>When</strong>: April 24, 2023 | 8 a.m. — 3 p.m. PST</p><p><strong>Where</strong>: Moscone South 308, San Francisco or Virtual</p><h4>Why Attend?‍</h4><p>This year’s two main topics will be “shift left versus shift right security” and “open source security”. Learn about how adopting both shift left and shift right strategies enables DevOps teams to deliver the highest-quality software, and explore open source security risks and how to address them.</p><p>The Mayhem team will have a booth at DevSecOps days. Be sure to stop by so we can meet you and answer any questions you have about our security testing solution.</p><h3>BSides</h3><p>BSides San Francisco is a 100% volunteer-organized Information Security conference. There are no “attendees” at a BSides event. Everyone is a participant, adding something of value to the conversations.</p><p><strong>Where</strong>: San Francisco, CA | City View at Metreon, 135 4th St #4000</p><p><strong>When</strong>: Saturday, April 22nd and Sunday, April 23rd</p><h4>Why Attend?‍</h4><p>Come join us at the BSidesSF conference for two days of learning and fun with the Bay Area security community. Stop by our booth and ask us any questions you have. We’d love to meet you!</p><h3>Webinar: How to Increase Test Coverage (And Confidence!) With Mayhem for API</h3><p>In this webinar, you’ll learn how to increase your API testing coverage and build confidence in your code with Mayhem.</p><p><strong>When</strong>: April 19, 2023 | 1pm EST / 10am PST</p><h4>Why Attend?‍</h4><p>Mayhem is a powerful testing tool that uses fuzz testing to identify and prevent bugs in your code.</p><p>We’ll explore how to integrate Mayhem into your testing workflow, best practices for using Mayhem, and real-world examples of how Mayhem has improved API testing for companies like yours.</p><ul><li>Discover the benefits of using Mayhem for API testing, including improved code quality and faster time to market.</li><li>Learn how to set up Mayhem for API testing and configure it to meet your testing needs.</li><li>Explore real-world examples of how companies have used Mayhem to improve their API testing coverage and identify critical bugs.</li><li>Get expert tips and best practices for using Mayhem effectively in your testing workflow.</li><li>Participate in a live Q&amp;A session with our expert speaker and get your questions about Mayhem and API testing answered.</li></ul><h3>Argyle’s CISO Leadership Forum: Speed vs. Resilience: Making the Right Trade-offs for Software Security</h3><p>A senior executive from ForAllSecure will be a panelist in a 45 minute discussion on strategic organizational resilience during Argyle’s full day CISO Leadership Forum on April 13.</p><h4>Why Attend?‍</h4><p>Developers and security professionals are always making trade-offs between competing priorities. No one can maximize speed to market, reliability, resilience and security all at the same time. Trade-offs are inevitable, and you want your trade-offs to be as thoughtful, balanced and conscious of the risks involved as possible.</p><p>Join this panel discussion at Argyle’s CISO Leadership Forum to learn how top CISOs and software professionals have successfully balanced the need for speed with the need for resilience.</p><p>You will learn:</p><ul><li>How to assess the trade-offs your business needs to make between speed and resilience</li><li>Risk awareness and mitigation techniques for making better trade-offs</li><li>Ways to make the business case for the best trade-offs possible</li><li>Automated solutions for increasing both speed and resilience</li></ul><h3>Securing Open Source Software University Hackathon</h3><p><strong>UC Santa Cruz Computer Students</strong>: Join ForAllSecure on April 22nd to learn about DevSecOps and fuzz testing and to gain the skills needed to find security exploits in open source software.</p><p><strong>Where</strong>: UC Santa Cruz | Jack Baskin Auditorium 101</p><p><strong>When</strong>: April 22nd, 2022 | 11:30am — 6pm PST</p><h4>Why Attend?‍</h4><p>At minimum, lunch is on us. We’ll teach you how to do a fuzz test with Mayhem, and after you fill out a short survey we’ll pay you $100. Students who successfully integrate Mayhem into an open source project can be eligible for up to $1,000.</p><p>What you will learn:</p><ul><li>Fundamental DevSecOps concepts and best practices</li><li>Using Docker and Github Actions as part of your development process</li><li>Testing applications for defects with Mayhem</li></ul><h3>March Events</h3><p>In March, the Mayhem team participated in the Miami Cybersecurity Summit, Automotive IQ, and Wright-Patterson AFB Training.</p><h3><a href="https://cybersecuritysummit.com/summit/miami23/">Miami CyberSecurity Summit</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fMjSgIfb-bnZhWbu" /></figure><p>Our team had a wonderful time at the Miami Cybersecurity summit on March 17. We had a booth at the event where we answered questions and gave Mayhem product demonstrations.</p><h3><a href="https://www.automotive-iq.com/events-automotive-cybersecurity">Automotive IQ</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cjWk3zbkc3BOEGjh" /></figure><p>ForAllSecure co-founder and VP Engineering, <a href="mailto:thanassis@forallsecure.com">Thanassis Avgerinos </a>spoke to a room of automotive industry representatives about how to adopt the techniques of attackers to deliver more secure connected vehicles.</p><p>VP Marketing <a href="mailto:josh@forallsecure.com">Josh Thorngren </a>provided comic relief, and the two of them discussed everything from how to adopt DevOps practices in traditional automotive “V” shaped SDLC, as well as what the automotive industry should <a href="https://forallsecure.com/blog/the-2023-national-cybersecurity-strategy-shifts-responsibility-onto-software-vendors">take away from the new cybersecurity guidance </a>from the Biden administration.</p><p><a href="https://www.slideshare.net/ForAllSecure/automotive-cybersecurity-test-like-a-hacker"><strong>Get a copy of the presentation here.</strong></a></p><h3><a href="https://www.militaryexpos.com/wpafb/">Wright-Patterson AFB Training</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wjx--2x0v8z8NPCO" /></figure><p>The Mayhem team attended the Wright-Patterson AFB training on March 29th and gave a separate training session on how to use Mayhem.</p><h3>Meet with the Team Behind Mayhem</h3><p>Thanks to everyone who attended our March events!</p><p>If you haven’t had the chance to meet our amazing Mayhem team or aren’t familiar with <a href="https://get.mayhem.security/get-started-code?_gl=1*1r01u6h*_ga*NDA5NzMxODA3LjE2NjUxNTQ3MTE.*_ga_7GV139V4R7*MTY4MDI2ODI0Ny4yOTcuMS4xNjgwMjcyNTI4LjU5LjAuMA..">what we do</a>, come join us at one of our upcoming events.</p><p>We’d love to talk about how Mayhem makes security testing easy for development teams by automatically generating test cases and only reporting exploitable, confirmed risks that produce actionable AppSec results.</p><p>Looking forward to seeing you at an upcoming event!</p><p><em>Originally published at </em><a href="https://forallsecure.com/blog/meet-the-team-behind-mayhem-come-see-us-at-these-upcoming-april-2023-events"><em>https://forallsecure.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f33e7d0be0b8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mayhem-security/meet-the-team-behind-mayhem-come-see-us-at-these-upcoming-april-2023-events-f33e7d0be0b8">Meet The Team Behind Mayhem: Come See Us At These Upcoming April 2023 Events</a> was originally published in <a href="https://medium.com/mayhem-security">Mayhem by ForAllSecure</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[API Security 101 for Developers: How to Easily Secure Your APIs]]></title>
            <link>https://medium.com/mayhem-security/api-security-101-for-developers-how-to-easily-secure-your-apis-fad7c7db81b4?source=rss----99d1a806f683---4</link>
            <guid isPermaLink="false">https://medium.com/p/fad7c7db81b4</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[api-security-testing]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[api-security]]></category>
            <dc:creator><![CDATA[Debra Hopper]]></dc:creator>
            <pubDate>Wed, 29 Mar 2023 17:30:20 GMT</pubDate>
            <atom:updated>2023-03-29T17:30:20.234Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PMdvnfr43bkT6ouc" /></figure><p>Application Programming Interfaces (APIs) are a fundamental component of modern software development. APIs allow developers to integrate different software systems, making it easier than ever to create complex applications and services. However, as with any software component, APIs are also prone to security vulnerabilities that can be exploited by attackers.</p><p>API security is an ongoing process that demands continual attention and effort from everyone on the development team. However, with the right knowledge and tools, developers can design, build, and test secure APIs without adding to their workload.</p><p>By the end of this blog post, you will have a good understanding of API security and the steps you can take to easily secure your APIs.</p><h3>API Basics: What Is an API and How Do APIs Work?</h3><p>As a developer, you’ve likely encountered APIs in your work, and may even use them regularly in your projects. But for those new to the world of APIs, lets cover the basics:</p><h3>What is an API?</h3><p>An Application Programming Interface (API) is a set of protocols, routines, and tools used by developers to build software applications. APIs offer a standard method for software components to communicate with one another. This makes it possible for developers to connect different software systems without having to understand the details of each system.</p><h3>How do APIs work?</h3><p>In simpler terms, APIs allow developers to access data or functionality from one application or service and use it in another application or service. For example, a developer building a mobile app that displays weather information might use an API provided by a weather service to retrieve the current weather conditions and display them in the app.</p><p>APIs can be divided into two broad categories: internal and external. Internal APIs are used within an organization to share data and functionality between different software systems. External APIs are accessible to users outside of an organization. They allow third-party developers to access an organization’s software data or functions.</p><h3>Examples of Popular APIs</h3><p>Some popular examples of external APIs include the Twitter API, the Google Maps API, and the Facebook API. These APIs allow developers to access data and functionality provided by these services and integrate them into their own applications or services.</p><p>For example, the Google Maps API allows developers to integrate Google Maps into their own applications or websites. This gives them an easy way to build custom maps and add location-based features to their applications or websites. For example, a real estate website could use the Google Maps API to display the location of each property on a map. Or, a delivery app could use the API to calculate the best route between two locations.</p><p>In the next section, we will discuss common API security vulnerabilities that developers need to be aware of.</p><h3>Common API Security Vulnerabilities</h3><p>While APIs are useful for integrating software systems, they can also introduce security vulnerabilities that can be exploited by attackers. The most common API security vulnerabilities that developers need to be aware of are:</p><h3>Injection Attacks</h3><p>Injection attacks occur when an attacker sends malicious data to an API endpoint that can be interpreted as code by the server. This can allow the attacker to execute commands on the server, access sensitive data, or even take control of the server.</p><p>For example, an SQL injection is a type of injection attack that occurs when an attacker sends malicious SQL statements to an API endpoint that interacts with a database. If the API does not properly validate and sanitize user input, the attacker can execute arbitrary SQL statements on the database.</p><h3>Broken Authentication and Session Management</h3><p>Authentication is the process of verifying the identity of a user or system. Session management is the process of managing user sessions once they are authenticated. Broken authentication and session management vulnerabilities can allow attackers to impersonate legitimate users and access sensitive data or functionality.</p><p>For example, weak or predictable passwords make your APIs vulnerable. An attacker can use brute force attacks to guess the password and gain access to the system. Similarly, APIs need to use strong session identifiers and properly expire user sessions. If this is not done, an attacker can hijack a legitimate user’s session and gain access to the system.</p><h3>Cross-Site Scripting (XSS)</h3><p>Cross-Site Scripting (XSS) attacks occur when an attacker injects malicious code into a web page that is viewed by other users. This code is typically in the form of JavaScript that executes in the user’s browser and can be used to steal sensitive information or perform other malicious activities.</p><p>API-based XSS attacks involve exploiting vulnerabilities in the APIs used by web applications to fetch and display data. An attacker can craft a malicious query that includes a script tag with JavaScript code that steals the user’s session token, allowing the attacker to impersonate the user and perform actions on their behalf.</p><p>To prevent XSS attacks, web developers must sanitize user input and validate it on the server side. Additionally, they should use content security policies (CSPs) to limit the sources of scripts and other resources that can be loaded by the browser.</p><h3>Cross-Site Request Forgery (CSRF)</h3><p>Cross-site request forgery (CSRF) occurs when an attacker tricks a victim into performing an action on an API endpoint without their knowledge or consent. This can allow the attacker to perform actions on the victim’s behalf, such as making unauthorized purchases or changing the victim’s account settings.</p><p>For example, if an API does not use CSRF tokens to validate requests, an attacker can create a malicious web page that sends unauthorized requests to the API endpoint when a victim visits the page.</p><h3>Insufficient Encryption and Transport Layer Protection</h3><p>APIs that transmit sensitive data, such as user credentials or payment information, need to use encryption and transport layer protection to ensure that the data is not intercepted or modified by attackers.</p><p>For example, if an API does not use HTTPS to encrypt traffic or uses weak encryption algorithms, an attacker can intercept and modify API requests or responses.</p><h3>Developer Best Practices for API Security: How to Prevent Common API Vulnerabilities</h3><p>There are a number of steps developers can take to prevent the common API security vulnerabilities discussed in the previous section, including:</p><h3>Follow the Principle of Least Privilege</h3><p>Development teams should always follow the principle of least privilege. API access should be limited to only what is necessary for a given user or system. This means that users should only be able to access the data and functionality that they need to perform their tasks.</p><p>For example, a user who only needs to view data should not have write access to the data. Limiting API access in this way reduces the risk of unauthorized access and data breaches.</p><h3>Use Strong and Secure Authentication and Authorization Mechanisms</h3><p>Authentication is the process of verifying the identity of a user or application attempting to access an API. Authorization is the process of determining whether a user or application has the necessary permissions to perform a specific action or access a specific resource. Authentication and authorization are critical to API security, as they ensure that only authorized users or applications can access sensitive data.</p><p>One common method of authentication and authorization is the use of OAuth 2.0. OAuth 2.0 is an open standard for authorization. It allows third-party applications to access a user’s data without the user sharing their credentials. Instead, the user grants the application access to their data using an access token.</p><h3>Implement Access Control Mechanisms</h3><p>Access control is the process of determining who has access to a specific resource or API endpoint. Access control is important for API security, as it ensures that only authorized users or applications can access sensitive data.</p><p>One common method of access control is role-based access control (RBAC). RBAC is a method of access control that restricts access based on the roles of individual users within an organization. For example, a developer building an API for a financial institution might use RBAC to ensure that only authorized employees can access customer financial data.</p><h3>Use Secure Passwords and Password Policies</h3><p>Strong passwords and password policies are essential to prevent brute force attacks and other password-related vulnerabilities. Password policies should enforce password complexity, minimum password length, and password expiration. Developers should also consider implementing passwordless authentication methods such as biometric authentication to improve the security of their APIs.</p><h3>Validate and Sanitize All User Input</h3><p>Input validation ensures that data is in the correct format and meets specific criteria. Input sanitization removes any malicious content from user input. Using input validation and sanitization libraries and frameworks reduces the risk of security vulnerabilities such as SQL injection and cross-site scripting (XSS) attacks.</p><h3>Use Encryption and Hashing</h3><p>Encryption is the process of encoding data so that only authorized users can read it. Hashing is the process of transforming data into a fixed-length string of characters. Developers should use encryption to protect sensitive data such as passwords, credit card information, and personal information.</p><p>One common method of encryption is Transport Layer Security (TLS). TLS is a protocol that encrypts data as it is transmitted between a client and a server. For example, a developer building an API for an e-commerce site might use TLS to encrypt customer credit card information as it is transmitted between their browser and server.</p><h3>Rate Limiting</h3><p>Rate limiting is the process of limiting the number of requests that a user or application can make to an API within a specified time period. Rate limiting prevents denial-of-service (DoS) attacks and ensures that the API is available to all users.</p><p>For example, a developer building an API for a weather application might implement rate limiting to ensure that one user cannot make an excessive number of requests in a short period of time, which could cause the API to become unavailable for other users.</p><h3>Implement Secure Session Management</h3><p>Session management is essential to prevent session hijacking and other attacks. Secure session management mechanisms such as secure cookies, session timeouts, and re-authentication can help prevent attackers from hijacking user sessions.</p><h3>Regularly Test for Security Vulnerabilities</h3><p><a href="https://forallsecure.com/blog/what-is-api-testing-and-why-is-it-important">It’s important to test your API for vulnerabilities regularly</a>, including before you ship code to production and throughout the development process. API security testing tools perform a variety of tests to identify security vulnerabilities. These tests include <a href="https://forallsecure.com/blog/why-vulnerability-scanning-alone-isnt-enough-for-api-security">vulnerability scanning,</a> SQL injection testing, cross-site scripting (XSS) testing, and broken authentication and session management testing.</p><p>By using these tools, developers can identify and address security vulnerabilities before they can be exploited by attackers. This can help prevent data breaches, unauthorized access to sensitive data, and other security incidents. Additionally, using API security testing tools can help ensure compliance with security regulations and standards.</p><h3>Put Your API Security on Autopilot</h3><p>As you can see, API security requires a lot of work and consideration from developers. And even when following best practices, it’s impossible to prevent all vulnerabilities. That’s why APIs should be regularly tested for security vulnerabilities. The easiest way for developers to do this is to use an <a href="https://forallsecure.com/blog/which-api-testing-is-best-when-to-use-manual-vs-automated-api-testing">automated API testing tool</a> that integrates directly into their existing development process.</p><p>Mayhem is a security testing solution that we built specifically for developers. It runs continuously in the background and eliminates the need for manual test generation, putting your API security on autopilot. <a href="https://get.mayhem.security/get-mayhem-api">Try it free for 30 days.</a></p><p><em>Originally published at </em><a href="https://forallsecure.com/blog/api-security-101-for-developers-how-to-easily-secure-your-apis"><em>https://forallsecure.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fad7c7db81b4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mayhem-security/api-security-101-for-developers-how-to-easily-secure-your-apis-fad7c7db81b4">API Security 101 for Developers: How to Easily Secure Your APIs</a> was originally published in <a href="https://medium.com/mayhem-security">Mayhem by ForAllSecure</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 2023 National Cybersecurity Strategy Shifts Responsibility onto Software Vendors]]></title>
            <link>https://medium.com/mayhem-security/the-2023-national-cybersecurity-strategy-shifts-responsibility-onto-software-vendors-b774e6d639c2?source=rss----99d1a806f683---4</link>
            <guid isPermaLink="false">https://medium.com/p/b774e6d639c2</guid>
            <dc:creator><![CDATA[Robert Vamosi]]></dc:creator>
            <pubDate>Tue, 28 Mar 2023 17:43:18 GMT</pubDate>
            <atom:updated>2023-03-22T15:29:41.602Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ok6T1NXg9eQXPmNfnk8loA.png" /></figure><p>Of course it doesn’t go far enough, but the Biden-Harris Administration’s 2023 National Cybersecurity Strategy is a good first step. Rather than carrying forth the strategies of previous administrations, Biden-Harris considered the problem of defending the US in cyberspace holistically. For example, why put so much effort in defending bad software when you can (and should) fix it at the vendor level?</p><p>One of the more radical proposals in the new strategy is just that: shift the liability for data breaches and ransomware toward the software that made these attacks possible. Of course, the software industry will say that you can’t predict unknown or zero days. (Actually, you can, using security solutions like Mayhem, which find both known vulnerabilities and the unknown vulnerabilities often responsible for zero days.)</p><h3>What is the Biden-Harris 2023 National Cybersecurity Strategy?</h3><p>Released on March 3, 2023, the Biden-Harris 2023 National Cybersecurity Strategy is an attempt to update national strategy around cyberspace. This includes fundamental shifts in how the private sector, peer-competitor states, and nonstate actors navigate around and with each other.</p><p>Here are a couple of key takeaways. The new strategy:</p><h3>Shifts Cybersecurity Responsibility Onto Software Vendors</h3><p>Fundamentally, the strategy includes the much-needed beginnings of an ambitious shift in US cybersecurity policy. The strategy’s greatest shift is toward liability for software vendors. That means that liability for future data breaches and ransomware can be tied back to the software vendors themselves, incentivizing them to secure their software on release and to provide regular updates for that software post-release.</p><p>Currently, only the organizations using the software are held accountable for any breaches. This is not to say that organizations are off the hook with the new strategy. Rather, it seeks to share the liability.</p><p>By sharing the liability with the original software vendors, this strategy will enforce the use of best practices to be followed in the development lifecycle of that software. This includes the use of new technologies such as Mayhem which finds both known and unknown vulnerabilities without the need for source code and provides prioritized and actionable results.</p><h3>Reinforces the Need for More Public-Private Partnerships</h3><p>The strategy also reinforces the need for more public-private partnerships and to remove the existing silos of information where it makes sense.</p><p>As an example, eighteen months ago, Jen Easterly, Director of the Cybersecurity and Infrastructure Security Agency or CISA, <a href="https://forallsecure.com/blog/jen-easterly-takes-charge-of-cisa-at-black-hack-usa-2021">announced the Joint Cyber Defense Collaborative or JCDC at Black Hat 2021</a>. Launch partners included Amazon Web Services, AT&amp;T, CrowdStrike, FireEye Mandiant, Google Cloud, Lumen, Microsoft, Palo Alto Networks, and Verizon. Perhaps this is a model for the rest of the industry and government to follow.</p><h3>Looking Forward</h3><p>The Atlantic Council, a Washington think tank, has provided <a href="https://www.atlanticcouncil.org/content-series/tech-at-the-leading-edge/the-us-national-cybersecurity-strategy-mark-up/">a markup with expert commentary </a>by Jeff Moss, Katie Nickels, Marc Rogers, Chris Wysopal (Weld Pond), and Danielle Jablanski. The experts conclude that “the strategy offers the much-needed beginnings of an ambitious shift in US cybersecurity policy, but it often falls short on implementation details and addressing past failures.”</p><p>Indeed, the details remain to be worked out. However, at least having a strategy that advances the discussion and highlights the concerns is a major step forward.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b774e6d639c2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mayhem-security/the-2023-national-cybersecurity-strategy-shifts-responsibility-onto-software-vendors-b774e6d639c2">The 2023 National Cybersecurity Strategy Shifts Responsibility onto Software Vendors</a> was originally published in <a href="https://medium.com/mayhem-security">Mayhem by ForAllSecure</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Reasons Developers Should Shift Left for API Security]]></title>
            <link>https://medium.com/mayhem-security/3-reasons-developers-should-shift-left-for-api-security-b0c69f9579f7?source=rss----99d1a806f683---4</link>
            <guid isPermaLink="false">https://medium.com/p/b0c69f9579f7</guid>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[security-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[developer-tools]]></category>
            <dc:creator><![CDATA[Debra Hopper]]></dc:creator>
            <pubDate>Tue, 21 Mar 2023 20:01:47 GMT</pubDate>
            <atom:updated>2023-03-21T20:01:47.089Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ihf0Az1THm0uJ8Zf" /></figure><p>Shifting left for API security has many benefits. It allows developers to produce better code, catch API issues earlier in the development cycle, and get their work done faster.</p><p>In order to build API security testing into the development process naturally, use a shift left approach along with an automated API tester, such as <a href="https://forallsecure.com/mayhem-for-api">Mayhem for API </a>.</p><h3>What Is Shifting Left?</h3><p>Shifting left is the process of testing the quality and performance of software earlier in the development cycle. Instead of having a separate testing phase before software deployment, shift left testing is done as a continuous process throughout development.</p><h3>What Is Mayhem for API?</h3><p>Mayhem for API is an API testing tool that uses <a href="https://forallsecure.com/resources/ultimate-guide-to-fuzz-testing">fuzzing automation technology </a>to give developers detailed API testing results in less than five minutes. You can use Mayhem for API to test for API defects with each commit or build.</p><h3>3 Reasons Developers Should Shift Left for API Security</h3><h3>1. Produce Software With Fewer Defects</h3><p>In the traditional software development life cycle (SDLC), all testing occurs just before the deployment phase. However, this is the point where the software has the largest API attack surface. A shift left approach gives you more time to discover vulnerabilities, since testing occurs throughout the entire development process.</p><p><strong>How Mayhem for API Can Help:</strong></p><p>Mayhem for API gives you the opportunity to build a secure API from your earliest commit.</p><p>Running directly in your command line, Mayhem for API generates a security report in less than five minutes. Detailed documentation about API issues can be viewed in the application, where each issue is tagged, cross-referenced with the latest specs, sorted by the path it was found in, and assigned a severity score for easy remediation.</p><h3>2. Identify API Bugs Sooner</h3><p>Since shift left testing happens throughout the DLC (development life cycle), developers are able to identify vulnerabilities earlier in the process, when they are easier to remediate.</p><p><strong>How Mayhem for API Can Help:</strong></p><p>Mayhem for API flags your API defects in real time, <a href="https://forallsecure.com/blog/github-code-scanning-integration-with-mayhem-for-api">commit-by-commit or build-by-build </a>, and provides you with context for each issue, including:</p><ul><li>Hints that describe the problem</li><li>Potential remediation techniques</li><li>Fast tips on how to resolve critical errors</li></ul><p>Using a shift left approach means there is not a separate testing phase before deployment. This lets development teams avoid bottlenecks in the DLC and bring software to market faster.</p><p><strong>How Mayhem for API Can Help:</strong></p><p>You can save even more time by letting Mayhem for API take on the bulk of API testing. While you might eventually be able to find API issues manually with random requests, Mayhem for API will find them much faster and can run in the background while you work on solving high-level problems for your clients.</p><h3>Try Mayhem for API Free</h3><p>Using Mayhem for API is the easiest way to integrate API testing into your CI/CD pipeline. <a href="https://mayhem4api.forallsecure.com/signup">Try Mayhem for API free for 30 days </a>and see how easy it is to shift left for API security.</p><p><em>Originally published at </em><a href="https://forallsecure.com/blog/3-reasons-developers-should-shift-left-for-api-security"><em>https://forallsecure.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0c69f9579f7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mayhem-security/3-reasons-developers-should-shift-left-for-api-security-b0c69f9579f7">3 Reasons Developers Should Shift Left for API Security</a> was originally published in <a href="https://medium.com/mayhem-security">Mayhem by ForAllSecure</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Which API Testing Is Best: When To Use Manual vs. Automated Testing]]></title>
            <link>https://medium.com/mayhem-security/which-api-testing-is-best-when-to-use-manual-vs-automated-testing-b467d852a317?source=rss----99d1a806f683---4</link>
            <guid isPermaLink="false">https://medium.com/p/b467d852a317</guid>
            <category><![CDATA[api-testing]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[security-testing]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Debra Hopper]]></dc:creator>
            <pubDate>Tue, 21 Mar 2023 19:58:39 GMT</pubDate>
            <atom:updated>2023-03-21T19:58:39.483Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JtoOe6S8MUuJtgYq" /></figure><p>Which API testing is best for you largely depends on the type and complexity of the APIs being tested. If you’re dealing with a basic API that mainly performs CRUD (Create, Read, Update, Delete) operations, then simple manual testing may be sufficient.</p><p>However, if the API is more complex or requires loads of data manipulation to get the results you’re after, then an automated API testing tool is the way to go. It’s easier to implement automated testing than it is to run manual tests over and over. You should conduct automated testing if you’re <a href="https://forallsecure.com/blog/when-api-testing-is-required-and-industry-specific-api-standards">testing in a regulated environment</a>, handling sensitive data, or working on a large project.</p><p>Overall, <a href="https://forallsecure.com/blog/what-is-api-testing-and-why-is-it-important">API testing is an important part of the development process</a> and should not be overlooked. With the right combination of manual and automated API testing, you can ensure your APIs are functional, secure, and perform as they should.</p><h3>Is API testing manual or automated?</h3><p>API testing can be either manual or automated.</p><p>Manual API testing involves manually sending requests to an application’s interface and verifying the responses, while automated API testing utilizes specialized software tools to send requests and validate responses.</p><p>Automation is generally recommended for larger projects that require comprehensive and frequent testing. Automation allows development teams to quickly run tests when changes are made and easily track results over time.</p><p>However, manual testing can still be useful when dealing with smaller projects or when testing individual features, and is good for those just getting started, as it can help you better understand the process of API testing. While you should weigh the pros and cons of both approaches, for most development teams, the benefits of automated testing far outweigh those of manual testing.</p><h3>Can API testing be done manually?</h3><p>Yes, API testing can be done manually. Manual API testing takes more time and effort than automated testing and involves sending requests to the application’s interface and verifying the responses.</p><h3>How does manual testing work?</h3><p>Testing an API manually is a skill that requires practice and patience. Before diving in, you should familiarize yourself with the fundamental concepts of API testing.</p><p>To test an API manually, you’ll need a tool that allows you to make requests and view responses from the API. Popular tools for manual testing include Postman and SoapUI.</p><p>Once your chosen tool is set up, it’s time to formulate your test plan. First, decide what conditions you wish to test against and what criteria should be met for a successful test. Then, create an environment in which to test your API from start to finish, taking into account the input parameters and functional requirements.</p><p>When you begin testing, it’s important to identify any errors or unexpected behaviors that arise during the process. Make sure to collect any data related to those errors such as log files, screenshots and any other relevant information.</p><p>Finally, track the progress of your test using a bug tracking system like JIRA to identify errors, security vulnerabilities and performance issues.</p><h3>Can API testing be automated?</h3><p>Yes, API testing can be automated. Automated API testing utilizes specialized software tools to send requests and validate responses. Automated testing involves all of the same steps as manual testing, but eliminates the need to do every step manually. Automated API testing requires much less effort than manual testing, and is both more cost-effective and efficient, allowing you to run more tests in less time.</p><p>Another huge advantage of automated API testing is that it can be easily integrated into your CI/CD pipeline, allowing teams to quickly run tests when changes are made and easily track results over time.</p><h3>How does automated testing work?</h3><p>When testing an API automatically, you will need to use an API Testing Tool. These tools allow you to create tests and run them automatically.</p><p>There are many different API Testing Tools available, so it is important to choose one that is right for your project. Some factors you may want to consider include the cost, the features that it offers, and the level of support available. The best solution will allow for ease of integration, security and performance testing in one, and support for API testing standards like <a href="https://owasp.org/www-project-api-security/">OWASP’s API Top 10</a>.</p><p>Once you have selected an API Testing Tool, you can begin testing your API automatically. The tool will allow you to create tests for different parts of the API, such as authentication, input validation, response codes, etc. Ideally, your chosen tool will generate the tests and inputs for you, further automating the process. You can also use the tool to create tests for different scenarios, such as testing for errors or specific responses. Once you have created the tests, it is time to run them.</p><p>Automatic testing allows you to quickly check your API to ensure that it’s secure, reliable and performs the way it should. By testing your API automatically, you will be able to quickly identify any issues in your application and fix them before they become a problem.</p><p>Automated testing allows developers to focus on improving the user experience, rather than spending time writing tests. This makes it easier to ensure that users have a seamless experience with your application.</p><h3>What to Look For in an Automated API Testing Tool</h3><p>When choosing an automated API testing tool, look for one that easily integrates with your existing development pipeline and allows you to quickly and seamlessly run tests whenever new functionality is added or changes are made. With the right tool, development teams can test their APIs quickly and efficiently, allowing them to focus on more important tasks.</p><p><strong>Some of the key features you should look for include:</strong></p><ul><li><strong>Automated test creation and running:</strong> The ability to create tests and run them automatically, making testing easier and faster.</li><li><strong>Security testing</strong>: The ability to check for security vulnerabilities in the API and make sure that it is secure.</li><li><strong>Performance testing</strong>: The capacity to test the speed and performance of an API, ensuring it performs as expected under different scenarios.</li><li><strong>Integration with existing development tools</strong>: If you are using a version control system or continuous integration platform, look for a tool that integrates with them.</li><li><strong>Documentation and support</strong>: Look for an API Testing Tool that offers good documentation and support in case you have any questions or issues.</li><li><strong>Easy to use and understand</strong>: The benefits of automation quickly vanish if your tool has a steep learning curve. An intuitive API Testing Tool allows developers to quickly become proficient with it so they can focus on writing code.</li></ul><h3>Mayhem: Our Recommendation for an Automated API Testing Solution</h3><p>Mayhem is an excellent solution for automated API testing, offering all of the above features and more, such as:</p><ul><li><strong>Noise cancellation and finding deduplication</strong>: Mayhem bucketizes findings so you can focus on core issues and don’t waste time with hundreds of reports for the same finding.</li><li><strong>Easy integration with existing development tools</strong>: Mayhem integrates with popular source code management systems to automatically test each pull request.</li><li><strong>Ridiculously Easy to Use</strong>: Mayhem gives you meaningful testing results within 5 minutes. Mayhem’s simple integrations with development and build pipeline solutions allow you to focus on testing results, not the process of conducting the testing.</li><li><strong>Free 30 day trial</strong>: Try Mayhem for free for 30 days to ensure that it’s the right tool for your team.</li></ul><p><a href="https://get.mayhem.security/get-mayhem-api">Get Mayhem for API Free</a></p><p><em>Originally published at </em><a href="https://forallsecure.com/blog/which-api-testing-is-best-when-to-use-manual-vs-automated-api-testing"><em>https://forallsecure.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b467d852a317" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mayhem-security/which-api-testing-is-best-when-to-use-manual-vs-automated-testing-b467d852a317">Which API Testing Is Best: When To Use Manual vs. Automated Testing</a> was originally published in <a href="https://medium.com/mayhem-security">Mayhem by ForAllSecure</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When API Testing Is Required and Industry-Specific API Standards]]></title>
            <link>https://medium.com/mayhem-security/when-api-testing-is-required-and-industry-specific-api-standards-861651c8b622?source=rss----99d1a806f683---4</link>
            <guid isPermaLink="false">https://medium.com/p/861651c8b622</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[security-testing]]></category>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[devsecops]]></category>
            <dc:creator><![CDATA[Debra Hopper]]></dc:creator>
            <pubDate>Tue, 21 Mar 2023 19:40:31 GMT</pubDate>
            <atom:updated>2023-03-21T19:39:18.028Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z5LIVmafIh_2GIzP" /></figure><p>In last week’s post we talked about <a href="https://forallsecure.com/blog/what-is-api-testing-and-why-is-it-important">what API testing is and why it’s important </a>. In this week’s post, we’ll talk about when API testing is required and industry-specific API standards.</p><h3>When is API testing required?</h3><p>As a whole, API testing is not regulated, so it isn’t legally required in most cases. API security is a fairly new field, so while there aren’t currently many regulations around how APIs are built and secured, conducting API testing is still an important part of your development process. API testing can save your development team time and money, as well as ensure that your software is secure and reliable.</p><p><a href="https://get.mayhem.security/get-mayhem-api">Get Mayhem for API Free</a></p><h3>API Testing Requirements</h3><p>Depending on what type of data is being exchanged by an API, the API may need to undergo further testing for compliance. In the United States, organizations must comply with the , for online services directed to children under thirteen, and California’s Consumer Privacy Act ( ). It’s important for development teams to pay close attention to all relevant regulations and test their APIs appropriately.</p><p>APIs also need to follow industry-specific laws and regulations since there are different needs and concerns across industries. These industry-specific regulations will influence what steps your development team needs to take when testing APIs.</p><p>Below, we will explore API standards in healthcare, automotive, and financial services, but these are only a few examples of industry-specific API standards.</p><h3>Healthcare API Standards</h3><p>APIs, <a href="https://www.pewtrusts.org/en/research-and-analysis/reports/2021/01/standard-technology-presents-opportunities-for-medical-record-data-extraction">according to Ben Moscovich </a>, project director of Health Information Technology at Pew Charitable Trusts, have “the potential to make healthcare more efficient, lead to better care coordination, and give providers and patients additional tools to access information and ensure high-quality, efficient, safe, and value-based care.”</p><p>While APIs haven’t been adopted by most healthcare systems until recently, the <a href="https://www.healthit.gov/topic/oncs-cures-act-final-rule">21st Century Cures Act </a>now requires healthcare providers to allow the easy exchange of health data for patients in order to be able to participate in the Medicare program. To accomplish this, many healthcare providers are turning to the power of APIs for this easy exchange of patient data.</p><h3>Healthcare API Standards</h3><p>is the largest compliance requirement in the United States for healthcare applications. Any API used within healthcare applications needs to be tested for compliance by ensuring that protected health information is properly secured with the correct authentication protocols in place and by limiting what types of requests can access what types of data.</p><p>The healthcare industry’s standard “instruction manual” for APIs is , or the Fast Healthcare Interoperability Resource, which is the standard set by the 21st Century Cures Act to accomplish healthcare data exchange. FHIR is implementation-focused, so it’s easy for development teams to use to produce working interfaces quickly. FHIR specification is free for use with no restrictions. <a href="https://www.hl7.org/fhir/modules.html">Get started with FHIR here </a>.</p><p>HL7 develops and publishes the FHIR standards. They also provide services to support FHIR’s implementation, such as guides, programs, and testbeds. FHIR is now both a U.S. and global standard, with full documentation in English, Russian, Chinese, and Japanese. <a href="https://www.hl7.org/fhir/modules.html">Learn more FHIR standards and the federal regulations here </a>.</p><h3>Automotive API Standards</h3><p>Many automotive manufacturers still use <a href="https://www.edibasics.co.uk/edi-by-industry/the-automotive-industry/">EDI, or Electronic Data Interchange </a>, more than APIs to transfer electronic data, but this is changing.</p><p>APIs are used to integrate mobile apps with your vehicle’s user interface, enabling users to answer phone calls, play music, and view mobile apps on the car’s screen through integrations like Apple CarPlay.</p><p>APIs are also used with VIN and license plate identification services and vehicle data history services like CARFAX. Many car manufacturers have their own applications that tell you when service is due and communicate other information to users, such as when tire pressure is low.</p><h3>Automotive API Standards</h3><p>, the Organization for Data Exchange by Tele Transmission in Europe, is responsible for the EDI standards followed by many manufacturers in the automotive industry around the world. These standards define what should be tested before releasing an application and other aspects of data exchange between vehicles and vehicle systems.</p><p><a href="https://www.odette.org/news/story/odette-launches-api-expert-group">ODETTE recently formed an API Expert group </a>to develop a standardized approach to the implementation of REST APIs in the automotive supply chain. The goal of this group is to extend ODETTE’s successful EDI standardization to APIs.</p><p>In North America, ODETTE’s equivalent is AIAG, or the Automotive Industry Action Group, but currently no API standards exist within AIAG.</p><h3>Finance API Standards</h3><p>APIs have played a large role in customer’s expanded access to their financial data in recent years. APIs allow users to easily and safely share and access their financial data across many financial providers, and play a role in banking, investment, budgeting, and third-party payment apps.</p><h3>Finance API Standards</h3><p>In North America, API standards in the financial industry have come around as more of a market-driven need for standardized APIs across the financial industry and have limited government regulation. Having standardized APIs benefits financial institutions and users, allowing for more secure and reliable data access across the industry.</p><p>, or Financial Data Exchange, a non-profit industry, is the main organization that has stepped in to create an API standard for the U.S. and Canada. They are the creators of the , “a common, interoperable and royalty-free technical standard for user-permissioned financial data sharing”. The FDX API is free to access and use.</p><p>Members of FDX are financial service stakeholders that drive the APIs co-chair working groups and task forces and make decisions about how to build and implement the FDX API. Members include over 100 fintech firms and fintech stakeholders, nine of the top ten U.S. banks and all six of the top Canadian banks.</p><p>As of October 2022, 42 million consumer accounts were using FDX API for open finance data sharing, up from 32 million in June 2022.</p><h3>The Future of API Testing Standards</h3><p>Standards for API testing are beneficial to development teams, because standardized APIs work across software systems and organizations and can be built once and reused many times. They are also beneficial to users, because they provide safer data transfer and a consistent user experience.</p><p>These benefits will likely lead companies to adopt common API standards even without legal regulation, as has already happened in the financial and automotive industry.</p><h3>API Testing Made Easy</h3><p>​​Mayhem automatically creates and runs thousands of API tests that can help you ensure you’re complying with industry best practices. Mayhem works within a single platform to find, filter, and prioritize any found vulnerabilities for your team. <a href="https://get.mayhem.security/get-mayhem-api?_gl=1*pcqkn8*_ga*NDA5NzMxODA3LjE2NjUxNTQ3MTE.*_ga_7GV139V4R7*MTY3Njk4ODkxOC4yMTcuMS4xNjc2OTg4OTIwLjU4LjAuMA..">Try Mayhem for free for 30 days </a>, and see how you can have complete API security quickly and easily.</p><p><em>Originally published at </em><a href="https://forallsecure.com/blog/when-api-testing-is-required-and-industry-specific-api-standards"><em>https://forallsecure.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=861651c8b622" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mayhem-security/when-api-testing-is-required-and-industry-specific-api-standards-861651c8b622">When API Testing Is Required and Industry-Specific API Standards</a> was originally published in <a href="https://medium.com/mayhem-security">Mayhem by ForAllSecure</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is API Testing and Why Is It Important?]]></title>
            <link>https://medium.com/mayhem-security/what-is-api-testing-and-why-is-it-important-20556a73f441?source=rss----99d1a806f683---4</link>
            <guid isPermaLink="false">https://medium.com/p/20556a73f441</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[api-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security-testing]]></category>
            <dc:creator><![CDATA[Debra Hopper]]></dc:creator>
            <pubDate>Tue, 21 Mar 2023 19:26:01 GMT</pubDate>
            <atom:updated>2023-03-21T19:29:53.229Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kXf6wN0r4BjKqiLY" /></figure><p>APIs share data and enable communication between everything connected to the internet. API testing ensures that these connections work as intended and that the information carried by APIs remains secure.</p><h3>What is API testing?</h3><p>API testing is a type of software testing that tests application programming interfaces (APIs). API testing helps developers identify bugs within the API and optimize its performance, functionality, reliability, and security.</p><h3>What is an API?</h3><p>API stands for application programming interface. APIs share data and enable communication between different applications and software systems within set parameters.</p><p>APIs connect and carry information between everything connected to the internet, from your smartphone to your car. Many everyday digital actions include the use of APIs, from checking the weather within your weather app to making purchases. Any time you ask one application or website to call information from another website, it is an API that pulls that information.</p><p>One example of an API at work is when you “log in with Google” or “log in with Facebook” to an outside website. An API provides information to identify you to the website without giving it your Google log-in information.</p><p>Similarly, it is APIs that allow you to pay for online purchases with third-party payment methods like PayPal. When you “pay with PayPal”, an API communicates your user information, the amount owed, and confirms your purchase with PayPal and communicates back to the site you’re buying from that you’ve paid.</p><h3>Why API Testing Is Important</h3><p>Api testing is critical to ensure that connections between platforms are reliable, safe, and scalable. API testing validates that the API performs as expected, and, more importantly, doesn’t act in unexpected ways that may increase the risk of an exploit.</p><p>API testing is especially important because if an API breaks due to undetected errors, you run the risk of not only breaking your app, but an entire chain of software that uses it. Undetected API errors create bad user experience across the software chain and open the door for malicious actors to gain access to sensitive data carried by the API.</p><p>API testing checks for bugs such as duplicate functionality, improper messages, incompatible error handling, and security, reliability, and performance issues. API testing involves running multiple types of tests which check for different issues, including:</p><h3>Validation testing</h3><p>Validation testing checks that the API behaves as expected and runs efficiently.</p><h3>Functional testing</h3><p>Functional testing ensures that the API returns the right response for a given request and makes sure that it handles certain scenarios well within the planned parameters.</p><h3>Reliability testing</h3><p>Reliability testing ensures the API produces consistent test results and can be connected to consistently.</p><h3>Load testing</h3><p>Load testing measures how many calls an API can handle and monitors the API’s performance at expected normal and peak conditions.</p><h3>Security testing</h3><p>Security testing checks that the API is secure against external threats. Security testing methods include fuzz testing and penetration testing. Security testing also includes steps like validation of encryption methodologies and API access control.</p><h3>Runtime and error detection testing</h3><p>This type of testing evaluates the actual running of the API, focusing on monitoring, execution errors, resource leaks, or error detection</p><h3>Benefits of API Testing</h3><p>Overall, investing time into API testing is beneficial for both development teams and their customers. API testing creates a better user experience and improves software security.</p><h4>Improved Reliability and Customer Satisfaction</h4><p>By identifying any flaws or bugs in an API before it goes live, teams can provide a better experience for their users from day one and reduce unexpected downtime which could otherwise have a negative impact on customer experience.</p><h4>Improved Security</h4><p>API security testing is especially important because of the increasingly important user data carried by APIs. API testing can reveal vulnerabilities in the application’s architecture, allowing development teams to fix them before malicious actors can exploit them and gain access to sensitive data.</p><h3>When should you API test?</h3><p>API testing should begin early in the development cycle and be conducted as a continuous process throughout development. By testing APIs throughout the development process, teams can ensure that what they’re building works as intended and is of a high quality. This method of testing software earlier in the development cycle is known as shifting left.</p><p><a href="https://forallsecure.com/blog/3-reasons-developers-should-shift-left-for-api-security">When API testing is shifted left, the benefits are even greater </a>, saving developers time and money. The benefits of early API testing include:</p><h4>Ship Software Faster</h4><p>Having automated tests in place early on allows teams to quickly identify what needs to be addressed or changed in the API and perform fixes before code is released to production.This helps to speed up development cycles.</p><p>Time may also be saved in the future by testing APIs regularly and ensuring they are able to scale effectively as usage increases and new features are added over time.</p><h4>Reduce Costs</h4><p>Early API testing allows teams to fix bugs before they become serious problems. The earlier in the process an error is found, the less expensive and more quickly it is able to be dealt with. If issues can be fixed before UI testing begins, they won’t affect production, so conducting API testing early saves development teams money in the long run.</p><h3>Mayhem for API Testing</h3><p>The easiest way to conduct API testing throughout the development process is by using an automated API testing tool like Mayhem. Mayhem automatically creates test cases and integrates seamlessly into your continuous integration pipelines, making it easy to conduct API testing at speed and scale.</p><p><a href="https://get.mayhem.security/get-mayhem-api">Get Mayhem for API Free</a></p><p><em>Originally published at </em><a href="https://forallsecure.com/blog/what-is-api-testing-and-why-is-it-important"><em>https://forallsecure.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20556a73f441" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mayhem-security/what-is-api-testing-and-why-is-it-important-20556a73f441">What Is API Testing and Why Is It Important?</a> was originally published in <a href="https://medium.com/mayhem-security">Mayhem by ForAllSecure</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>