fix(security): remove hardcoded password from agent protocols
- Replace hardcoded password with environment variables - Add .env.example template for secure configuration - Update .gitignore to prevent committing secrets - Add os import for environment variable support Fixes critical security vulnerability in agent message protocol
This commit is contained in:
11
.gitignore
vendored
11
.gitignore
vendored
@@ -245,13 +245,20 @@ config.json
|
||||
secrets.json
|
||||
|
||||
# Temporary files
|
||||
>>>>>>> Stashed changes
|
||||
*.tmp
|
||||
*.temp
|
||||
*.bak
|
||||
*.backup
|
||||
|
||||
<<<<<<< Updated upstream
|
||||
# ===================
|
||||
# Environment Files
|
||||
# ===================
|
||||
.env
|
||||
.env.local
|
||||
.env.production
|
||||
*.env
|
||||
.env.*.local
|
||||
|
||||
# ===================
|
||||
# Windsurf IDE
|
||||
# ===================
|
||||
|
||||
Reference in New Issue
Block a user