Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
A fast and simple web server to host your Machine Learning model.
pip install meteorite
import json
import meteorite
app = meteorite.Meteorite()
app.set_webhook_url("https://testapp.via.routehead.com")
@app.predict
def predict(data):
body = data.decode("utf-8")
"""
Run your model on the input
"""
return body
app.start(port=4000) # port is 4000 by default
By default, the server starts at port 4000
. The predict
function will run with GET/POST requests on /predict
.
The set_webhook_url
function has been added to the Meteorite API to get responses from prediction requests. This makes Meteorite suitable for use in long-running ML tasks.
Your webhook URL must accept a POST request at the specific route. The result JSON will be sent as body of the request.
This project is under active development. We will not recommend you to use this package for critical applications. We will welcome all contributions! Please refer to the contributions section for more details.
Some of the features we're still working on:
Please refer to the CONTRIBUTING.md docs for details.
Join our Discord channel if you have more questions.
FAQs
A fast and simple web server for machine learning models
We found that meteorite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.