Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
franz generates you serverless.yml
and webpack config.
Still in early stage!!
define a lambda.config.js
file and call franz
.
Now you could call webpack
with your webpack config. And finally serverless deploy
module.exports = {
service: 'service_name', //used by serverless
region: 'eu-central-1', //used by serverless
stage: 'dev', //used by serverless
variables: { //global environment variables for your lambda functions
FOO: 'bar',
BAR: process.env.BAR
},
functions: [
'./path/to/your/function', //with or without .js -> uses require() internally
]
}
your function file:
module.exports = {
name: 'my-function',
method: 'GET',
path: '/foo',
handler: function (request) {
return Promise.resolve({foo: 'bar'})
}
}
wbepack.config.js
const config = require('./dist/webpack.json') //contains all entry points...
module.exports = Object.assign(config, {
module: {
rules: [{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
}]
}
})
FAQs
Create webpack and serverless config files from your lambda definitions
The npm package franz receives a total of 1 weekly downloads. As such, franz popularity was classified as not popular.
We found that franz 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.