Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@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
The npm package @ledgerhq/hw-transport-web-ble receives a total of 32,941 weekly downloads. As such, @ledgerhq/hw-transport-web-ble popularity was classified as popular.
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.