← Back to Pull requests

Update dependencies and waive the unfixable SQLite advisory #389

Open
unknown opened this pull request with 508 lines diff across 6 files
View on GitHub
unknown unknown commented on Nov 15, 2026 01:53 UTC
Author

The Rust audit has failed on every pull request since RUSTSEC-2026-0459 was published, so the four open Dependabot updates could not merge. This lands them together and gets the audit passing again.

SQLite advisory. SQLite before 3.54.0 can return stale memory when it opens a database beside a crafted -wal file. The fix needs libsqlite3-sys 0.39, and SQLx 0.9.0 still requires a version below 0.38, so there is nothing to upgrade to yet. Cubby only opens its own history, plus a Ditto database that it first copies alone to a temp file and opens immutable, so no outside -wal is ever read. The audit now permits the advisory and fails if the Ditto import stops working that way. SECURITY.md has the reasoning and a review date of 2026-12-14.

Updates.

  • vitest 5.1.0 and jsdom 31 (replaces #386 and #388)

  • uuid 1.29.2 (replaces #387)

  • install-action 2.90.3 and action-gh-release 3.0.4, both pinned to the commits their tags point at (replaces #385)

  • minimatch 11.0.8 and zod 4.6.7, both dev-only, to clear their advisories
  • Lint, format check, build, release check and the 198 frontend tests pass locally, and pnpm audit is clean. The Rust audit and Windows checks run here in CI.

    <!-- Macroscope's pull request summary starts here -->
    <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. -->
    <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. -->

    [!NOTE]

    ### Update dependencies and waive the unfixable SQLite advisory RUSTSEC-2026-0459

    - Documents a waiver for the SQLite stale-memory advisory RUSTSEC-2026-0459 in SECURITY.md, covering the SQLx/libsqlite3-sys version constraint, the read-only database access patterns, and review dates

    - Updates audit-rust.ps1 to ignore RUSTSEC-2026-0459 during cargo audit and to verify that src-tauri/src/ditto_import.rs still copies the Ditto database to a temp path and opens it read-only and immutable — the condition for keeping the waiver

    - Bumps JS dependencies: jsdom ^31.0.0, Vitest ^5.1.0, and a minimatch@10 override to 11.0.8 (replacing the brace-expansion override) in package.json and pnpm-workspace.yaml

    - Bumps GitHub Actions: taiki-e/install-action v2.89.1 → v2.90.3 and softprops/action-gh-release v3.0.3 → v3.0.4 in release.yml

    - Behavioral Change: the audit script now fails if the Ditto import code stops matching the expected private-copy, read-only, immutable open pattern

    > <!-- Macroscope's review summary starts here -->

    > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 20838f5.</sup>

    <!-- Macroscope's review summary ends here -->

    <!-- Macroscope's pull request summary ends here -->

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Chores
    Updated release workflow actions and development tooling dependencies.
    Updated a dependency version override.
    Documentation
    Documented a temporary security advisory waiver, its review dates, and removal conditions.
    Tests
    * Added a check to ensure the Ditto import uses a temporary, read-only database copy before the audit proceeds.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 508 lines (+381 / -127) across 6 files Reviewer: coderabbitai[bot] Review duration: 6m
    All Vouch review confidence checks passed
    Residual risk 0.35 = Change Risk (0.48) × (1 − Review Confidence (0.26)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 508 lines diff across 6 files
    0.48
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 51% · Reviewer familiarity: 35%
    26%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.373
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #389"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: medium confidence: 26.4% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 47.6% (MEDIUM) · Higher = larger blast radius
    47.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 26.4% · Lower = rushed or shallow review
    26.4%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 35% · Moderate risk
    35%