-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathenv.example
More file actions
107 lines (83 loc) · 3.94 KB
/
env.example
File metadata and controls
107 lines (83 loc) · 3.94 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
# Aether Environment Variables Configuration
# Copy this file to .env and fill in your API keys
# ============================================================================
# LLM API Keys (Required for AI-powered analysis)
# ============================================================================
# OpenAI API Key - Required for GPT models
# Get your key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-your-openai-api-key-here
# Gemini API Key - Required for Gemini models
# Get your key from: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your-gemini-api-key-here
# Anthropic API Key - Required for Claude models
# Get your key from: https://console.anthropic.com/
ANTHROPIC_API_KEY=your-anthropic-api-key-here
# ============================================================================
# Blockchain Explorer API Keys (Optional but recommended)
# ============================================================================
# Etherscan API Key - For fetching verified contracts from Ethereum mainnet
# Get your key from: https://etherscan.io/myapikey
ETHERSCAN_API_KEY=your-etherscan-api-key-here
# Polygonscan API Key - For fetching contracts from Polygon
# Get your key from: https://polygonscan.com/myapikey
POLYGONSCAN_API_KEY=your-polygonscan-api-key-here
# Arbiscan API Key - For fetching contracts from Arbitrum
# Get your key from: https://arbiscan.io/myapikey
ARBISCAN_API_KEY=your-arbiscan-api-key-here
# Basescan API Key - For fetching contracts from Base
# Get your key from: https://basescan.org/myapikey
BASESCAN_API_KEY=your-basescan-api-key-here
# ============================================================================
# RPC Endpoints (Optional - for fork testing)
# ============================================================================
# Ethereum Mainnet RPC URL
# Get free RPC from: https://www.alchemy.com/ or https://infura.io/
ETH_RPC_URL=https://eth-mainnet.g.alchemy.com/v2/your-api-key
# Polygon RPC URL
POLYGON_RPC_URL=https://polygon-mainnet.g.alchemy.com/v2/your-api-key
# Arbitrum RPC URL
ARBITRUM_RPC_URL=https://arb-mainnet.g.alchemy.com/v2/your-api-key
# Base RPC URL
BASE_RPC_URL=https://base-mainnet.g.alchemy.com/v2/your-api-key
# ============================================================================
# Aether Configuration (Optional)
# ============================================================================
# Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
AETHER_LOG_LEVEL=INFO
# Output directory for reports and findings
AETHER_OUTPUT_DIR=./output
# Bug bounty mode (true/false) - enables enhanced exploit PoC generation
AETHER_BUG_BOUNTY_MODE=true
# Foundry validation filtering (Optional)
# Send all findings to Foundry validation (default: false = send all findings)
# Set to true to only validate findings with consensus from multiple AI models
AETHER_FOUNDRY_ONLY_CONSENSUS=false
# Maximum number of findings to send to Foundry (default: 80)
# Limits the number of vulnerabilities validated to avoid excessive computation
AETHER_FOUNDRY_MAX_ITEMS=80
# ============================================================================
# GitHub Integration (Optional)
# ============================================================================
# GitHub Personal Access Token - For accessing private repositories
# Create at: https://github.com/settings/tokens
GITHUB_TOKEN=your-github-token-here
# ============================================================================
# Usage Instructions
# ============================================================================
#
# 1. Copy this file to .env:
# cp env.example .env
#
# 2. Fill in your API keys above
#
# 3. Load the environment variables:
# source .env # or use a tool like direnv
#
# 4. Or add them to your shell profile (~/.bashrc, ~/.zshrc):
# export OPENAI_API_KEY=sk-...
# export GEMINI_API_KEY=...
#
# 5. Verify your setup:
# python setup.py
#
# ============================================================================