
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
$ npm install edbmsconst EDBMS = require('edbms');
EDBMS.url('http://localhost:9200');
var db = EDB();
// Listing - Performs index/_search
var builder = db.list('index');
builder.scope('query.bool.must[]');
builder.push('match', { title: 'my_search_phrase' });
builder.callback(function(err, response) {
// ...
});
// Read single document
db.read('index', 'type', '_id').callback(function(err, response) {
// ...
});
// Create a new document and manual refresh
db.insert('index', 'type', model).refresh().callback(function(err, response) {
// ...
});
// Update document
db.update('index', 'type', '_id', model).callback(function(err, response) {
// ...
});
// Partial update
db.modify('index', '_id', model).callback(function(err, response) {
// ...
});
// Delete document
db.delete('index', 'type', 'id').callback(function(err, response) {
// ...
});
// Delete by query
var builder = db.delete('index');
builder.scope('query.bool.must[]');
builder.push('term', { userid: 5 });
builder.callback(function(err, response) {
// ...
});
// Custom query
// Available methods: POST (default), GET, PUT, DELETE
var builder = db.exec('GET /YOUR-INDEX/TYPE/_search');
builder.scope('query.bool.must[]');
builder.push('term', { userid: 5 });
builder.callback(function(err, response) {
// ...
});
// Refresh index
db.refresh('index').callback(function(err, response) {
console.log(err, response);
});
// Count of documents
var builder = db.count('index');
builder.scope('query.bool.must[]');
builder.push('term', { userid: 5 });
builder.callback(function(err, response) {
// ...
});
FAQs
ElasticSearch Database Management System
We found that edbms demonstrated a not healthy version release cadence and project activity because the last version was released 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.