| Version | Supported |
|---|---|
| 0.1.x | ✅ |
We take security seriously. If you discover a security vulnerability in Midnight Cloak, please report it responsibly.
- DO NOT open a public GitHub issue for security vulnerabilities
- Email security concerns to the repository owner via GitHub
- Include as much detail as possible:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Acknowledgment within 48 hours
- Regular updates on the status
- Credit in the security advisory (if desired)
This security policy applies to:
@midnight-cloak/core@midnight-cloak/react@midnight-cloak/wallet@midnight-cloak/contracts@midnight-cloak/wallet-extension
- Vulnerabilities in dependencies (report to the dependency maintainer)
- Vulnerabilities in the Midnight Network itself (report to Midnight team)
- Social engineering attacks
- Physical security
- Never commit secrets - API keys, private keys, passwords
- Use signed commits - Required for all contributions
- Review dependencies - Check for known vulnerabilities before adding
- Follow secure coding practices - Input validation, output encoding
- Test security-sensitive code - Especially wallet and proof generation
IMPORTANT: We do NOT write or modify Compact (.compact) code. These files require specialized ZK cryptography expertise. Any changes to Compact contracts must be:
- Reviewed by qualified ZK engineers
- Audited before production use
- Approved by the repository owner