| Version | Supported |
|---|---|
| 1.x.x | ✅ |
If you discover a security vulnerability in Prep, please report it responsibly:
- Do NOT open a public GitHub issue
- Email the maintainer directly with details
- Include steps to reproduce if possible
- Allow reasonable time for a fix before public disclosure
- Never commit API keys to version control
- API keys are loaded from environment variables only, never stored in config files
- Use
--api-keyflag for one-time use (key will be visible in shell history) - Prefer environment variables:
OLLAMA_API_KEY,OPENAI_API_KEY,ANTHROPIC_API_KEY
- Configuration:
~/.config/prep/config.toml- does not contain secrets - History database:
~/.local/share/prep/history.db- contains your prompts - Clear history with:
prep history clear
- All cloud API calls use HTTPS
- No data is sent to any service other than the configured AI provider
- Local Ollama mode keeps all data on your machine
# Good: Use environment variables
export OPENAI_API_KEY="sk-..."
prep "my prompt"
# Okay: Use --api-key (visible in shell history)
prep --api-key "sk-..." "my prompt"
# Bad: Never put keys in config files or scriptsWe regularly update dependencies to patch security vulnerabilities. Run cargo audit to check for known vulnerabilities in dependencies.