| Version | Supported |
|---|---|
| 0.3.x | ✅ |
| < 0.3 | ❌ |
If you discover a security vulnerability in cargo-perf, please report it responsibly:
- Do not open a public issue
- Email the maintainers directly or use GitHub's private vulnerability reporting
- Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Acknowledgment: Within 48 hours
- Initial assessment: Within 1 week
- Fix timeline: Depends on severity
- Critical: 24-48 hours
- High: 1 week
- Medium: 2 weeks
- Low: Next release
cargo-perf implements several security measures:
- TOCTOU protection: All file operations use file descriptors to prevent race conditions
- Symlink protection: Symlinks are not followed during file traversal
- Path traversal protection: Auto-fix feature validates paths before writing
- File size limits: 10MB maximum to prevent resource exhaustion
- Recursion limits: AST visitors bail at depth 256 to prevent stack overflow
- Memory safety: Pure Rust implementation with no unsafe code
- Regular security audits via
cargo auditin CI - Dependabot enabled for automated security updates
This security policy covers:
- The cargo-perf binary
- The cargo_perf library crate
- Official CI/CD configurations
Third-party integrations and forks are not covered.