//Azure DevOps - Security Testing Guide (Ado-STG)/Secrets

Testing for Issues Related to Secrets


ID: AdoSTG-SE-01
If you need help assessing the security of your Azure DevOps or organization, we offer a wide range of security services. So, always feel free to reach out at: Sales@enterprisesoftproducts.com
NOTICE: The Azure DevOps - Security Testing Guide (Ado-STG) is currently in BETA; this means that there might be substantial changes and some parts may contain errors or not be fully implemented.

1 - Summary

Secrets in plaintext are one of the enduring issues for cybersecurity. Azure DevOps furthermore introduces several ways in which a developer can expose secrets, credentials, tokens, etc. Most of these issues revolve around either hardcoding secrets in files or implementing functionality that prints secrets stored in the .env file to somewhere accessible to an attacker.

2 - Test Objectives

3 - How to Test

4 - Remediation

To remediate these issues, please avoid using commands that expose secrets in stdout and logs. Additionally, please refrain from hardcoding credentials anywhere.

5 - References