Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Example configuration for app1 and app2 using Express and Koa.
// config.js
apps: {
all: {
engines: {
extensions: {
html: 'nunjucks',
hbs: 'handlebars'
},
default: 'html',
options: {},
requires: {
nunjucks: require('nunjucks')
}
},
},
app1: {
handlers: [
require('express').static('public'),
require("./middleware/exp/pre_routes"),
require("./apps/app1/routes"),
require("./middleware/exp/post_routes")
],
views: [
"views",
"views/apps/app1"
],
settings: {
"trust proxy": 1
}
},
app2: {
handlers: [
require('koa-static')('public'),
require("./middleware/koa/pre_routes"),
require("./apps/app2/routes"),
require("./middleware/koa/post_routes")
],
views: "views"
}
}
// index.js
const express = require('express')
const Koa = require('koa')
const apps = require('multilane')
const config = require('./config.js')['apps']
const app1 = apps.express(express(), require('consolidate'),
{ ...config['all'], ...config['app1'] },
{ 'example-context': { 'example-param': "args...", ping: () => { return 'pong' } } })
const app2 = apps.koa(new Koa(), require('koa-views'),
{ ...config['all'], ...config['app2'] },
{ 'example-context': { 'example-param': "args..." } })
app1.listen(3001, () => console.log("Started app1"))
app2.listen(3002, () => console.log("Started app2"))
FAQs
Consolidates application frameworks
The npm package multilane receives a total of 0 weekly downloads. As such, multilane popularity was classified as not popular.
We found that multilane 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 threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.