logo

Database

Azure Ai Document Intelligence Legacy Api Key

Description

The source code repository contains sensitive information: Azure AI Document Intelligence Legacy API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    • Matches Azure AI Document Intelligence Legacy API Key patterns in source code and configuration files

Vulnerable code example

AZURE_DOCUMENT_INTELLIGENCE_KEY=0c283d4d851dac5f987d17459b624b7c
FORM_RECOGNIZER_KEY = "5c4a02f6bd22723fd96ea719928497b2"
azure_doc_intel_key: 4bd11022a81730de98608071322bf5db
const azureFormRecognizerKey = '8a2935ecf21367194581d24c115280fa';
documentIntelligenceApiKey = 'b085d658861b44bd96c74cb3f9d86250'
curl -X GET 'https://myres.cognitiveservices.azure.com/documentintelligence/info?api-version=2024-11-30' -H 'Ocp-Apim-Subscription-Key: b2855445cece968388c8d884c4ddcf0f'