interplane.Get Omega
Read in your language

readings-window

aien-dev/readings-window

Brought by drakestapleton

branch main Branches Tags History

readings-window / SECURITY.md

62 lines · 3103 bytes Raw Blame History Rendered
1# Security policy
2
3## Reporting a vulnerability
4
5Report privately. Do not open a public issue, pull request or discussion about it.
6
71. 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.
102. Email: drake@aienos.com with the subject `[readings-window] security report`.
11
12Include the commit or release you tested, the component (path), steps to reproduce, and what an
13attacker gains. If the report involves a secret, say where it was exposed and do not send the
14secret itself. Encrypted mail is not required; do not post proof-of-concept payloads publicly.
15
16## Response targets
17
18This 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`readings-window` is a Rust service: `collect` fetches readings from a development machine over
30ssh and keeps 30 days of history; `serve` hands readings, cached status and results files, the
31exposure-watch result and agent chat feeds to bearer-token holders over HTTPS on port 9443.
32`scripts/exposure-watch.sh` scans the house's own public IP.
33
34In scope:
35
36- Any `/v1/*` response without a valid bearer token, or a token comparison that leaks more than
37 the token length.
38- Anything user-supplied (path, query string, headers) reaching the remote shell run over ssh.
39 AGENTS.md states that agent names are matched against a fixed allow-list and `?lines=` is parsed
40 to an integer and clamped.
41- A write to the remote machine or an upload path; AGENTS.md says the service is read-only by
42 design.
43- Resource exhaustion that bypasses the limits in `src/tls.rs` (16 KiB request head, 64
44 connections, handshake and header deadline).
45- TLS configuration in `src/tls.rs` (rustls, ring provider, TLS 1.2 and 1.3).
46- `scripts/exposure-watch.sh` scanning anything other than the house's own public IP.
47
48Out of scope:
49
50- The remote-side readings script, the systemd units on the server, the token, TLS key and
51 certificate, and the exposure baseline: none of them are in this repository.
52- rustls, ring, OpenSSH, nmap, upnpc and the host operating system.
53
54## Supported versions
55
56Only the default branch `main`; there is no release (Cargo version `0.1.0`). Reports against older commits are welcome but fixes land on the default branch only.
57
58## Status
59
60README (2026-10-18): running. CI (`.github/workflows/ci.yml`, added by the audit-readiness
61change) runs `cargo test --locked`. No certification, no bug bounty. See AUDIT_SCOPE.md for what
62to review and how to build and test it.