omnet
aien-dev/omnet
Brought by drakestapleton
omnet / 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 `[omnet] 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 | - An Omega unit under `om/` (BLAKE2s, BLAKE2b, SHA-512, Ed25519, Argon2, codec, CBOR, JSON, |
| 32 | TKA, tkasig, store, quantity) that accepts a forged signature, rejects a valid one, reads or |
| 33 | writes out of bounds, or traps on attacker-supplied input (a reachable trap is a |
| 34 | denial-of-service bug). |
| 35 | - A wrong authorization decision in the Tailnet Lock (TKA) model, `om/tka/`, `om/tkasig/`, or |
| 36 | in the `tkad` daemon RPC handlers under `cmd/tkad/`. |
| 37 | - The `tkad` IPC framing in `cmd/tkad/socket.om`: oversized or malformed headers or bodies, |
| 38 | missing deadlines, or a way to bypass the admin assertion or NodeKey binding. |
| 39 | - Durable state in `om/store/` and `cmd/tkad/state.om`: a crash, rename or short write that |
| 40 | leaves a snapshot that recovery accepts but should refuse, or a check-then-use on a path. |
| 41 | - The Headscale adapter patch in `integration/headscale/headscale.patch`: an unauthenticated |
| 42 | client reaching daemon work, a map published without TKA state, or identity taken from |
| 43 | remote JSON. |
| 44 | - `tools/omc.sh` accepting a compiler whose digest does not equal `omega.pin`. |
| 45 | |
| 46 | Out of scope: |
| 47 | |
| 48 | - Test oracles and vector generators (Go and Python under `*/test/`, `integration/e2e/`); they |
| 49 | never ship. Upstream Headscale, Tailscale and Go code outside the committed patch. |
| 50 | - Timing side channels: the code is not constant-time audited and makes no such claim. |
| 51 | - Attacks by a process running as the same UID as `tkad`, or as root. The README and |
| 52 | `cmd/tkad/README.md` state that this local boundary is trusted. |
| 53 | - The Omega compiler itself; report it to `aien-dev/omega-mv`. |
| 54 | |
| 55 | ## Supported versions |
| 56 | |
| 57 | Only the default branch `main`; there is no release. Reports against older commits are welcome |
| 58 | but fixes land on the default branch only. |
| 59 | |
| 60 | ## Status |
| 61 | |
| 62 | The daemon implements all eight TKA RPCs and has passed isolated end-to-end verification with |
| 63 | stock Tailscale clients. The README states this is not deployed tailnet protection, data-plane |
| 64 | qualification or a production security audit, and no live deployment is approved. There is no |
| 65 | certification and no bug bounty. See AUDIT_SCOPE.md for what to review and how to build and |
| 66 | test it. |