| 1 | # Security policy |
| 2 | |
| 3 | Braid stores other people's code, so a bug in it can be a security bug: a |
| 4 | checkout that writes outside the working copy, a crafted object that crashes or |
| 5 | exhausts the reader, a merge that silently drops a change, or a token that |
| 6 | grants more than it should. |
| 7 | |
| 8 | ## Reporting a vulnerability |
| 9 | |
| 10 | Please report it privately through GitHub: |
| 11 | [**Report a vulnerability**](https://github.com/utopia-ia/elffuss-braid/security/advisories/new). |
| 12 | Do not open a public issue for it. |
| 13 | |
| 14 | Include what you can: the version or commit, the steps or a minimal repository |
| 15 | that reproduces it, and what an attacker gains. We will confirm that we |
| 16 | received it, keep you informed while we fix it, and credit you in the advisory |
| 17 | unless you prefer otherwise. |
| 18 | |
| 19 | ## Supported versions |
| 20 | |
| 21 | Fixes go to the latest release and the `main` branch. |
| 22 | |
| 23 | ## Scope |
| 24 | |
| 25 | In scope: |
| 26 | |
| 27 | - Path handling when writing a working copy: traversal, symlinks, names that |
| 28 | collide on case-insensitive or normalising file systems, and aliases of |
| 29 | `.braid` or `.git`. |
| 30 | - Decoding objects, records, indexes and anything received over the network. |
| 31 | - Importing from or exporting to git. |
| 32 | - Authentication and authorisation in the server. |
| 33 | - Any way to make braid lose or corrupt data that it acknowledged as stored. |