avinash-rai commited on
Commit
429f197
Β·
1 Parent(s): bee2ada

πŸ” SECURITY: Removed hardcoded API key and switched to environment variable management

Browse files
Files changed (2) hide show
  1. .env.example +1 -0
  2. app/config.py +1 -1
.env.example CHANGED
@@ -33,3 +33,4 @@ ANTHROPIC_API_KEY=
33
  # Application Settings
34
  # ─────────────────────────────────────────────────────────────────────────────
35
  DEBUG=false
 
 
33
  # Application Settings
34
  # ─────────────────────────────────────────────────────────────────────────────
35
  DEBUG=false
36
+ GUVI_API_KEY=GUVI_HACKATHON_V2
app/config.py CHANGED
@@ -12,7 +12,7 @@ class Settings(BaseSettings):
12
  APP_NAME: str = "Scam Honeypot API"
13
  VERSION: str = "2.0.0"
14
  DEBUG: bool = False
15
- GUVI_API_KEY: str = "GUVI_HACKATHON_V2"
16
 
17
  # LLM Configuration
18
  LLM_PROVIDER: str = "groq"
 
12
  APP_NAME: str = "Scam Honeypot API"
13
  VERSION: str = "2.0.0"
14
  DEBUG: bool = False
15
+ GUVI_API_KEY: str = "" # Set via environment variable 'GUVI_API_KEY'
16
 
17
  # LLM Configuration
18
  LLM_PROVIDER: str = "groq"