Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@ledgerhq/hw-transport-web-ble
Advanced tools
Ledger Hardware Wallet Web Bluetooth implementation of the communication layer
GitHub, Ledger Devs Discord, Developer Portal
Allows to communicate with Ledger Hardware Wallets.
[Web] (Bluetooth) – check browser support.
You may be using this package to open a Bluetooth connection between your web application and the device.
For a smooth and quick integration:
Extends Transport
react-native bluetooth BLE implementation
device
DevicewriteCharacteristic
CharacteristicnotifyObservable
Observable<any>deviceModel
DeviceModelimport BluetoothTransport from "@ledgerhq/hw-transport-web-ble";
Exchange with the device using APDU protocol.
apdu
BufferReturns Promise<Buffer> a promise of apdu response
observe event with { available: bool, type: string } (available is generic, type is specific) an event is emit once and then each time it changes
observer
anyScan for Ledger Bluetooth devices. On this web implementation, it only emits ONE device, the one that was selected in the UI (if any).
observer
anyopen a bluetooth device.
deviceOrId
(Device | string)globally disconnect a bluetooth device by its id.
id
anyFAQs
Ledger Hardware Wallet Web Bluetooth implementation of the communication layer
We found that @ledgerhq/hw-transport-web-ble demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.