Skip to content

Security: Ronak-IIITD/acadria_AI

Security

SECURITY.md

Security Policy

🔒 Repository Security Practices

This document outlines security practices for the Acadira AI project.

Environment Variables

Never commit real API keys or credentials to version control.

All sensitive configuration is stored in .env files which are:

  • Listed in .gitignore
  • Not tracked by git
  • Required to be created from templates (.env.example)

Required Credentials Rotation

If you believe any credentials have been exposed:

  1. Google Gemini API Key

  2. Firebase Credentials

  3. xAI (Grok) API Key

  4. Groq API Key

  5. Anthropic API Key

Git History Scrub

If API keys were accidentally committed:

# Install git-filter-repo
pip install git-filter-repo

# Remove specific file from history
git filter-repo --path-glob '*.env' --invert-paths --force

# Force push to update remote
git push --force origin main

Best Practices

  1. Use .env.local for local development
  2. Never commit .env files
  3. Rotate API keys periodically
  4. Use minimal required permissions for API keys
  5. Monitor API key usage for anomalies
  6. Use .gitignore for all credential files

There aren't any published security advisories