
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.