Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
The banana package is a python client to interact with your machine learning models hosted on Banana
Please see our usage docs in the official Banana Documentation
Set up the environment and install the package in editable mode
python -m venv .venv
source .venv/bin/activate
pip install -e ./
Set up a test directory to play around with the changes
mkdir tests
cd tests
touch test.py
Create some script
from banana_dev import API
api = API("11111111-1111-1111-1111-111111111111")
projects, status = api.list_projects()
print('list', projects, status)
project, status = api.get_project(projects["results"][0]["id"])
print('get', project, status)
updated_project, status = api.update_project(projects["results"][0]["id"], {"maxReplicas": 2})
print('update', updated_project, status)
Run it
python test.py
FAQs
The banana package is a python client to interact with your machine learning models hosted on Banana
We found that banana-dev 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.