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.
py-assembly-payments
Advanced tools
Unofficial Python client for the Assembly Payments API
This package is still undergoing development and is pre-v1. It currently implements around 30% of the Assembly Payments API. You can keep up with the coverage here
pip install py-assembly-payments
from assembly_payments.client import AssemblyClient
client = AssemblyClient(client_id=CLIENT_ID, client_secret=CLIENT_SECRET)
# List Users
client.users.list()
# Create User
user = client.users.create(
id="your-user-id",
first_name="Jane",
last_name="Doe",
email="jane.doe@example.com"
)
# Easy object access
print(user.first_name + user.last_name) # Jane Doe
You can set your auth credentials in two ways:
AssemblyClient(client_id=CLIENT_ID, client_secret=CLIENT_SECRET, scope=CLIENT_SCOPE, grant_type="client_credentials")
AssemblyClient
will pick up from:export ASSEMBLY_CLIENT_ID=my-client-id
export ASSEMBLY_CLIENT_SECRET=my-client-secret
export ASSEMBLY_SCOPE=my-scope
grant_type
defaults to "client_credentials"
and can only be controlled by an argument to AssemblyClient
.
FAQs
Python wrapper around the Assembly Payments API
We found that py-assembly-payments 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.