
Security News
AI Slop Is Polluting Bug Bounty Platforms with Fake Vulnerability Reports
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
This is a wrapper of a FAST API application with some additional features that might be useful for quick web development.
It features:
commons.logging
;.sql
files, or migrate json
data that runs automagically on server startup;webserver.core.ServerDatabase
)webserver.core.ServerCache
)Accept-Language
(webserver.core.AvailableLocale
)webserver.frontend.css
);Jinja2Template
;webserver.extras.proxies
):
The following features are expected to be implemented in the future. Contribution is welcome.
coverage run -m unittest && coverage html -d tests/coverage/html
uv build && twine upload dist/*
Optionally, set up the environment variables. All environment variables can be found on .env
file in the root of this repository.
import webserver
from fastapi import APIRouter, FastAPI
router: APIRouter = APIRouter()
app: FastAPI = webserver.app
@router.get("/")
def index():
return {"Hello World": f"from {webserver.settings.APP_NAME}"}
app.include_router(router)
if __name__ == "__main__":
webserver.start()
This enables both local execution through main
method as well as fastapi (dev|run)
commands.
FAQs
A simple FastAPI webserver with a bunch of useful resources.
We found that fastapi-webserver 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
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
Research
Security News
The Socket Research team investigates a malicious Python package disguised as a Discord error logger that executes remote commands and exfiltrates data via a covert C2 channel.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.