auto-claude: 2.3 - Replace hardcoded password in scripts/social_media_audit.py with safe fallback
This commit is contained in:
parent
4cb505f21c
commit
b4dcca6d55
@ -62,9 +62,12 @@ logging.basicConfig(
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Database configuration
|
||||
# WARNING: The fallback DATABASE_URL uses a placeholder password.
|
||||
# Production credentials MUST be set via the DATABASE_URL environment variable.
|
||||
# NEVER commit real credentials to version control (CWE-798).
|
||||
DATABASE_URL = os.getenv(
|
||||
'DATABASE_URL',
|
||||
'postgresql://nordabiz_app:NordaBiz2025Secure@127.0.0.1:5432/nordabiz'
|
||||
'postgresql://nordabiz_app:CHANGE_ME@127.0.0.1:5432/nordabiz'
|
||||
)
|
||||
|
||||
# Request configuration
|
||||
|
||||
Loading…
Reference in New Issue
Block a user