Django Secret Key

Description

The source code repository contains sensitive information: Django Secret Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    Matches Django Secret Key patterns in source code and configuration files

Vulnerable code example

SECRET_KEY = 'abcdefghijklmnop1234567890!@#$%^&*(-_=+)abcdefghij'
DJANGO_SECRET_KEY: "mnopqrstuvwxyz012345!@#$%^&*(-_=+)abcdefghijklmnop"
SECRET_KEY='abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)ab'
SECRET_KEY = 'AbCdEfGhIjKlMnOpQrStUvWxYz0123456789!@#$%^&*(-_=+)Ab'
SECRET_KEY=abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOP