fix(deps): bump drizzle-orm to ^0.45.2 for GHSA-gpj5-g38j-94v9 - #21
Merged
Merged
Conversation
npm audit flags drizzle-orm < 0.45.2 (high): SQL injection via improperly escaped SQL identifiers. Our query paths use the parameterized builder, but table/column identifiers flow through drizzle's escaping, so take the fix rather than reason about exposure. 0.39 -> 0.45.2 required no code changes: the whole workspace compiles and all 1,270 tests pass unchanged. Lockfile verified with a clean-room npm ci (Linux-native optionals still present for CI). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
(Replaces #20, which was auto-closed when its stacked base branch merged.)
Clears the last high advisory in
npm audit --omit=dev: drizzle-orm < 0.45.2 has SQL injection via improperly escaped SQL identifiers (GHSA-gpj5-g38j-94v9). With #19 merged, this brings the audit down to 2 moderates (Next.js's internally bundled postcss copy, fixed upstream only in the 16.3 canary line).drizzle-orm ^0.39.0 → ^0.45.2in@agentops/db. No code changes needed — full workspace compiles and all 1,270 tests pass unchanged.npm ci(Linux-native optionals present for CI).🤖 Generated with Claude Code