Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@getsafle/vault-bitcoin-controller
Advanced tools
[![npm version](https://badge.fury.io/js/@getsafle%2Fvault-bitcoin-controller.svg)](https://badge.fury.io/js/@getsafle%2Fvault-bitcoin-controller) [![Discussions][discussions-
npm install --save @getsafle/vault-bitcoin-controller
const { KeyringController, getBalance } = require('@getsafle/vault-bitcoin-controller');
const bitcoinController = new KeyringController({
// 12 words mnemonic to create wallet
mnemonic: string,
// network - type of network [TESTNET|MAINNET]
// default is MAINNET even if no network is passed
network: string (TESTNET | MAINNET)
});
const keyringState = await bitcoinController.addAccount();
const privateKey = await bitcoinController.exportPrivateKey(address);
const privateKey = await bitcoinController.getAccounts();
const signedTx = await bitcoinController.signTransaction(bitcoinTx);
bitcoinTx: {from, to, amount, satPerByt}
const signedMsg = await bitcoinController.signMessage(msgString, address);
const fees = await bitcoinController.getFees(rawTransaction);
const balance = await getBalance(address, network); // if network !== TESTNET then it will fetch mainnet balance
2.0.2 (2023-11-18)
FAQs
[![npm version](https://badge.fury.io/js/@getsafle%2Fvault-bitcoin-controller.svg)](https://badge.fury.io/js/@getsafle%2Fvault-bitcoin-controller) [![Discussions][discussions-
The npm package @getsafle/vault-bitcoin-controller receives a total of 7 weekly downloads. As such, @getsafle/vault-bitcoin-controller popularity was classified as not popular.
We found that @getsafle/vault-bitcoin-controller 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.