
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-args
Advanced tools
Predictable state in request parameters
Request example:
http://localhost:3000/?id=1&name=julian&lastname=david&fk=1
http://localhost:3000/?token=3s5iuds42xl8
The capture of arguments is dynamic, everything is based on the names of the parameters of each function:
// conf_express_args.js
var ex_args = require('express-args')
var config = [{
type: ex_args.constants.AUTO_PARAMS,
exec: function (req, res, next, id, name, lastname, fk) {
console.log("Autoparams 1:", id, name, lastname, fk);
//=> Autoparams 1: 1 julian david 1
res.send("Middleware")
}
}, {
type: ex_args.constants.AUTO_PARAMS,
exec: function (req, res, next, token) {
console.log("Autoparams 2:", token);
//=> Autoparams 2: 3s5iuds42xl8
res.send('Token:' + token)
}
}]
ex_args.conf(config);
module.exports = ex_args;
Do you want to subscribe to middleware state?
// Observable
ex_args.store.subscribe(() => {
console.log("Actual state:", ex_args.store.getState())
})
// app.js
/* ... */
var app = express();
var express_args = require('./conf_express_args');
app.use(express_args.app);
/* ... */
Project under development.
License MIT @juliandavidmr
FAQs
Predictable state requests. Autoparams function.
The npm package express-args receives a total of 0 weekly downloads. As such, express-args popularity was classified as not popular.
We found that express-args 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.