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/aien-sovereign-core-mv/issues/925ab15c6a2c2b74 # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # Security: qualify and integrate existing native IMAP fix for lexical-core alert1 Closed · #707 · open 2026-10-23 09:23 UTC · closed 2026-10-29 20:33 UTC (reason completed) Imported from GitHub aien-dev/aien-sovereign-core-mv#707, by drakestapleton drakestapleton wrote on 2026-10-23 09:23 UTC Current main `754c07b118f41ad899607b60329bd851b1ccb13e` still resolves `lexical-core0.7.6 <- nom5.1.3 <- imap2.4.1 <- spark-mail-rs` (`cargo tree --locked -i lexical-core`). Dependabot alert1 is OPEN, Low, GHSA-2326-pfpj-vx3h. Existing PR #626 already implements the bounded native IMAP replacement; do not create another implementation or PR. ## Scope and ownership L672 recovers that completed source onto current main in an isolated worktree, preserving all four original implementation/review commits and their authors. L673 routes qualified source through existing PR626 only. Current PR626 head: `81760bedfe634ec1a439a2e3f3e72f9302d1a14a`, DIRTY. No matching lexical-core or soundness tracking issue was found; this issue tracks final qualification/delivery of that existing security fix. ## Acceptance - Native `spark-mail-rs` tests/build/Clippy/fmt actually execute on the recovered source; adversarial protocol fixtures and an independent source review cover framing, bounds, UID/body selection, LOGIN literal/escaping/refusal behavior and safe failures. - Full-workspace resolved dependency graph and committed lock no longer include the vulnerable lexical-core route, without unrelated dependency upgrades or weakening transport/certificate checks. - All original and newly discovered failures, source pins, raw receipts, limits and independent findings are published. No fabricated live-service result. - Sole publisher advances existing PR626 at a fresh expected head, satisfies exact-head signed/hosted gates and verifies integration. Alert resolution is checked against merged main, not assumed from a local lockfile. ## Safety and non-goals Only synthetic local protocol streams and isolated test state. No mailbox, Gandi endpoint, mail submission, real credential retrieval, model/GPU or live service changes. Existing native TLS connector and hostname policy stay unchanged. A live operator qualification, if required, is separately owned and never inferred from scripted protocol tests. Initial recovered source `75f8b1e5ed659fa9855979fa1c991e27799a3de3` is not yet freshly qualified. PR #619 also references this dependency cleanup; preserve its separate launcher work and avoid duplicate publishing. drakestapleton wrote on 2026-10-23 10:10 UTC 62 tests passed on both Mac and Linux (0 failed, 0 ignored on each; the same62 tests, not124 distinct). All-target Clippy and workspace formatting passed on both. The complete Linux workspace passed `cargo check --locked --workspace`. Final source/evidence: `bb7b9123740d46f41789f3963d5de5c4b9ba0e05`, functional source `2ea9ee1c804b84c23dc74651c085c00949110e36`. Recovered original PR626 source/review commits with authors preserved onto current main754c07b. The full528-package workspace graph contains no lexical-core/imap/imap-proto; lock comparison proves only six old packages removed, no package added or version moved. The original static no-findings report is preserved but was disproved by actual parser regressions: quoted/nested UID metadata selected another message, nested BODY metadata selected the wrong literal, malformed UID9x was accepted, and a UID after a literal was shadowed. Actual RED logs precede the correction. The replacement selection parser streams over top-level attribute/value pairs with opaque strings/literals, iterative nesting, complete UID validation and exact body association. Additional regression controls cover FETCH-prefix/header garbage, fragmented streams and valid unrelated section syntax. Separate independent corrective review at exact functional source found no demonstrated Important/Critical defect; no reviewer runtime or live-mail claim. Report and all raw failures/passes: https://github.com/aien-dev/aien-sovereign-core-mv/blob/`bb7b9123740d46f41789f3963d5de5c4b9ba0e05`/evidence/IMAP-RECOVERY-L672/README.md Exact published source inputs and39 evidence-member hashes were read back. Base-pinned94fffbcf root-note verification on that exact final head: ``` crumb verify: OK: 16 crumbs current ``` L673 receives an existing PR626 only packet, expected old head `81760bedfe634ec1a439a2e3f3e72f9302d1a14a`; no duplicate PR or resumed paused lanes. Signed/hosted exact-head gates, integrated acceptance and merged-main alert resolution remain pending. Alert1 and this issue stay OPEN until verified integration. No real credentials, Gandi/mailbox/live SMTP operations, model/GPU or service changes were used; live operator mailbox qualification is NOT_RUN. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:17 UTC Recovered GitHub comment. Original comment `6507685299` Closed by the merge of #626. Cited fixing commit: `a80ae6fca0e78d46e4e585a935f8cf091758c03b` (merged 2026-10-24T17:46:18Z, "spark-mail: native bounded IMAP reader replaces imap 2.4 (drops lexical-core GHSA-2326-pfpj-vx3h)"). `gh api repos/aien-dev/aien-sovereign-core-mv/compare/a80ae6fca0e78d46e4e585a935f8cf091758c03b...b65e00b0652a3b426dce1bf77f7fe4eccf5f7473` reports status ahead, behind_by 0, so that merge is contained in current main `b65e00b0652a3b426dce1bf77f7fe4eccf5f7473`. On that tree, `Cargo.lock` has no `lexical-core` package and no `imap` package, and `crates/spark-mail-rs` has no `lexical` or `imap` dependency match. No second implementation was added. DCO pending Drake. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:44 UTC Recovered GitHub comment. Original issue #707 · posting receipt `ab10e6060e59d33fd88a67c177eca453a3cd4a0bd3ec2b2f61687d397962cb94` Closing: lexical-core left the tree in `a80ae6fca0e78d46e4e585a935f8cf091758c03b`, which is contained in main `b65e00b0652a3b426dce1bf77f7fe4eccf5f7473`. Sign in to comment