Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Crafting Secure Software

You're reading from   Crafting Secure Software An engineering leader's guide to security by design

Arrow left icon
Product type Paperback
Published in Sep 2024
Publisher Packt
ISBN-13 9781835885062
Length 156 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
GitGuardian SAS GitGuardian SAS
Author Profile Icon GitGuardian SAS
GitGuardian SAS
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Chapter 1: Introduction to the Security Landscape 2. Chapter 2: The Software Supply Chain and the SDLC FREE CHAPTER 3. Chapter 3: Securing Your Code-Writing Tools 4. Chapter 4: Securing Your Secrets 5. Chapter 5: Securing Your Source Code 6. Chapter 6: Securing Your Delivery 7. Chapter 7: Security Compliance and Certification 8. Chapter 8: Best Practices to Drive Security Buy-In 9. Other Books You May Enjoy Appendix: Glossary of Acronyms and Abbreviations: Index

Secrets in artifacts

Secrets in artifacts are one more thing that you need to watch out for because they are tougher to extract than from other sources. Artifacts are the images and applications produced by a compiler and/or build process. These can range from something as large as a container or virtual machine (VM) image to something as small as a plugin for VS Code.

How do secrets end up in artifacts?

Some people think that once packed up in an artifact, any secrets are beyond extraction. But that’s not the case at all.

If you go back to Chapter 3, Securing Your Code-Writing Tools, a process was explained for getting under the hood of a VS Code plugin. All you have to do is change the .vsix extension to .zip and use an unzipping tool to get access to the source code. We recommended using SCA, SAST, and/or DAST tools to evaluate the code for security issues. But what if there’s a secret in that source, too? If it’s not your secret, you might think it...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime