Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
DRF Blog Bridger is a simple tool that allows Django Rest Framework Developers to set up a simple blog API without worrying about the underlying code. The tool takes care of things like CRUD operations for blog posts, as well as the comment feature for each post.
The following instructions will help you install DRF Blog Bridger on your local system and have it running. You can read the full documentation on Read The Docs.
Install the package with:
pip install drf_blog_bridger
Include the following settings in your settings.py
file:
INSTALLED_APPS = [
'blog_bridger_drf',
'rest_framework',
]
REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES':[
'rest_framework.permissions.IsAuthenticatedOrReadOnly',
]
}
Include the following in your project-level urls.py
file:
path('api/posts/', include('blog_bridger_drf.urls')),
Run python manage.py migrate
to migrate the models into your database. You should read the API reference to understand how the endpoints work.
FAQs
A DRF app that provides CRUD endpoints for a blog app.
We found that drf-blog-bridger 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.