logo

Database

Better Auth Secret Key

Description

The source code repository contains sensitive information: Better Auth Secret Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    • Matches Better Auth Secret Key patterns in source code and configuration files

Vulnerable code example

BETTER_AUTH_SECRET=9dd40ffc9fd0bf2ba8fbce2165ceeea2d519a8fd8cef2df6bf8ec6eb38a83564
BETTER_AUTH_URL=http://localhost:3000
BETTER_AUTH_SECRET="0eWclpUa3it67Wrq9SGp/PNeA3phUkwMoLqXPnceOrY="
BETTER_AUTH_SECRET=cYvqRFzmzRxHXut3I2N4uVu0JLgOTAKR
NUXT_BETTER_AUTH_SECRET=cNt/4e9tDzY/5V64xWxEGeYdig9O9daBM8gYdp9dAM0=
export BETTER_AUTH_SECRET='1d8fb8e124a9c58f61e04640a2edfff34a8f5ed53a787480b5bce57e0474c9fb'
npx convex env set BETTER_AUTH_SECRET=lw/tmLfCmqfzETvvz2jjvlxQMpJpRJuFqURgCI7ccmo=
env:...