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.
Python 3.10 or higher is required
pip install aenox
To be able to perform your API query properly, replace [YOUR_API_KEY]
with a valid API key.
To get an API Key, invite the bot to your discord server and simply run /api
.
from aenox import AenoXAPI
api = AenoXAPI(api_key="[YOUR_API_KEY]")
print(api.test()) # Returns "Success!" if it is installed correctly
You can send 20 queries per second to the API. If you attempt to send another request before this cooldown has passed, you will receive a aenox.errors.CooldownError
.
You cannot run this query twice within 2 seconds:
from aenox import AenoXAPI
api = AenoXAPI(api_key="[YOUR_API_KEY]")
api.get_user_stats(user_id=123)
In such cases, use try/except
to handle the error. For example:
from aenox import CooldownError
from aenox import AenoXAPI
api = AenoXAPI(api_key="[YOUR_API_KEY]")
try:
api.get_user_stats(user_id=123)
except CooldownError:
print('Cooldown!')
FAQs
Official wrapper for the AenoX API
We found that aenox 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.