
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
express-server-toolbox
Advanced tools
Includes
Example
// NPM Packages
const expressServerToolkit = require("express-server-toolkit");
const express = require("express");
// Setting up the proxy [Host, Port, Enctype, Timeout]
const ProxyLocalhost = new expressServerToolkit.proxy(
"localhost",
8080,
"http",
3000
);
// Setting up the DDOS Prevention [MongoDB URI, Max requests per hour]
// Keep in mind that the images/post also count as request, so have at least a limit of a few thousand.
const DDOSPrevention = new expressServerToolkit.DDOSPrevention(
"mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb",
5000
);
// Connects the database
DDOSPrevention.connectMongo(err => {
if (!err) {
// Prevents DDOS, Bruteforce etc
app.use(DDOSPrevention.prevent);
// Express firewall currently only handles sanitize of get/post parameters
app.use(expressServerToolkit.ExpressFirewall);
// Handles the requests
app.use("*", (req, res, next) => {
// Checks the domain/hostname
if (req.hostname === "localhost") {
// Proxy's the request
ProxyLocalhost.web(req, res, next);
}
});
} else {
throw err;
}
});
FAQs
A firewall / proxy server for NodeJS Express
The npm package express-server-toolbox receives a total of 9 weekly downloads. As such, express-server-toolbox popularity was classified as not popular.
We found that express-server-toolbox 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.