
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@trezor/connect-web
Advanced tools
High-level javascript interface for Trezor hardware wallet in web environment.
This package is bundled into web implementations. User interface is presented in a secure popup window served from connect.trezor.io/<version>/popup.html
. To try it out, use @trezor/connect-explorer hosted here.
Contains minimum of code required to:
TrezorConnect
API object@trezor/connect-iframe
hosted on https://connect.trezor.io/<version>/iframe.html
@trezor/connect-popup
hosted on https://connect.trezor.io/<version>/popup.html
Install library as npm module:
npm install @trezor/connect-web
or
yarn add @trezor/connect-web
Include library as inline script:
<script src="https://connect.trezor.io/9/trezor-connect.js"></script>
ES6
import TrezorConnect from '@trezor/connect-web';
Inline
var TrezorConnect = window.TrezorConnect;
For more instructions refer to this document
git clone git@github.com:trezor/trezor-suite.git
yarn && yarn build:libs
yarn workspace @trezor/connect-web predev
yarn workspace @trezor/connect-web dev
Note: don't forget to visit https://localhost:8088/
and allow self-signed certificate. No UI is displayed here.The table below details the support for different environments by TrezorConnect for integrating Trezor devices, including the use of WebUSB and the need for Trezor Bridge.
Environment | Chrome | Firefox | Safari | Chrome Android | Firefox Android | Notes |
---|---|---|---|---|---|---|
Web (WebUSB) | ✓ | ✗ | ✗ | ✓ | ✗ | WebUSB is fully supported where indicated. (Chromium based browsers) |
Web (Bridge) | ✓ | ✓ | ✗ | ✗ | ✗ | Trezor Bridge is required where WebUSB is not supported. (e.g. Firefox) |
WebExtension (WebUSB, Bridge) | ✓ | ✓ | ✗ | ✓ | ✗ | Requires Trezor Bridge on platforms not supporting WebUSB. |
FAQs
High-level javascript interface for Trezor hardware wallet in web environment.
The npm package @trezor/connect-web receives a total of 113,586 weekly downloads. As such, @trezor/connect-web popularity was classified as popular.
We found that @trezor/connect-web demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.