Overview
Adding authentication credentials to your targets enables MindFort’s red team agents to test authenticated areas of your applications. This provides deeper security coverage by assessing user-specific functionality, protected pages, and authorization controls that would otherwise be inaccessible.Security First: Credentials are encrypted when stored and only transmitted to assessment agents at runtime. However, always use dedicated demo accounts rather than live user credentials.
Why Authentication Matters
Enhanced Assessment Coverage
Without Authentication:- Testing limited to public pages and endpoints
- Missing vulnerabilities in user dashboards, admin panels
- No assessment of authorization controls or privilege escalation
- Limited business logic testing
- Comprehensive testing of authenticated user flows
- Assessment of role-based access controls
- Discovery of privilege escalation vulnerabilities
- Testing of user-specific data handling and session management
Red Team Advantage
MindFort’s red team agents can:- Navigate complex authentication workflows
- Test multi-step business processes
- Assess authorization boundaries between user roles
- Identify vulnerabilities in authenticated API endpoints
Authentication Methods
MindFort supports multiple authentication approaches to match your application’s login system.Username & Password Authentication (Recommended)
Best for: Traditional login forms, most web applications1
Create Demo Account
Create a dedicated test account in your application:
- Use a non-sensitive username (e.g.,
mindfort-test-user
) - Set a simple, non-sensitive password
- Assign appropriate permissions for testing scope
- Never use live user accounts or sensitive passwords
2
Add Credentials to Target
In your target configuration:
- Authentication Type: Select “Username & Password”
- Username: Enter your demo account username
- Password: Enter the demo account password
- Login Instructions: Specify where and how to log in (see below)
3
Test Credentials
Verify the credentials work by manually logging in before starting assessments
Security Best Practice: Always create dedicated demo accounts for security testing. Never use real user accounts, admin credentials, or passwords that are used elsewhere.
Magic Link Authentication
Best for: Applications using Stytch, Auth0, or similar providers with email-based authentication1
Create Agent Account
Create a test account in your authentication system:
- Email Address:
agent@mindfort.ai
- User Permissions: Set appropriate testing permissions
- Account Type: Demo/test account (not production user)
2
Configure Target Credentials
- Authentication Type: Select “Magic Link” from dropdown
- Email: Enter
agent@mindfort.ai
- Login Instructions: Provide detailed login flow instructions
3
Verify Email Access
Ensure the
agent@mindfort.ai
account can receive and access magic link emails in your systemMagic Link Requirements: The agent account must use the email address
agent@mindfort.ai
for MindFort’s automated authentication system to work properly.Login Instructions
The Login Instructions field is critical for efficient assessments. Clear instructions help agents quickly navigate to authentication pages without wasting time exploring.Essential Information to Include
Login Page Location
Login Page Location
Specify exact URLs:
- Main site:
https://yourapp.com
- Login page:
https://yourapp.com/login
- Or subdomain:
https://auth.yourapp.com
Authentication Flow Steps
Authentication Flow Steps
Describe the login process:
Special Requirements
Special Requirements
Include any unique aspects:
Post-Login Navigation
Post-Login Navigation
Login Instructions Examples
Example 1: Standard Web Application
Example 2: Magic Link Authentication
Example 3: Subdomain Authentication
Security Best Practices
Demo Account Creation
Account Permissions
Account Permissions
Appropriate Access Levels:
- Standard User: For testing user-level functionality
- Limited Admin: For testing administrative features (if needed)
- Read-Only: For sensitive areas where write access isn’t needed
- Feature-Specific: Access to specific modules or features being tested
- Full administrative privileges unless absolutely necessary
- Access to real customer data or payment systems
- Permissions to modify production settings or configurations
Account Isolation
Account Isolation
Isolation Strategies:
- Use separate demo database or sandbox environment
- Limit account to test data only
- Implement rate limiting for demo accounts
- Set automatic account expiration if appropriate
- Never connect demo accounts to real payment methods
- Avoid access to actual customer information
- Use synthetic test data for realistic workflows
Password Management
Password Management
Secure Password Practices:
- Use unique passwords not used elsewhere
- Make passwords complex but not sensitive/personal
- Document credentials securely for your team
- Rotate demo account passwords regularly
TestAccount123!
DemoUser2024$
SecurityTest456#
- Real user passwords
- Company passwords
- Personal passwords
- Shared production credentials
Credential Storage Security
MindFort Security Measures:- Encryption at Rest: All stored credentials are encrypted using industry-standard encryption
- Secure Transmission: Credentials only transmitted to agents at assessment runtime
- Access Controls: Strict access controls on credential storage systems
- Audit Logging: All credential access is logged for security monitoring
- Create dedicated demo accounts for testing
- Use non-sensitive passwords
- Regularly review and rotate test account credentials
- Monitor demo account usage for any unexpected activity
Testing and Validation
Credential Verification
Before starting assessments, verify your authentication setup:1
Manual Login Test
- Use the exact credentials and instructions provided
- Navigate through the login process step-by-step
- Confirm successful authentication and access to key features
2
Session Behavior
- Test session duration and timeout behavior
- Verify logout functionality works properly
- Check if multi-factor authentication is properly disabled
3
Permission Validation
- Confirm test account has appropriate access levels
- Verify access to intended features and pages
- Test that account cannot access restricted areas
4
Assessment Integration
- Start a small Turbo assessment to test authentication
- Monitor initial assessment progress for authentication success
- Review assessment results for proper authenticated coverage
Common Authentication Issues
Login Instructions Unclear
Login Instructions Unclear
Symptoms: Assessment starts but agents spend time finding login pageSolutions:
- Provide exact URLs for authentication pages
- Include step-by-step navigation instructions
- Specify any non-obvious UI elements (buttons, links, forms)
- Test instructions by having a colleague follow them exactly
Credentials Not Working
Credentials Not Working
Symptoms: Assessment fails to authenticate or gets stuckSolutions:
- Verify credentials work with manual login
- Check for special characters that might cause issues
- Ensure account isn’t locked, expired, or disabled
- Confirm password complexity requirements are met
Session Timeout Issues
Session Timeout Issues
Symptoms: Assessment loses authentication mid-scanSolutions:
- Document session timeout behavior in instructions
- Ensure demo account has reasonable session duration
- Consider using accounts with extended session timeouts
- Implement session refresh mechanisms if possible
Magic Link Problems
Magic Link Problems
Symptoms: Magic link authentication fails or times outSolutions:
- Verify
agent@mindfort.ai
email is properly configured - Check that magic links aren’t expiring too quickly
- Ensure email delivery is reliable and fast
- Test magic link flow manually before assessment
Advanced Configuration
Multi-Role Testing
For comprehensive authorization testing, consider creating multiple demo accounts: Standard User Account:- Username:
mindfort-user
- Permissions: Regular user features
- Purpose: Test user-level functionality and data access
- Username:
mindfort-admin
- Permissions: Administrative features
- Purpose: Test admin functionality and privilege escalation
- Username:
mindfort-limited
- Permissions: Restricted access
- Purpose: Test authorization boundaries and access controls
API Authentication
For applications with API endpoints requiring authentication: API Key Method:- Store API keys in the credentials section
- Provide instructions on how APIs expect authentication
- Document rate limits and usage restrictions
- Include instructions for token generation/refresh
- Specify token lifetime and renewal process
- Document API endpoint authentication requirements
Single Sign-On (SSO) Integration
For applications using SSO providers: Setup Requirements:- Work with your SSO administrator to create test account
- Ensure test account can authenticate through SSO flow
- Document any special SSO configuration requirements
- Test SSO flow thoroughly before assessment
Maintenance and Updates
Regular Review Schedule
Monthly Tasks:- Test all stored credentials for continued validity
- Review demo account permissions and access levels
- Update login instructions if application UI changes
- Verify email addresses for magic link authentication
- Rotate demo account passwords
- Review and update account permissions as needed
- Audit demo account usage and activity logs
- Update authentication documentation and procedures
Credential Lifecycle Management
When to Update Credentials:- Application authentication flow changes
- Demo account passwords expire or need rotation
- User interface changes affect login instructions
- New features require different permission levels
- Keep login instructions current with UI changes
- Update screenshots or visual guides as needed
- Maintain record of credential changes for audit purposes
- Notify team members of credential updates
Getting Help
Authentication Support
If you encounter issues with authentication setup:- In-App Chat: Use the MindFort support chat for real-time assistance with credential configuration
- Email Support: Send detailed authentication questions to support@mindfort.ai
- Include Details: Provide target information, authentication method, and specific error messages
Best Practices Consultation
For complex authentication scenarios:- Multi-tenant applications with complex user hierarchies
- Custom authentication systems not covered in standard methods
- High-security environments requiring special consideration
- Compliance requirements affecting demo account creation
Security Reminder: When seeking support, never share actual production credentials or sensitive authentication details. Focus on configuration guidance and best practices.