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.
bitcoin-coinify-client
Advanced tools
This is used by My-Wallet-V3.
npm install bitcoin-coinify-client --save
Three things are needed:
delegate
object (see example) with functions that provide the following:function () { return JSON.stringify(this._coinify);
}email()
-> String : the users email addressisEmailVerified()
-> Boolean : whether the users email is verifiedgetToken()
-> stringify : JSON web token {email: 'me@example.com'}monitorAddress(address, callback)
: callback(amount)
if btc receivedcheckAddress(address)
: look for existing transaction at addressgetReceiveAddress(trade)
: return the trades receive addressreserveReceiveAddress()
releaseReceiveAddress()
serializeExtraFields(obj, trade)
: e.g. obj.account_index = ...
deserializeExtraFields(obj, trade)
var object = {user: 1, offline_token: 'token'};
var coinify = new Coinify(object, delegate);
coinify.partnerId = ...;
coinify.delegate.save.bind(coinify.delegate)();
delegate.trades = coinify.trades
// "{"user":1,"offline_token":"token"}"
To see a demo switch to Node 7.2 or higher and run:
nvm use 7.2
node demo.js
To use a local version of bitcoin-exchange-client, create a symlink:
cd ..
rm -rf bitcoin-coinify-client/node_modules/bitcoin-exchange-client
ln -s ../../bitcoin-exchange-client bitcoin-coinify-client/node_modules/bitcoin-exchange-client
To use a local version of this repo inside my-wallet-v3, create a symlink:
cd ..
rm -rf My-Wallet-V3/node_modules/bitcoin-coinify-client
ln -s ../../bitcoin-coinify-client My-Wallet-V3/node_modules/bitcoin-coinify-client
Note that Grunt won't detect these changes.
Change version in package.json
.
git commit -a -m "v0.1.0"
git push
git tag -s v0.1.0
git push --tags
make changelog
Add the relevant sections of Changelog.md to the tag on Github and mark it as pre-release.
npm publish
FAQs
Buy and sell Bitcoin using Coinify API.
The npm package bitcoin-coinify-client receives a total of 16 weekly downloads. As such, bitcoin-coinify-client popularity was classified as not popular.
We found that bitcoin-coinify-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.
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.