2 Commits
Author SHA1 Message Date
Hanzo Dev 8a2d00ce4d Fix linting issues: specific exception types and remove f-string prefix 2025-11-14 06:49:44 -08:00
Hanzo Dev 67592ef116 Add comprehensive test suite with runtime-generated secrets
- 70+ tests covering regex-based sanitization
- API keys: OpenAI, Anthropic, GitHub, HuggingFace, Stripe, SendGrid, Google, AWS
- Crypto: Private keys, ETH/BTC addresses, seed phrases
- Financial: Credit cards, SSN
- PII: Email addresses
- Context preservation tests
- Edge cases and JSONL processing

Security: All test secrets generated at runtime to avoid GitHub secret scanning
- No hardcoded secrets in test files
- Uses random generators for realistic test patterns
- Follows security best practices

CI: GitHub Actions workflow for multi-OS/Python testing with coverage
2025-11-14 06:46:51 -08:00