release: v1.7.5 — exact-amount WETH approval (#18)#22
Merged
Conversation
Bumps liquid-sdk 1.7.4 → 1.7.5 to ship the merged #18 security fix: bidInAuction approves SniperUtilV2 for exactly amountIn (was amountIn*10), leaving no standing WETH allowance for the drain-via-approval exploit class. Adds the [1.7.5] CHANGELOG entry (Security) with revoke guidance for users who bid through an older multiplier-approving SDK. No source changes — #18 is already on main; this is the version/changelog bump so the fix can be published to npm. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
What
Version + changelog bump to publish the merged #18 security fix to npm.
package.jsonwas still1.7.4(= the npm registry version), so the exact-amount WETH approval fix is onmainbut unreleased.package.json:1.7.4→1.7.5CHANGELOG.md: new[1.7.5]Security entry documenting the fix + revoke guidanceNo source changes — #18 (
a8462b3) is already onmain. This is purely the release metadata.Why 1.7.5 (patch)
#18 is a security fix with no public API change:
bidInAuctionnow approvesSniperUtilV2for exactlyamountIn(wasamountIn * 10n), so no standing WETH allowance survives a bid — closing the "drain via standing approval" surface (sibling Clanker fork, 2026-05). Complements the on-chainpaymentPerGasUnit == 0mitigation. Closes out G1.Verification
npm run typecheck→ cleannpm test→ 223/223 passing (incl. thenpm run buildtest)This PR does not publish. After merge, someone with npm auth must run
npm run build && npm publish(no release CI / publish workflow exists in this repo, and publishing is irreversible). Recommend taggingv1.7.5at the same time.🤖 Generated with Claude Code