logo

Database

Dify Api Key

Description

The source code repository contains sensitive information: Dify API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    Matches Dify API Key patterns in source code and configuration files

Vulnerable code example

DIFY_API_KEY=app-yufQq1vEs336l4r2R5zx4fwo
dify_api_key: "app-Kj9mPz2QxTw4vNc8yLr6bDsF"
DIFY_AUTHORIZATION_HEADER = "Bearer app-3xQmZk8Wp2Nv6Yr4Ld9Tc7Bs"
client = DifyClient(api_key="app-Rt7YbNq9WmKeVp8LdZx1HoC9")