logo

Database

Sap Ai Core Secret Key

Description

The source code repository contains sensitive information: SAP AI Core Secret Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    • Matches SAP AI Core Secret Key patterns in source code and configuration files

Vulnerable code example

clientid: sb-4b1e8c27-9d3f-4a60-b5e2-7c9a1f0d3e86!b313091|aicore!b540
clientsecret: 5f2a9c47-1e6b-4d83-a0f9-3b7c2e8d1a64$Tq8-Mz3Wb6Rn1Lc9Vx4Kp7Jh2Gd5Fs0Ya_UeIoAiOkQ=
AICORE_CLIENT_ID=sb-4b1e8c27-9d3f-4a60-b5e2-7c9a1f0d3e86!b313091|aicore!b540
CLIENT_SECRET=8a3d6f19-4c2e-4b75-9e08-d1f7a2c5b936$Tq8-Mz3Wb6Rn1Lc9Vx4Kp7Jh2Gd5Fs0Ya_UeIoAiOkQ=
ENV AICORE_CLIENT_SECRET 3c7e1a94-6b2d-4f58-8a03-e9d5b2f7c140$Tq8-Mz3Wb6Rn1Lc9Vx4Kp7Jh2Gd5Fs0Ya_UeIoAiOkQ=
        - name: AICORE_CLIENT_SECRET
          value: "7e4b2d91-3f6a-4c08-b5e1-a2d9c7f3b864$Tq8-Mz3Wb6Rn1Lc9Vx4Kp7Jh2Gd5Fs0Ya_UeIoAiOkQ="
SAPAICORE_CLIENT_SECRET=1b9e5c73-8d2f-4a46-9c01-f6a3e7d2b958$Tq8-Mz3Wb6Rn1Lc9Vx4Kp7Jh2Gd5Fs0Ya_UeIoAiOkQ=...