logo

Database

Azure Ai Face Api Key

Description

The source code repository contains sensitive information: Azure AI Face API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    • Matches Azure AI Face API Key patterns in source code and configuration files

Vulnerable code example

AZURE_FACE_KEY=DOPiaxqYQLIPjBk4dYeQuz0bd4Ff96gAitMkRdkYyzKDxbT78PwwJQQJ99SGPhowFYFbYAGnAAAKACOGAyVg
client = FaceClient(endpoint, AzureKeyCredential("IlRcrvNdCmrD7D7k5wlU4aqVvoacM89FbtWZNoGDMq63ks2r6FRRJQQJ99nLrpQRi2AoA8IMAAAKACOG57Vz"))
headers = {'Ocp-Apim-Subscription-Key': 'K3WJvwTIbS4X34HWxgvt5QHMhHRypzuQiftRVO5wbEBlPvou6awrJQQJ99mLAn4FRkCL0pC0AAAKACOGZoHV'}
key1: yPP8IQvTtEwtinHpcXr6Ly23thN0LWzMqzxxyYkmp8GdZ2YwTsi1JQQJ991DU1IcYmmY58VHAAAKACOGb4wEAb==