Wildbox Security Policy & Best Practices

Last Updated: November 7, 2024 Status: Secure Foundation Established - Ready for Community Evaluation Version: 2.0 Maturity: Early Evaluation Phase

Quick Navigation


CRITICAL SECURITY REQUIREMENTS

Before Production Deployment

NEVER deploy Wildbox to production without completing ALL security requirements below!

Recent Security Improvements (2024)

1. Environment Variables Configuration

Copy .env.example to .env and configure all variables:

cp .env.example .env

Required changes:

  1. Generate secure random values for all keys and passwords
  2. Change all default credentials
  3. Use strong, unique passwords for all services
  4. Configure proper CORS origins for your domain

2. Critical Security Variables to Change

Variable Description Security Level
JWT_SECRET_KEY JWT token signing key CRITICAL
INITIAL_ADMIN_PASSWORD Default admin password CRITICAL
POSTGRES_PASSWORD Database password CRITICAL
API_KEY Main API authentication key CRITICAL
STRIPE_SECRET_KEY Payment processing key CRITICAL
ENCRYPTION_KEY Data encryption key CRITICAL

3. Password Security Requirements

4. Secure Key Generation

Use secure random generators:

# Generate JWT secret (64 characters)
openssl rand -base64 48

# Generate API key
openssl rand -hex 32

# Generate encryption key
openssl rand -base64 32

# Generate secure password
openssl rand -base64 24

5. Production Security Checklist

6. Network Security

Required Firewall Rules

SSL/TLS Configuration

7. Database Security

PostgreSQL Hardening

-- Create dedicated user for application
CREATE USER wildbox_app WITH PASSWORD 'secure_random_password';

-- Grant minimal required permissions
GRANT CONNECT ON DATABASE wildbox_main TO wildbox_app;
GRANT USAGE ON SCHEMA public TO wildbox_app;
GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO wildbox_app;

-- Remove default postgres user access if not needed

Redis Security

8. Application Security

Authentication

API Security

9. Monitoring & Logging

Required Monitoring

Log Requirements

10. Backup & Recovery

Backup Strategy

11. Incident Response

Preparation

12. Compliance Considerations

Depending on your use case, ensure compliance with:

13. Managing Dependency Vulnerabilities

Wildbox uses GitHub Dependabot for continuous security scanning of all dependencies.

Transitive Dependencies (Current Status):

Mitigation Strategy:

Your Deployment Considerations:

  1. For Development/Testing: Use docker-compose up -d as-is for evaluation
  2. For Staging: Monitor GitHub Security Alerts page
  3. For Production:

Best Practices:

Security Features Implemented

1. Authentication & Authorization

2. API Security

3. Code Security

4. Infrastructure Security


Security Incident Contacts

If you discover a security vulnerability:

  1. Do NOT create a public issue
  2. Email security team at: fabrizio.salmi@gmail.com
  3. Include detailed reproduction steps
  4. Provide your contact information
  5. Allow 48 hours for initial response

Bug Bounty Program

We value security researchers! Valid vulnerability reports receive:

Additional Resources


Last Updated: November 7, 2024 Version: 2.0 Review Frequency: Quarterly Next Review: February 7, 2025


Version History

2.0 (November 7, 2024)

1.0 (October 2024)