logo

Database

Azure Ai Translator Legacy Api Key

Description

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

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

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

Vulnerable code example

TEXT_TRANSLATOR_KEY=a2d9f6c3e8b1a7d4f0c5e2b9a6d3f8c1
BING_TRANSLATOR_KEY=d5c8a1f4e7b0d3a6c9f2e5b8a1d4c7f0
AZURE_DOCUMENT_TRANSLATION_KEY=b1e6c9f2a5d8b3e7c0f4a9d2e6b8c1f5
TRANSLATION_API_KEY=e9c2f5a8d1b4e7c0a3f6d9b2e5c8a1f4
self.translator_key = 'e4a7c2f9b1d8e6a3c5f0b7d2e9a4c6f1'
VITE_AZURE_TRANSLATOR_KEY=f3b8d1e6a9c4f7b2e5d0a8c3f6b9e1d4
python translate.py --translator-key=c3f8a1d6e9b4c7f2a5d0e8b3c6f9a1d4
AZURE_TRANSLATOR_KEY=4f21f7c5c7279feebc99b86956732a24...