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.
This API connect to Shrimpy Developers API in a more flexible way than the official API.
It also covers a Shrimpy Users API that wasn't available until now.
Signature headers and hashing are fully covered, no hassle.
This Shrimpy library has the following features:
client.get("/list_exchanges")
instead of searching for corresponding method when they existYou probably want a virtualenv first, then:
pip install shrim-py
This API allows you to connect to the Shrimpy Developers API or the Shrimpy User API.
from shrimpy import ShrimpyDevClient
client = ShrimpyDevClient("myapikey", "myapisecret")
client.get("/list_exchanges")
if you want to connect to the Shrimpy User API instead just import and use ShrimpyUserClient
instead:
from shrimpy import ShrimpyUserClient
client = ShrimpyUserClient("myapikey", "myapisecret")
client.get("/binance/ticker")
when creating a client
you can then call the following methods: get
, post
and delete
.
client.get(endpoint)
client.post(endpoint)
client.delete(endpoint)
There's no other method used in Shrimpy. However if you needed to manually call an endpoint with a different method you could shortcut using client.call(method, endpoint)
.
The full list of endpoints for the User API for accessing public resources, account, portfolios and data types is available on the official doc: https://www.shrimpy.io/docs
With the Developers API endpoint you can manage public, trading, historical, user info, management and analytics data: https://developers.shrimpy.io/docs
With your virtualenv activated simply run:
make test
It's a handy shortcut for launching unittest.
FAQs
The Better Shrimpy Python Client for Dev and User APIs
We found that shrim-py demonstrated a healthy version release cadence and project activity because the last version was released less than 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.