mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 13:52:09 +03:00
- Security: AES-256-GCM encryption for API keys/tokens, CI security audit - Accessibility: ARIA labels, aria-live regions, skip-to-content, contrast utility - Components: Tooltip, CloudSyncStatus, SystemMonitor, StreamTracker - Utils: costEstimator, promptInjectionGuard middleware, Zod validation schemas - Docs: openapi.yaml +9 routes, API_REFERENCE internal APIs, version bumps - Quality: coverage thresholds 60/50/50, error handling improvements
1.8 KiB
1.8 KiB
Security Policy
Reporting Vulnerabilities
If you discover a security vulnerability in OmniRoute, please report it responsibly:
- DO NOT open a public GitHub issue
- Email: security@omniroute.dev (or use GitHub Security Advisories)
- Include: description, reproduction steps, and potential impact
Response Timeline
| Stage | Target |
|---|---|
| Acknowledgment | 48 hours |
| Triage & Assessment | 5 business days |
| Patch Release | 14 business days (critical) |
Supported Versions
| Version | Support Status |
|---|---|
| 0.4.x | ✅ Active |
| 0.3.x | ✅ Active |
| < 0.3.0 | ❌ Unsupported |
Security Best Practices
Required Environment Variables
All secrets must be set before starting the server. The server will fail fast if they are missing or weak.
# Generate strong secrets:
JWT_SECRET=$(openssl rand -base64 48)
API_KEY_SECRET=$(openssl rand -hex 32)
STORAGE_ENCRYPTION_KEY=$(openssl rand -hex 32)
Input Protection
OmniRoute includes built-in protection against:
- Prompt injection — Detects system override, role hijack, delimiter injection, and DAN/jailbreak patterns
- PII leakage — Optional detection and redaction of emails, CPF/CNPJ, credit cards, and phone numbers
Configure in .env:
INPUT_SANITIZER_ENABLED=true
INPUT_SANITIZER_MODE=block # warn | block | redact
PII_REDACTION_ENABLED=true
Docker Security
- Use non-root user in production
- Mount secrets as read-only volumes
- Never copy
.envfiles into Docker images - Use
.dockerignoreto exclude sensitive files
Dependencies
- Run
npm auditregularly - Keep dependencies updated
- The project uses
husky+lint-stagedfor pre-commit checks