
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
coind-client
Advanced tools
JSON-RPC client for crypto-currency bitcoind-based daemons. Adheres to Node.js/JavaScript callback/control-flow conventions/style.
Client for crypto-currency bitcoind-based daemons.
Code adapted from https://github.com/freewil/node-bitcoin to adhere to the Node.js/JavaScript callback/control-flow conventions/style, and to provide for faster/wrapper-less initialization.
var coind = require('coind-client');
var client = new coind.Client({
host: 'localhost',
port: 8332,
user: 'username',
pass: 'password'
});
// single request use:
client.cmd('getbalance', '*', 6, function(err, balance) {
if(err)
// handle error; e.g. with laeh2
console.log('Balance: %d', balance);
});
// batch request use:
var batch = [];
for (var i = 0; i < 10; ++i) {
batch.push({
method: 'getnewaddress',
params: ['myaccount']
});
}
client.cmd(batch, function(errors, addresses) {
if(errors)
// handle errors; e.g. with laeh2
for(var i = 0; i < addresses.length; i++)
console.log('Address: %s', addresses[i]);
});
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list
First, the basic install (for ubuntu) :
$ sudo apt-get update
$ sudo apt-get install build-essential libssl-dev libdb5.1-dev libdb5.1++-dev libboost-all-dev git
$ git clone https://github.com/litecoin-project/litecoin
$ cd litecoin/src
$ make -j4 -f makefile.unix USE_UPNP=
$ ne ~/.litecoind/litecoin.conf # cp what litcoind say
Then to make litecoind synchronized faster with the network (minutes instead of days) :
$ sudo apt-get install transmission-cli
$ mkdir dat
$ transmission-cli http://www.lurkmore.com/litecoin-bootstrap/litecoin-bootstrap.torrent -w dat
$ xz -d litecoin-bootstrap/bootstrap.dat.xz
$ cp bootstrap.dat ~/.litecoin/
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt \
-server -rpcuser=someusername -rpcpassword=somepasword -rpcport=1234
More tests!
MIT
FAQs
JSON-RPC client for crypto-currency bitcoind-based daemons. Adheres to Node.js/JavaScript callback/control-flow conventions/style.
The npm package coind-client receives a total of 6 weekly downloads. As such, coind-client popularity was classified as not popular.
We found that coind-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.