Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/spark-rsi-mv/blob/main/SECURITY.md # spark-rsi-mv Native Rust recursive self-improvement engine with paired bootstrap evaluation and cryptographic ledger Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `spark-rsi-mv / SECURITY.md` 71 lines ยท 3979 bytes Raw Blame History Rendered 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 `[spark-rsi-mv] 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 Spark RSI is a native Rust engine that observes a target repository, asks a model for small 30 improvement proposals, tests each one in a sandbox copy, and hands a human a review branch. It 31 never commits to the target's default branch. It builds three programs: `spark-rsi`, 32 `spark-rsi-supervisor` and `spark-rsi-judge`. 33 34 In scope: 35 36 - Escape from the build jail or the canary jail. The containment rules this repository states: 37 - Candidate Cargo checks, tests and observation build scripts execute only in bubblewrap with 38 read-only source, separate private output, no network and a cleared environment. Offline and 39 locked dependency resolution is mandatory. A transient systemd user cgroup enforces configured 40 memory, process, CPU and build-runtime limits; there is no unbounded host fallback. 41 - BuildJail clears the launcher and guest environments. Its writable output must be disjoint 42 from source and belongs to one candidate; a shared host target cache is not an artifact 43 authority. 44 - Canary workers run in user, mount, PID, IPC, UTS and network namespaces. Only their 45 executable, system runtime, private scratch and one IPC socket are exposed. Supervisor 46 evidence and expected outputs stay outside the jail. No unjailed fallback is permitted. 47 - A candidate reaching the target's default branch, or the ratify step accepting a path outside 48 the declared `ratify_roots` (`..`, symlinks, submodules, deletions are meant to be refused). 49 - The promotion gate accepting a candidate without a version 2 receipt from a separate judge, or 50 accepting one evaluated by the in-process judge. 51 - Forged or replayed receipts, ledger signatures or plan digests. 52 - Plaintext secrets written to disk by the tools. 53 54 Out of scope: 55 56 - The model server, the Cortex memory service, the `aien-protocols` sibling crates (report those 57 in their own repository), bubblewrap, systemd and the Linux kernel. 58 59 The containment depends on Rust/Cargo, Linux bubblewrap and a systemd user manager with cgroup v2 60 resource controllers. Exercised versions recorded by the previous policy: Rust/Cargo 1.98.1, 61 bubblewrap 0.9.0, systemd 255 (255.4-1ubuntu8.17). These are host runtime dependencies, not Omega 62 implementations. 63 64 ## Supported versions 65 66 Only the default branch `main` (Cargo version `0.1.0`). README marks the project pre-alpha. Reports against older commits are welcome but fixes land on the default branch only. 67 68 ## Status 69 70 Pre-alpha. README: development and evaluation continue with no unattended self-modification and 71 no automatic promotion. No certification, no bug bounty. See AUDIT_SCOPE.md for what to review and how to build and test it.