Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
This project contains optimizations (hacks) for MySQL for Django ORM.
It's based on Django 1.7 (master branch). It was started on PyCon 2014 Development Sprint.
We are going to test possible regressions that might appear in real projects. This backend will pass all Django tests, but we still have to test it in real projects.
There are two very simple ways to cacth INNER JOIN bug:
list_display
in your Django Admin model;In these cases even if you limit query by 1 it will join whole tables, order them and only after that it will slice it to limit. Thus if you have i.e. 400k records in two tables it would take 3+ seconds to get small slice. STRAIGHT_JOIN forces MySQL work as we expect: order -> slice -> join.
Specify django-mysql-fix backend in your DATABASES setting in Django settings.py::
DATABASES = {
'default': {
'ENGINE': 'django_mysql_fix.backends.mysql',
...
},
}
Tested with Django master branch and Django 1.6.0+.
It doesn't work with Django <= 1.5.x.
For now there is only one optimization there.
FAQs
This project contains optimizations (hacks) for MySQL for Django ORM
We found that django-mysql-fix 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.