-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
129 lines (92 loc) · 3.42 KB
/
.env.example
File metadata and controls
129 lines (92 loc) · 3.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# CuberAi SmartBrain Configuration
# Copy this file to .env and customize as needed
# ============================================================
# SAFETY SETTINGS (REQUIRED)
# ============================================================
# Enable dry-run mode for non-destructive testing
# Set to 'false' ONLY after thorough testing
DRY_RUN=true
# ============================================================
# CORE SETTINGS
# ============================================================
# Package manager command
PNPM=pnpm
# Root directory (auto-detected if not set)
# ROOT_DIR=/path/to/repo
# ============================================================
# LOGGING
# ============================================================
# Log level: DEBUG, INFO, WARN, ERROR
LOG_LEVEL=INFO
# SmartBrain log file location
SMARTBRAIN_LOG=SMARTBRAIN.log
# ============================================================
# PATHS
# ============================================================
# Quarantine directory for suspicious files
QUARANTINE_DIR=.quarantine
# Audit report output
AUDIT_REPORT=AUDIT-REPORT.md
# ============================================================
# FEATURES
# ============================================================
# Enable auto-healing
ENABLE_AUTO_HEAL=true
# Enable antivirus scanning
ENABLE_ANTIVIRUS=true
# Enable integrity checks
ENABLE_INTEGRITY_CHECKS=true
# ============================================================
# TIMEOUTS (seconds)
# ============================================================
# Health check timeout
HEALTH_CHECK_TIMEOUT=30
# Audit timeout
AUDIT_TIMEOUT=300
# Scan timeout
SCAN_TIMEOUT=180
# ============================================================
# ADVANCED SETTINGS
# ============================================================
# Ports to clean (comma-separated)
CLEAN_PORTS=3000,3001,3002,3003,3004,3005,3006,3007,3008,3009,3010,4000
# Maximum log file size (MB)
MAX_LOG_SIZE=10
# Log rotation count
LOG_ROTATION_COUNT=5
# ============================================================
# GITHUB INTEGRATION
# ============================================================
# GitHub token (optional, for API access)
# NEVER commit this file with a real token!
# GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Repository owner
REPO_OWNER=SolanaRemix
# Repository name
REPO_NAME=SmartContractAudit
# ============================================================
# NOTIFICATIONS (Optional)
# ============================================================
# Slack webhook URL for notifications
# SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxx/yyy/zzz
# Discord webhook URL for notifications
# DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/xxx/yyy
# Email for notifications
# NOTIFICATION_EMAIL=admin@example.com
# ============================================================
# SECURITY
# ============================================================
# Scan sensitivity: LOW, MEDIUM, HIGH
SCAN_SENSITIVITY=MEDIUM
# Quarantine mode: AUTO, MANUAL
QUARANTINE_MODE=MANUAL
# Auto-delete suspicious files (DANGER!)
AUTO_DELETE_SUSPICIOUS=false
# ============================================================
# NOTES
# ============================================================
# - Never commit secrets or tokens to version control
# - Always test with DRY_RUN=true first
# - Review quarantine files before taking action
# - Keep this file in .gitignore
# - Update settings based on your environment