We take security seriously and actively maintain the following versions of saorsa-transport:
| Version | Supported |
|---|---|
| 0.4.x | ✅ |
| 0.3.x | ❌ |
| < 0.3 | ❌ |
If you discover a security vulnerability in saorsa-transport, please report it responsibly.
- DO NOT create a public GitHub issue for security vulnerabilities
- Email security reports to: security@maidsafe.net
- Use our PGP key for sensitive information (key ID: [TBD])
Please provide as much information as possible:
- Type of vulnerability (e.g., buffer overflow, SQL injection, cross-site scripting)
- Affected component(s)
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Initial Response: Within 48 hours
- Triage: Within 7 days
- Fix Development: Varies by severity
- Public Disclosure: Coordinated with reporter
We employ multiple automated security measures:
-
Dependency Scanning
- Daily cargo-audit scans for known vulnerabilities
- cargo-deny for license and security policy enforcement
- Dependabot for automated updates
-
Supply Chain Security
- cargo-vet for supply chain verification
- SBOM generation for all releases
- Signed commits and releases
-
Code Security
- No unsafe code without thorough review
- Memory safety enforced by Rust
- Fuzz testing for protocol handlers
When contributing to saorsa-transport:
-
Dependencies
- Minimize external dependencies
- Prefer well-maintained, audited crates
- Pin dependency versions in Cargo.lock
-
Cryptography
- Use established crypto libraries (rustls, ring)
- Never implement custom crypto
- Follow current best practices
-
Network Security
- Validate all external input
- Implement proper bounds checking
- Use secure defaults
-
Error Handling
- Never expose sensitive information in errors
- Log security events appropriately
- Fail securely
The NAT traversal functionality introduces some security considerations:
- Hole Punching: Can potentially be abused for port scanning
- Address Discovery: Reveals network topology information
- Relay Services: Trust boundaries must be carefully managed
Mitigations are implemented but users should be aware of these aspects.
When using Raw Public Keys (RFC 7250):
- Proper key management is critical
- No certificate chain validation
- Application must verify key authenticity
| Date | Auditor | Scope | Report |
|---|---|---|---|
| TBD | TBD | TBD | TBD |
We currently do not have a bug bounty program but acknowledge security researchers in our releases.
Security updates are released as:
- Critical: Immediate patch release
- High: Within 7 days
- Medium: Within 30 days
- Low: Next regular release
Subscribe to security announcements:
- GitHub Security Advisories
- RSS feed: [TBD]
- Mailing list: [TBD]
saorsa-transport follows security best practices from:
- Security Team: security@maidsafe.net
- Project Maintainers: @dirvine
- Security Advisory URL: https://github.com/WithAutonomi/saorsa-transport/security/advisories