|
| 1 | +# Security Policy |
| 2 | + |
| 3 | +## Supported Versions |
| 4 | + |
| 5 | +BisoMapTech is currently under active development. |
| 6 | + |
| 7 | +Security fixes are applied to the latest version available on the `main` branch. |
| 8 | + |
| 9 | +--- |
| 10 | + |
| 11 | +## Reporting a Vulnerability |
| 12 | + |
| 13 | +If you discover a security vulnerability, please DO NOT open a public GitHub issue. |
| 14 | + |
| 15 | +Instead: |
| 16 | +- Contact the maintainers privately |
| 17 | +- Or open a confidential security advisory if available |
| 18 | + |
| 19 | +Please include: |
| 20 | +- vulnerability description |
| 21 | +- reproduction steps |
| 22 | +- potential impact |
| 23 | +- screenshots/logs if relevant |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +## Security Practices |
| 28 | + |
| 29 | +This project implements several security mechanisms: |
| 30 | + |
| 31 | +- Supabase Row Level Security (RLS) |
| 32 | +- End-to-End Encryption (E2EE) |
| 33 | +- Protected GitHub branches |
| 34 | +- Mandatory Pull Requests |
| 35 | +- CI/CD verification |
| 36 | +- Dependabot dependency monitoring |
| 37 | +- Sentry error monitoring |
| 38 | +- CodeQL static analysis |
| 39 | + |
| 40 | +--- |
| 41 | + |
| 42 | +## Sensitive Data |
| 43 | + |
| 44 | +Never expose: |
| 45 | +- API keys |
| 46 | +- Supabase service role keys |
| 47 | +- personal addresses |
| 48 | +- private encryption keys |
| 49 | + |
| 50 | +All secrets must remain server-side or inside secure environment variables. |
| 51 | + |
| 52 | +--- |
| 53 | + |
| 54 | +## Frontend Security |
| 55 | + |
| 56 | +Avoid: |
| 57 | +- unsafe HTML rendering |
| 58 | +- unsanitized user input |
| 59 | +- insecure local storage usage |
| 60 | +- bypassing auth logic |
| 61 | + |
| 62 | +--- |
| 63 | + |
| 64 | +## Authentication |
| 65 | + |
| 66 | +Authentication is managed through Supabase Auth. |
| 67 | + |
| 68 | +Never trust frontend role checks alone. |
| 69 | +Always validate permissions server-side using RLS. |
| 70 | + |
| 71 | +--- |
| 72 | + |
| 73 | +## Responsible Disclosure |
| 74 | + |
| 75 | +We appreciate responsible disclosure practices and will investigate all legitimate reports as quickly as possible. |
0 commit comments