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.
crypto is a utiity for keeping track of all your cryptocurrency accounts. It aims to do the following
in order that:
First install ruby/rubygems. Then install this
gem install gtmtech-crypto
Firstly set up some accounts
$ crypto account add --name barclays --currencies GBP --type bank
$ crypto account add --name kraken --currencies GBP,BTC --type exchange
$ crypto account add --name ledger --currencies BTC,ETH --type wallet
Then trade
$ crypto txn add --from barclays.GBP=200 --to bitbargain.GBP
$ crypto txn add --from kraken.GBP=150 --to kraken.BTC=0.08
some transactions have fees associated with them
$ crypto txn add --from kraken.BTC=0.08 --to ledger.BTC=0.078 # implicit fees of 0.0002 BTC
$ crypto txn add --from kraken.BTC=0.08 --to ledger.BTC --fees.BTC=0.002 # extra fees paid at source (kraken)
Output transaction history
$ crypto txn list # all transactions
$ crypto txn list --account barclays # all barclays transactions
$ crypto txn list --currency BTC # all bitcoin transactions
Output pnl sheet
$ crypto pnl # profit-and-loss
You can keep track of different user profiles, using the CRYPTO_PROFILE environment variable:
$ export CRYPTO_PROFILE=antony
$ crypto account list
Install chruby and ruby-build
Install version 2.0.0 of ruby using chruby
$ ruby-install ruby 2.0.0
or $ ruby-build ruby 2.0.0
Build the gem
$ ./build.sh
Please see LICENSE.TXT for usage of this software.
FAQs
Unknown package
We found that gtmtech-crypto 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
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.