
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@ledgerhq/hw-transport-webauthn
Advanced tools
Ledger Hardware Wallet Web implementation of the communication layer, using WebAuthN api
Github, API Doc, Ledger Devs Slack
Allows to communicate with Ledger Hardware Wallets.
[Web] (WebAuthn) – WebAuthn api. check browser support.
There is a "blink" at each time there is a communication with the device due to WebAuthn. WebAuthn is meant for authentification and we use it for communication, ideally prefer WebUSB.
Extends Transport
WebAuthn Transport implementation
import TransportWebAuthn from "@ledgerhq/hw-transport-webauthn";
...
TransportWebAuthn.create().then(transport => ...)
Exchange with the device using APDU protocol.
apdu
BufferReturns Promise<Buffer> a promise of apdu response
A scramble key is a string that xor the data exchanged. It depends on the device app you need to exchange with. For instance it can be "BTC" for the bitcoin app, "B0L0S" for the dashboard.
scrambleKey
stringtransport.setScrambleKey("B0L0S")
FAQs
Ledger Hardware Wallet Web implementation of the communication layer, using WebAuthN api
We found that @ledgerhq/hw-transport-webauthn demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.