| Version | Supported |
|---|---|
| 1.x.x | ✅ |
We take security seriously. If you discover a security vulnerability, please follow these steps:
- Open a public GitHub issue
- Discuss the vulnerability publicly
- Exploit the vulnerability
-
Email us privately at [security@oink.io] (replace with actual email)
-
Include details:
- Type of vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
-
Wait for response within 48 hours
- Acknowledgment: We'll acknowledge receipt within 48 hours
- Assessment: We'll assess the vulnerability within 7 days
- Fix: Critical vulnerabilities will be patched within 14 days
- Disclosure: We'll coordinate public disclosure with you
| Measure | Status |
|---|---|
| Formal verification | Planned |
| External audit | Required before mainnet |
| Bug bounty program | Planned |
| Measure | Status |
|---|---|
| 2-of-3 multisig | ✅ Implemented |
| Rate limiting | ✅ Implemented |
| Input validation | ✅ Implemented |
| HTTPS only (production) | Required |
The core security invariant of this bridge:
INVARIANT: totalOinkLocked === totalMidoinkMinted
This is enforced by:
- Smart contract logic (cannot mint without lock)
- State manager assertions on every operation
- Verification tests on every code change
For production deployment:
- Use Hardware Security Modules (HSM)
- Implement key rotation
- Geographic distribution of validators
- Threshold signatures
- Centralization: Current 3-validator setup is semi-centralized
- Emergency unlock: 7-day timeout could delay recovery
- Cross-chain latency: Operations require confirmations on both chains
We plan to launch a bug bounty program covering:
| Severity | Reward |
|---|---|
| Critical (peg violation) | Up to $50,000 |
| High (fund loss risk) | Up to $10,000 |
| Medium (service disruption) | Up to $2,000 |
| Low (minor issues) | Up to $500 |
Details will be published when the program launches.
- Security issues: [security@oink.io]
- General inquiries: [info@oink.io]
Audit reports will be published here once completed:
- Smart contract audit (pending)
- Penetration testing (pending)
- Code review (pending)