Skip to content

Version Packages - #520

Merged
kome12 merged 1 commit into
mainfrom
changeset-release/main
Aug 26, 2026
Merged

Version Packages#520
kome12 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

nansen-cli@1.41.0

Minor Changes

  • #512 ba42a9c Thanks @kome12! - Validate Solana swap quotes against the original request before signing (local, Privy, and WalletConnect wallets). The CLI now checks that a quote's chain, token pair, amounts, and target wallet match what was requested at quote time and refuses to sign when they don't, bringing Solana in line with the existing EVM checks. --swap-mode exactOut now also requires --max-input on Solana (previously EVM-only), so the maximum spend is bounded by a value you supply rather than one taken from the quote itself.

  • #514 1bc7337 Thanks @kome12! - trade execute and trade limit-order on Solana now statically check the aggregator's compiled instructions before signing, and reject a transaction that grants a token delegate, changes a token account's authority, closes an account with its rent redirected to a stranger, or sets an excessive compute-budget priority fee — closing a class of drain vector a balance-delta simulation alone can't see.

  • #522 820bf05 Thanks @kome12! - Verify a Solana swap's simulated on-chain outcome before signing (local, Privy, and WalletConnect wallets), mirroring the existing EVM balance-delta check. The CLI simulates the aggregator's transaction and confirms the wallet's balance changes match the quote — input spent within your max, expected output received, no other asset drained — refusing to sign on a mismatch or an in-simulation revert. Covered by the existing --no-verify-outcome flag; degrades with a warning (and still signs) when no simulation-capable RPC is available, so an RPC outage never blocks a trade. New env var: NANSEN_SOLANA_SIM_RPC.

Patch Changes

  • #519 55ab7db Thanks @kome12! - trade execute: confirm EVM transactions against the hash derived locally from
    the signed bytes instead of trusting the broadcaster's reported hash, and fail
    closed if they disagree. Once a transaction has been broadcast, every uncertain
    outcome now aborts the whole execute instead of silently trying the next quote
    (which could broadcast a second transaction): a hash mismatch, a signed
    transaction we cannot re-derive a hash for, and a receipt-confirmation timeout
    (distinguished from a genuine on-chain revert) are all fatal across the swap,
    approval, and revoke paths. Broadcaster hashes are also compared
    prefix-insensitively, so a bare (0x-less) hash is no longer a false mismatch.

  • #521 977e326 Thanks @aikido-autofix! - Fix potential path traversal in safeQuotesPath by rejecting absolute relative paths (Windows cross-drive escape).

  • #497 223a9d5 Thanks @crazywriter1! - Reject --oid values above 2^53-1 on perp cancel: large Hyperliquid uint64 order IDs would be silently rounded by JS Number, potentially cancelling the wrong order.

@nansen-pr-reviewer

nansen-pr-reviewer Bot commented Aug 26, 2026

Copy link
Copy Markdown

pr-reviewer Summary for #a7eba58

No issues found

The code review completed successfully with no findings.

Review effort: 1/5 (Trivial)

Summary

This is the automated Changesets release PR bumping nansen-cli from 1.40.11.41.0. The changeset is correct: three minor-tagged changesets (#512, #514, #522) and three patch-tagged changesets (#519, #521, #497) were consumed, and the aggregated semver bump to minor is accurate. CHANGELOG.md, package.json, and package-lock.json are all consistent. No production code was modified in this PR — it is safe to merge whenever the team is ready to publish to npm.


Token usage: 2,523 input, 1,880 output, 147,266 cache read, 25,717 cache write | Usage Guide

New pushes are reviewed automatically with a 10-minute cooldown between reviews. To request a review at any time, comment @nansen-pr-reviewer re-review.

nansen-pr-reviewer[bot]
nansen-pr-reviewer Bot previously approved these changes Aug 26, 2026

@nansen-pr-reviewer nansen-pr-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved

This PR was automatically approved because:

  • Claude recommends approval
  • Claude assessed this as a minimal effort change
  • The effort level is within the auto-approval threshold of 2
  • No high or critical issues were detected

If you have any concerns, please request a manual review.

nansen-pr-reviewer[bot]
nansen-pr-reviewer Bot previously approved these changes Aug 26, 2026

@nansen-pr-reviewer nansen-pr-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved

This PR was automatically approved because:

  • Claude recommends approval
  • Claude assessed this as a minimal effort change
  • The effort level is within the auto-approval threshold of 2
  • No high or critical issues were detected

If you have any concerns, please request a manual review.

nansen-pr-reviewer[bot]
nansen-pr-reviewer Bot previously approved these changes Aug 26, 2026

@nansen-pr-reviewer nansen-pr-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved

This PR was automatically approved because:

  • Claude recommends approval
  • Claude assessed this as a minimal effort change
  • The effort level is within the auto-approval threshold of 2
  • No high or critical issues were detected

If you have any concerns, please request a manual review.

nansen-pr-reviewer[bot]
nansen-pr-reviewer Bot previously approved these changes Aug 26, 2026

@nansen-pr-reviewer nansen-pr-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved

This PR was automatically approved because:

  • Claude recommends approval
  • Claude assessed this as a minimal effort change
  • The effort level is within the auto-approval threshold of 2
  • No high or critical issues were detected

If you have any concerns, please request a manual review.

nansen-pr-reviewer[bot]
nansen-pr-reviewer Bot previously approved these changes Aug 26, 2026

@nansen-pr-reviewer nansen-pr-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved

This PR was automatically approved because:

  • Claude recommends approval
  • Claude assessed this as a minimal effort change
  • The effort level is within the auto-approval threshold of 2
  • No high or critical issues were detected

If you have any concerns, please request a manual review.

@nansen-pr-reviewer nansen-pr-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved

This PR was automatically approved because:

  • Claude recommends approval
  • Claude assessed this as a minimal effort change
  • The effort level is within the auto-approval threshold of 2
  • No high or critical issues were detected

If you have any concerns, please request a manual review.

@kome12
kome12 merged commit 998f4fe into main Aug 26, 2026
9 checks passed
@kome12
kome12 deleted the changeset-release/main branch August 26, 2026 23:20
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