logo

Database

Azure Ai Vision Api Key

Description

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

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

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

Vulnerable code example

VISION_KEY=kQNDnXYFFoaxKeXooc9T2McuEh7wjYh5CIvElc1oWm83UVKThDZmJQQJ997C3zwBx9xbfS9EAAAFACOGEIUn
client = ImageAnalysisClient(endpoint, AzureKeyCredential("LIMlkv5vLtgeYWxQP37z97K2Exp2keXVDZdprAkeu38UDp7GTbnZJQQJ99YC2LAK0tHrVaQ7AAAFACOGbKN0"))
headers = {'Ocp-Apim-Subscription-Key': 'Kpz74iffbBi1OhHuEnklxSIcS2WXaCdVkSpRtcyt3sFI6gLFT7tRJQQJ99HIlMumeOA1OMY8AAAFACOGF6QR'}
key1: DF2ebPcrKzAXyuo4OckxLnBNMTLYqDEsxGS4km2SfkGMxU89kAQxJQQJ99LKlfbF673FoQSjAAAFACOGyyCPAb==