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.
Python web framework for building the backend of your project!
Some features:
Python 3.8+
Documentation is available at https://backendpy.readthedocs.io.
$ pip3 install backendpy
Or use the following command to install optional additional libraries:
$ pip3 install backendpy[full]
You also need to install an ASGI server such as Uvicorn, Hypercorn or Daphne:
$ pip3 install uvicorn
project/main.py
from backendpy import Backendpy
bp = Backendpy()
project/apps/hello/main.py
from backendpy.app import App
from .handlers import routes
app = App(
routes=[routes])
project/apps/hello/handlers.py
from backendpy.router import Routes
from backendpy.response import Text
routes = Routes()
@routes.get('/hello-world')
async def hello(request):
return Text('Hello World!')
project/config.ini
[networking]
allowed_hosts =
127.0.0.1:8000
[apps]
active =
project.apps.hello
Inside the project root path:
$ uvicorn main:bp
The basic structure of a project mentioned above can also be created by commands:
$ backendpy create_project --name myproject
To create a project with more complete sample components:
$ backendpy create_project --name myproject --full
Or to create an application:
$ backendpy create_app --name myapp
$ backendpy create_app --name myapp --full
FAQs
Async (ASGI) Python web framework
We found that backendpy 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.
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.