|
| 1 | +# Security Policy |
| 2 | + |
| 3 | +## Supported Versions |
| 4 | + |
| 5 | +| Version | Supported | |
| 6 | +| ------- | ------------------ | |
| 7 | +| 2.0.x | :white_check_mark: | |
| 8 | +| < 2.0 | :x: | |
| 9 | + |
| 10 | +## Reporting a Vulnerability |
| 11 | + |
| 12 | +We take the security of Tello Vision seriously. If you discover a security vulnerability, please follow these steps: |
| 13 | + |
| 14 | +### How to Report |
| 15 | + |
| 16 | +1. **Do NOT create a public GitHub issue** for security vulnerabilities |
| 17 | +2. **Email the maintainers directly** or use GitHub's private vulnerability reporting feature |
| 18 | +3. **Open a private security advisory** at: `Security` → `Advisories` → `New draft security advisory` |
| 19 | + |
| 20 | +### What to Include |
| 21 | + |
| 22 | +When reporting a vulnerability, please include: |
| 23 | + |
| 24 | +- Description of the vulnerability |
| 25 | +- Steps to reproduce the issue |
| 26 | +- Potential impact |
| 27 | +- Suggested fix (if you have one) |
| 28 | +- Your contact information |
| 29 | + |
| 30 | +### Response Timeline |
| 31 | + |
| 32 | +- **Initial Response**: Within 48 hours |
| 33 | +- **Status Update**: Within 7 days |
| 34 | +- **Fix Timeline**: Depends on severity |
| 35 | + - Critical: 1-7 days |
| 36 | + - High: 7-30 days |
| 37 | + - Medium: 30-90 days |
| 38 | + - Low: Best effort |
| 39 | + |
| 40 | +## Security Considerations |
| 41 | + |
| 42 | +### Drone Operations |
| 43 | + |
| 44 | +⚠️ **This software controls physical drones. Use responsibly.** |
| 45 | + |
| 46 | +- Always maintain visual line of sight |
| 47 | +- Test in safe, open environments |
| 48 | +- Keep firmware updated |
| 49 | +- Follow local aviation regulations |
| 50 | +- Never fly near people, airports, or restricted areas |
| 51 | + |
| 52 | +### Network Security |
| 53 | + |
| 54 | +- The DJI Tello creates an **unencrypted WiFi network** |
| 55 | +- Video stream is **not encrypted** |
| 56 | +- Control commands are sent over **UDP without authentication** |
| 57 | +- Assume anyone in range can intercept communications |
| 58 | + |
| 59 | +**Mitigation:** |
| 60 | + |
| 61 | +- Use in controlled environments only |
| 62 | +- Don't transmit sensitive information |
| 63 | +- Be aware of your surroundings |
| 64 | + |
| 65 | +### Code Execution |
| 66 | + |
| 67 | +This project: |
| 68 | + |
| 69 | +- Downloads and executes ML models from external sources |
| 70 | +- Processes video streams (potential for adversarial attacks) |
| 71 | +- Uses third-party dependencies with their own security considerations |
| 72 | + |
| 73 | +**Best Practices:** |
| 74 | + |
| 75 | +- Only use models from trusted sources |
| 76 | +- Keep dependencies updated: `pip install --upgrade -r requirements.txt` |
| 77 | +- Review code before running in production environments |
| 78 | +- Use virtual environments to isolate dependencies |
| 79 | + |
| 80 | +### Model Weights |
| 81 | + |
| 82 | +Pre-trained models are downloaded from: |
| 83 | + |
| 84 | +- Ultralytics (YOLOv8): https://github.com/ultralytics/assets/releases |
| 85 | +- Detectron2: https://dl.fbaipublicfiles.com/detectron2/ |
| 86 | + |
| 87 | +**Verify checksums** if using in security-sensitive applications. |
| 88 | + |
| 89 | +## Known Limitations |
| 90 | + |
| 91 | +### Not Production-Hardened For |
| 92 | + |
| 93 | +- ❌ Mission-critical applications |
| 94 | +- ❌ Safety-critical systems |
| 95 | +- ❌ Environments requiring formal verification |
| 96 | +- ❌ Applications requiring encrypted communications |
| 97 | + |
| 98 | +### Suitable For |
| 99 | + |
| 100 | +- ✅ Research and development |
| 101 | +- ✅ Educational purposes |
| 102 | +- ✅ Prototyping and experimentation |
| 103 | +- ✅ Hobbyist projects |
| 104 | + |
| 105 | +## Dependencies |
| 106 | + |
| 107 | +We rely on several third-party packages. Security issues in dependencies should be reported to: |
| 108 | + |
| 109 | +- **PyTorch**: https://github.com/pytorch/pytorch/security |
| 110 | +- **OpenCV**: https://github.com/opencv/opencv/security |
| 111 | +- **Ultralytics**: https://github.com/ultralytics/ultralytics/security |
| 112 | +- **djitellopy**: https://github.com/damiafuentes/DJITelloPy/security |
| 113 | + |
| 114 | +## Security Updates |
| 115 | + |
| 116 | +Security updates will be: |
| 117 | + |
| 118 | +- Released as patch versions (2.0.x) |
| 119 | +- Announced in release notes |
| 120 | +- Tagged with `security` label in issues |
| 121 | + |
| 122 | +## Responsible Disclosure |
| 123 | + |
| 124 | +We follow a coordinated disclosure policy: |
| 125 | + |
| 126 | +1. Vulnerability reported privately |
| 127 | +2. Issue confirmed and assessed |
| 128 | +3. Fix developed and tested |
| 129 | +4. Security advisory published |
| 130 | +5. Fix released |
| 131 | +6. Public disclosure after users have time to update |
| 132 | + |
| 133 | +## Legal |
| 134 | + |
| 135 | +This software is provided "AS IS" without warranty of any kind. Users are responsible for: |
| 136 | + |
| 137 | +- Safe operation of drones |
| 138 | +- Compliance with local laws and regulations |
| 139 | +- Any damage or injury resulting from use |
| 140 | + |
| 141 | +## Questions? |
| 142 | + |
| 143 | +For non-security questions, use GitHub Discussions or Issues. |
| 144 | + |
| 145 | +For security concerns, contact maintainers privately. |
| 146 | + |
| 147 | +--- |
| 148 | + |
| 149 | +**Remember: Safety first. This controls a physical device that can cause injury or property damage if misused.** |
0 commit comments