
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).
ejdb2_node
Advanced tools
Embeddable JSON Database engine http://ejdb.org Node.js binding.
See https://github.com/Softmotions/ejdb/blob/master/README.md
For API usage examples take a look into /example and test.js
import { EJDB2 } from "ejdb2_node";
async function run() {
const db = await EJDB2.open("example.db", { truncate: true });
var id = await db.put("parrots", { name: "Bianca", age: 4 });
console.log(`Bianca record: ${id}`);
id = await db.put("parrots", { name: "Darko", age: 8 });
console.log(`Darko record: ${id}`);
const q = db.createQuery("/[age > :age]", "parrots");
for await (const doc of q.setNumber("age", 3).stream()) {
console.log(`Found ${doc}`);
}
await db.close();
}
run();
git clone https://github.com/Softmotions/ejdb.git
cd ./ejdb
mkdir ./build && cd build
cmake .. -DBUILD_NODEJS_BINDING=ON -DCMAKE_BUILD_TYPE=Release
make
cd src/bindings/ejdb2_node/ejdb2_node
yarn pack
FAQs
EJDB2 Node.js native binding
The npm package ejdb2_node receives a total of 1 weekly downloads. As such, ejdb2_node popularity was classified as not popular.
We found that ejdb2_node 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.
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.