
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
probot-serverless-now
Advanced tools
Probot Wrapper to run GitHub Apps as Serverless Functions in ZEIT Now
probot-serverless-now is a wrapper around Probot to run your GitHub Apps as Serverless Functions with ZEIT Now.
app.js
module.exports = app => {
app.on("issues.opened", async context => {
// A new issue was opened, what should we do with it?
context.log(context.payload);
});
};
api/index.js
const { toLambda } = require("probot-serverless-now");
const applicationFunction = require("../app");
module.exports = toLambda(applicationFunction);
now.json
{
"version": 2,
"env": {
"APP_ID": "@my-app-id",
"PRIVATE_KEY": "@my-app-base64-encoded-private-key",
"WEBHOOK_SECRET": "@my-app-webhook-secret"
}
}
PRIVATE_KEY environment variable should be used instead (possibly base64 encoded).GET /: typical Probot landing pagePOST /: webhook handlernow.json file since they won't share the same APP_ID, PRIVATE_KEY, and WEBHOOK_SECRET environment variables.
To do that, you could either use multiple repositories or a mono-repo with Yarn workspaces or Lerna for instance.FAQs
Probot Wrapper to run GitHub Apps as Serverless Functions in ZEIT Now
We found that probot-serverless-now 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.