
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
qubu
Advanced tools
QuBu is a simple database query builder for Python.
Currently supported only some of MongoDB's main operators, such as:
pip install qubu
Following Python code:
from qubu import And, Or, Not, Eq, Ne, Gt
e = Or(
And(
Eq('foo', 'bar'),
Ne('bar', 'baz')
),
Not(Gt('salary', 1500)),
Eq('allowed', True),
)
e.compile()
will give following object:
{'$or': [
{'$and': [
{'foo': {'$eq': 'bar'}},
{'bar': {'$ne': 'baz'}}
]},
{'salary': {'$not': {'$gt': 1500}}},
{'allowed': {'$eq': True}}
]}
Work in progress.
python setup.py test
If you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.
origin.upstream.develop if it exists, else from
master.origin.develop branch if there is one, else go for master.upstream to your local repo and delete your extra branch(es).And last but not least: Always write your commit messages in the present tense. Your commit message should describe what the commit, when applied, does to the code – not what you did to the code.
If you have any issues or enhancement proposals feel free to report them via project's Issue Tracker.
None
This project is licensed under the MIT License. See the LICENSE.md file for details.
FAQs
A Simple Database Query Builder
We found that qubu 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.