
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
basex-stream
Advanced tools
BaseX client for nodeJS using streams and promises.
var basex = require("basex-stream");
var session = basex({
host: "127.0.0.1",
port: 1984,
user: "admin",
pass: "admin"
});
Create new databases with
session.create("test");
Issue a database command with
session.command("LIST")
.spread(function (output, info) {
console.log(output);
});
or get a streamable response by using the promise's out property
var p = session.command("LIST");
p.out.pipe(process.stdout);
p.then(function (output, info) {
// Now that the output stream is consumed output is null
console.log("The string was consumed, thus output is " + output);
});
Add new resources to a database with
session.store("test.txt", "Hello World!");
or pipe in a Readable stream directly
var fs = require("fs");
var input = fs.createReadStream("test.txt");
session.store("test.txt", input);
session.query("1 to 1000")
.then(function (q) {
return q.results(function (type, data) {
console.log(type, data.toString());
})
.then(function (results) {
console.log("Found " + results.count + " results.");
})
.then(function () {
q.close()
});
})
.catch(function (error){
console.error(error);
});
FAQs
BaseX client using node streams
We found that basex-stream 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.