
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
Maintainable expressjs endpoints.
npm i --save swiftflow
// server.js
const app = require("express")()
const { EndpointManager } = require("swiftflow")
// Create a new EndpointManager, points to a directory of JS files.
const endpoints = new EndpointManager("./endpoints")
// Install all JS files in "./endpoints" then listen on port 80.
endpoints.install(app).then(() => app.listen(80))
// endpoints/hello.js
const { Endpoint } = require('swiftflow')
// Export a class that extends from the SwiftFlow Endpoint class.
module.exports = class HelloEndpoint extends Endpoint {
constructor () {
super('/api/hello/:name') // The path this endpoint will listen to.
}
async execute (params) {
// All variables like .params and .query gets combined into a single object, "params".
const { name } = params
// The Endpoint class automatically handles returns and sends it to the client.
return { response: `Hi there ${name}!` }
}
}
FAQs
Maintainable expressjs endpoints.
The npm package swiftflow receives a total of 10 weekly downloads. As such, swiftflow popularity was classified as not popular.
We found that swiftflow 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 compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.