-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Priority: HIGH
Severity: Security Risk
Identified in: Design QA Review (2026-01-10)
Location: login.html:239-245
Description
Development credentials are hardcoded and visible in the production login page HTML. This creates a significant security risk and must be removed before any production deployment.
Current Code
<div class="info-box">
<h3>ℹ Development Credentials</h3>
<ul>
<li>admin / ChangeMe123!</li>
<li>auditor / TestAuditor123!</li>
<li>compliance / TestCompliance123!</li>
</ul>
</div>Security Risks
- Credential Exposure: Anyone viewing page source can see these credentials
- Production Risk: If these credentials match actual accounts, system is compromised
- Professional Risk: Gives impression of incomplete/insecure development
- Compliance Risk: Violates security best practices for enterprise software
Recommended Solution
Option 1: Environment-Based Display (Recommended)
// Only show in development environment
if (window.ENV === 'development') {
// Show dev credentials
}Option 2: Complete Removal
Remove the entire info-box section from production builds
Option 3: Feature Flag
Use build-time conditional to include only in demo/dev builds
Acceptance Criteria
- Development credentials info-box removed from production code
- If kept for demos, only shown in dev environment via configuration
- Production build verified to not contain any credential references
- Page source inspected to confirm no credentials visible
Files to Update
login.html(lines 239-245)
Related Issues
- #[issue-number-for-environment-config] (will be created)
Labels
security, high-priority, production-blocker