
Security News
Cline CLI npm Package Compromised via Suspected Cache Poisoning Attack
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.
@trezor/utxo-lib
Advanced tools
Javascript Bitcoin and Bitcoin-like altcoins library for node.js and browsers.
This library is a fork of the bitcoinjs-lib and it is profiled to work with Trezor environment.
It enables standard operations such as generating addresses, creating transactions, importing/exporting keys etc.
Not all the modules/methods from the upstream are present here (like ecpair, psbt...) since we didn't use them for now, however they might be easily added in the future.
You probably don't want to use this package directly. Try one of the alternatives instead:
This is the fifth and hopefully the ultimate attempt to fork and maintain bitcoinjs-lib.
Differences are explicitly described in each file.
Transaction class is extended by each custom altcoin implementation.Transaction class is parsing amounts as strings.address module uses different encoding for Decred and handles Bitcoin Cash addresses.coinselect and compose modules (origin source: https://github.com/trezor/hd-wallet/tree/master/src/build-tx)block, classify, ecpair, psbt.This package is published to the npm registry because it is a dependency of @trezor/connect which can be installed as a standalone package.
Follow instructions how to publish @trezor package to npm registry.
FAQs
Client-side Bitcoin-like JavaScript library
The npm package @trezor/utxo-lib receives a total of 127,710 weekly downloads. As such, @trezor/utxo-lib popularity was classified as popular.
We found that @trezor/utxo-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.