Skip to content

release: v1.7.5 — exact-amount WETH approval (#18)#22

Merged
mugrebot merged 1 commit into
mainfrom
liquid/release-v1-7-5
Jun 9, 2026
Merged

release: v1.7.5 — exact-amount WETH approval (#18)#22
mugrebot merged 1 commit into
mainfrom
liquid/release-v1-7-5

Conversation

@mugrebot

@mugrebot mugrebot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

What

Version + changelog bump to publish the merged #18 security fix to npm. package.json was still 1.7.4 (= the npm registry version), so the exact-amount WETH approval fix is on main but unreleased.

  • package.json: 1.7.41.7.5
  • CHANGELOG.md: new [1.7.5] Security entry documenting the fix + revoke guidance

No source changes#18 (a8462b3) is already on main. This is purely the release metadata.

Why 1.7.5 (patch)

#18 is a security fix with no public API change: bidInAuction now approves SniperUtilV2 for exactly amountIn (was amountIn * 10n), so no standing WETH allowance survives a bid — closing the "drain via standing approval" surface (sibling Clanker fork, 2026-05). Complements the on-chain paymentPerGasUnit == 0 mitigation. Closes out G1.

Verification

  • npm run typecheck → clean
  • npm test223/223 passing (incl. the npm run build test)

⚠️ Release step (human)

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 tagging v1.7.5 at the same time.

🤖 Generated with Claude Code

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>
@mugrebot mugrebot requested a review from moggedcapital as a code owner June 9, 2026 16:43
@mugrebot mugrebot merged commit 1d7b42d into main Jun 9, 2026
4 checks passed
@mugrebot mugrebot deleted the liquid/release-v1-7-5 branch June 9, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant