interplane.Get Omega
Read in your language

agent-archive

aien-dev/agent-archive

Brought by drakestapleton

branch main Branches Tags History

agent-archive / SECURITY.md

60 lines · 3061 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 `[agent-archive] 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`agent-archive` is a Rust binary that collects AI agent chat stores on one host into an archive of
30JSONL records plus a verbatim raw mirror. The archive data lives outside the repository.
31
32In scope:
33
34- Parsers in `src/collectors.rs` and `src/pb.rs` that panic, loop, or write outside the archive
35 root on malformed chat files, SQLite databases or protobuf blobs.
36- The private-file checks in `src/core.rs`: any path where a symlink, a foreign owner, or group or
37 other access is not refused, or where a file is created with a mode wider than `0600` (or `0700`
38 for directories), as README states.
39- The read-only ssh and scp pull from a second machine (`pull_macbook` in `src/collectors.rs`):
40 remote listing output that can steer a write outside `raw/gemini/macbook/`, or a remote path that
41 is interpreted by a shell.
42- A write to an agent's own source chat files or database, which AGENTS.md says are opened
43 read-only.
44- Archive data, real transcripts, tokens, host names or home paths committed to the repository,
45 including inside `tests/fixtures/`.
46
47Out of scope:
48
49- The agents whose chat stores are read, OpenSSH, SQLite (bundled via `rusqlite`), and the host
50 operating system.
51
52## Supported versions
53
54Only 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.
55
56## Status
57
58README: the collector is in use; this repository documents the source behaviour and does not
59establish which binary or on-disk permissions are currently deployed. The Gemini protobuf format is
60UNVERIFIED (field numbers inferred from sampling). No certification, no bug bounty. See AUDIT_SCOPE.md for what to review and how to build and test it.