
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
FastAPI AutoDoc is a library designed to help developers generate and manage project documentation dynamically for Python projects. It integrates seamlessly with FastAPI and provides a web-based dashboard for managing and viewing documentation.
You can install the library using pip:
pip install fastapi-autodoc==1.0.10
After installing the library, you can run the FastAPI AutoDoc server using the following command:
fastapi-autodoc generate
fastapi-autodoc runserver
This will start the server on http://127.0.0.1:8000
by default.
Once the server is running, you can access the web-based dashboard at:
http://127.0.0.1:8000/api/v1/documentation/dashboard
From the dashboard, you can:
To verify that the server is running, you can access the health check endpoint:
http://127.0.0.1:8000/health
This will return a JSON response indicating the status of the service:
{
"status": "ok"
}
You can customize the behavior of FastAPI AutoDoc by setting environment variables in a .env
file. For example:
PROJECT_PATH=the path to the project you want to document
DEBUG=True
Contributions are welcome! Feel free to open issues or submit pull requests on the GitHub repository.
FAQs
A FastAPI library for generating and managing project documentation
We found that fastapi-autodoc 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
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.