Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,39 @@ WEB3STORAGE_API_KEY=your-web3-storage-api-key
# Infura IPFS Configuration
INFURA_API_KEY=your-infura-api-key

# Security Alert Configuration
SECURITY_ALERT_EMAIL=security@yourdomain.com

# Behavioral Biometric Fraud Detection Configuration
BEHAVIORAL_BIOMETRIC_ENABLED=false

# Behavioral Collection Settings
BEHAVIORAL_COLLECTION_ENABLED=true
BEHAVIORAL_SAMPLE_RATE=1.0
BEHAVIORAL_MAX_EVENTS_PER_SESSION=1000
BEHAVIORAL_SESSION_TIMEOUT=1800000
BEHAVIORAL_ANONYMIZE_IP=true
BEHAVIORAL_HASH_SALT=your-behavioral-hash-salt

# Behavioral Classifier Settings
BEHAVIORAL_CLASSIFIER_ENABLED=true
BEHAVIORAL_MODEL_TYPE=rule_based
BEHAVIORAL_CONFIDENCE_THRESHOLD=0.7
BEHAVIORAL_TRAINING_THRESHOLD=100
BEHAVIORAL_RETRAIN_INTERVAL=604800000

# Behavioral Risk Thresholds (0-1 scale)
BEHAVIORAL_BOT_SCORE_THRESHOLD=0.8
BEHAVIORAL_THROTTLING_THRESHOLD=0.6
BEHAVIORAL_WATCH_LIST_THRESHOLD=0.9
BEHAVIORAL_ANOMALY_THRESHOLD=0.75

# Behavioral Privacy Settings
BEHAVIORAL_DATA_RETENTION_DAYS=30
BEHAVIORAL_HASH_PERSONAL_DATA=true
BEHAVIORAL_EXCLUDE_PII=true
BEHAVIORAL_GDPR_COMPLIANT=true

# Database Configuration (for production)
# DATABASE_URL=postgresql://username:password@localhost:5432/substream

Expand Down
Loading
Loading