Skip to content

chore(control): update Better Auth patches to restore audit gate #343

Closed

Description

@abruption

Release-gate failure

The post-merge v1.3.2 integration gate fails Node production audit on main dac1c30b1553136b9379be0c6d94eef34ccbad51: https://github.com/abruption/session-peer/actions/runs/40611313475

The registry report identifies Better Auth 1.7.5 and its Drizzle adapter. Public advisories published after the earlier PR checks list 1.7.7 as the first patched release:

The inspected Control source configures bearer/device-authorization plugins and SQLite, not Magic Link, OAuth Proxy or PostgreSQL. The installed dependency graph is flagged; this report does not establish that the inspected configuration or a deployed service is exploitable. No production account, credential or exploit test was used.

Required source correction

Update the exact direct better-auth and @better-auth/core pins together from 1.7.5 to the minimal patched 1.7.7 and resolve their aligned adapters/telemetry. Preserve unrelated dependency versions and audit/protection policy. Verify clean installation, typecheck/build, Control and Node/Python contract tests, and both production/full audits before normal review/merge. Do not use force/override exclusions to silence the audit.

Plan under v1.3.2, priority P1 (development priority, not a replacement for advisory severity). User-authorized release preparation includes fixing the gate; operational deployment is separate. Python package publication does not deploy Node Control. Operators updating Control must separately assess the upstream compatibility notes, including pending sign-in state, and authorize their rollout.

Activity

  1. added this to the v1.3.2 milestone on Oct 28, 2026
  2. added
    bug
    priority:P1
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P1

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions