Chapter 13. Analyzing, Auditing, and Securing Serverless Application Code
In this final chapter, you’ll learn to identify and fix common security vulnerabilities in serverless application code, while leveraging practical tools and techniques to secure your serverless applications. More specifically, you’ll use Semgrep to detect common security issues and risky patterns in your code. After that, you’ll develop a custom script to detect and flag malicious dependencies. Finally, you’ll use OSV-Scanner to identify vulnerable packages and make your development workflow more secure against supply chain attacks. This chapter completes your journey through the world of serverless security by tackling areas earlier chapters didn’t fully address, to help you secure your serverless applications against a wider range of attacks.
We will cover the following in this chapter:
-
“Using Semgrep to Detect Security Issues in Serverless Application Code”
-
“Developing a Custom Script That Detects Malicious Dependencies”
By the end of this chapter (and this book), you’ll be equipped with the knowledge, techniques, and tools to build and secure serverless applications. These will enable you to recognize vulnerabilities and misconfigurations before attackers can exploit them. Without further ado, let’s begin!
Reviewing Technical Prerequisites
For this chapter, you’ll continue using the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access