
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@ocap/indexdb-elasticsearch
Advanced tools
OCAP indexdb adapter that uses elasticsearch as backend
OCAP indexdb adapter that stores data in elasticsearch
npm install @ocap/indexdb-elasticsearch
// or
pnpm install @ocap/indexdb-elasticsearch
const ESIndexDB = require('@ocap/indexdb-elasticsearch');
const indexdb = new ESIndexDB({
tokenLength: 28,
endpoint: process.env.ES_ENDPOINT,
auth:
process.env.ES_USERNAME && process.env.ES_PASSWORD
? {
username: process.env.ES_USERNAME,
password: process.env.ES_PASSWORD,
}
: null,
prefix: 'dev',
requestTimeout: 30000,
});
If you run this in production please set ES_SHARD_COUNT
and ES_REPLICA_COUNT
properly to achieve better reliability and performance
Create a file: indexdb/elasticsearch/.env.test
, and input:
ES_ENDPOINT=<elasticsearch endpoint>
ES_USERNAME=<elasticsearch username>
ES_PASSWORD=<elasticsearch password>
FAQs
OCAP indexdb adapter that uses elasticsearch as backend
The npm package @ocap/indexdb-elasticsearch receives a total of 38 weekly downloads. As such, @ocap/indexdb-elasticsearch popularity was classified as not popular.
We found that @ocap/indexdb-elasticsearch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.