
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
The OptiAttack Client (optiattack_client
) is a FastAPI-based server package designed to facilitate remote integration between the OptiAttack core engine and external models or systems under test (NUT). It provides a simple decorator and API endpoints for seamless communication and adversarial test execution.
You can install the OptiAttack Client package using pip:
pip install optiattack-client
Alternatively, if you want to install from the local directory (for development or custom modifications), run:
cd client
pip install -e .
from optiattack_client import collect_info
@collect_info(host="localhost", port=38000)
def predict(image_array):
# Your prediction logic here
return {"predictions": ...}
The client exposes the following endpoints (default base path: /api/v1
):
GET /api/v1/infoNUT
— Get the current state of the NUTPOST /api/v1/runNUT
— Run a prediction on the NUT (expects base64-encoded image)POST /api/v1/stopNUT
— Stop the NUTPOST /api/v1/newAction
— Apply a new action (mutation) and get predictionSee client/constants.py
for all endpoint paths and defaults.
from optiattack_client import collect_info
@collect_info(host="localhost", port=38000)
def predict(image_array):
# Example: Use your ML model to predict
# result = model.predict(image_array)
return {"predictions": [0.1, 0.9]} # Example output
# The FastAPI server is now running at http://localhost:38000
collect_info
decorator arguments.client/constants.py
.Contributions are welcome! Please open issues or pull requests for bug fixes, new features, or documentation improvements.
This package is part of the OptiAttack project and is licensed under the GNU Lesser General Public License v3 (LGPLv3).
FAQs
A FastAPI decorator to track method calls and manage state.
We found that optiattack-client 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.