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.
Python SDK and CLI for BUX Zero (getbux.com).
Features:
Supported networking libraries:
Install bux and the networking library you want to use. If you don't know which one you need, just use requests.
python3 -m pip install bux requests
To make requests to the API, you need to get token. The library provides a CLI command specifically for this:
python3 -m bux get-token
Keep this token in secret! This is all you need to get full access to the API.
Show available commands:
python3 -m bux --help
Every command requires --token
argument. It's up to you how you store it. For example, in a file:
echo "MY_TOKEN" > .token
python3.9 -m bux info --token $(cat .token) NL0011540547
import bux
api = bux.UserAPI(token=your_token)
me = api.me().requests()
Every API endpoint is represented as a method of UserAPI
. Every such method returns a bux.Request
method which provides a method for every supported networking library (requests
, httpx
, and so on). Just call this method and you get the result. The result is represented as bux.Response
object which is just a dict
with some additional type-safe properties.
See the source code for CLI commands (bux/_commands) for the real-world usage examples.
FAQs
Unofficial SDK and CLI for BUX Zero API.
We found that bux 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
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.