Skip to content

fix: Hardcoded credentials in seed script#48

Open
mrwind-up-bird wants to merge 1 commit intomainfrom
autofix/b8403982/hardcoded-credentials-in-seed-
Open

fix: Hardcoded credentials in seed script#48
mrwind-up-bird wants to merge 1 commit intomainfrom
autofix/b8403982/hardcoded-credentials-in-seed-

Conversation

@mrwind-up-bird
Copy link
Copy Markdown
Collaborator

AutoFix: Hardcoded credentials in seed script

Category: security
Severity: medium

Issue

The admin seeding script contains a hardcoded email address and password. This creates a predictable admin account that could be exploited if the script is run in production environments.

Fix

Replaced hardcoded admin credentials with environment variables (ADMIN_EMAIL and ADMIN_PASSWORD) that have safe defaults. This prevents predictable admin accounts in production while maintaining functionality for development environments.


Generated by nyxCore AutoFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant