synapse
A component of the AienOS ecosystem.
Brought by drakestapleton
synapse / SECURITY.md
| 1 | # Security policy |
| 2 | |
| 3 | ## Reporting a vulnerability |
| 4 | |
| 5 | Report privately. Do not open a public issue, pull request or discussion about it. |
| 6 | |
| 7 | 1. GitHub: open this repository's Security tab and choose "Report a vulnerability". This |
| 8 | creates a private advisory that only the maintainers can see. If that option is not shown, |
| 9 | private vulnerability reporting has not been enabled for this repository yet; use email. |
| 10 | 2. Email: drake@aienos.com with the subject `[synapse] security report`. |
| 11 | |
| 12 | Include the commit or release you tested, the component (path), steps to reproduce, and what an |
| 13 | attacker gains. If the report involves a secret, say where it was exposed and do not send the |
| 14 | secret itself. Encrypted mail is not required; do not post proof-of-concept payloads publicly. |
| 15 | |
| 16 | ## Response targets |
| 17 | |
| 18 | This project has one maintainer; the targets below are best effort and stated honestly. |
| 19 | |
| 20 | - Acknowledgement: within 3 working days. |
| 21 | - Triage and severity: within 7 days of acknowledgement. |
| 22 | - Fix or mitigation for confirmed issues: aim for 30 days for high and critical, 90 days |
| 23 | otherwise, with a status update at least every 14 days until closed. |
| 24 | - Disclosure: coordinated. An advisory is published with credit (unless you ask otherwise) |
| 25 | once the fix is on the default branch. Default embargo 90 days, negotiable. |
| 26 | |
| 27 | ## Scope |
| 28 | |
| 29 | In scope: |
| 30 | |
| 31 | - `synapse-auth`: Ed25519 `did:key` verification, capability grants, expiry, replay and quota |
| 32 | guards, the hash-chained audit log. |
| 33 | - `synapse-radicle`: the `refs/rad/id` and `sigrefs` delegate threshold verifier and split-brain |
| 34 | refusal. |
| 35 | - `synapse-store`: the append-only WAL (CRC32C and SHA-256 chain), blob store, recovery. |
| 36 | - `synapse-wire` frames, transport and shared-memory ring; `synapse-api` bounds and pagination. |
| 37 | - `synapse-git`: deterministic Git object writing and reading, ref namespace separation. |
| 38 | - `tests/gates/run.sh`, `.aien/`, `.github/workflows/aien-verification.yml`. |
| 39 | |
| 40 | Out of scope: Git, Radicle and GitHub themselves; the Spark test judge `aien-test` (report to |
| 41 | aien-sovereign-core-mv); denial of service through the documented audit log backpressure, which is |
| 42 | by design (`docs/THREAT_MODEL.md`). |
| 43 | |
| 44 | ## Supported versions |
| 45 | |
| 46 | Only the default branch `main`; there is no release (workspace version `0.1.0`). Fixes land on |
| 47 | the default branch only. |
| 48 | |
| 49 | ## Status |
| 50 | |
| 51 | Research code with a written threat model in `docs/THREAT_MODEL.md`. There is no certification |
| 52 | and no bug bounty. See AUDIT_SCOPE.md for what to review and how to build and test it. |