
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
express-webhook
Advanced tools
A webhook in web development is a method of augmenting or altering the behavior of a web page, or web application, with custom callbacks. These callbacks may be maintained, modified, and managed by third-party users and developers who may not necessarily be affiliated with the originating website or application. —— wikipedia
For me, webhook can be a simple way to implement a auto deployment environment for my private site.
In my case, my private site is written in vue, and build with webpack. Every time I push my code to git server, I need to pull from my server, and it's boring enough.
Then I find the conception of webhook
and I want to try it.
npm install express-webhook --save
var express = require('express');
...
var app = new express();
...
var webhook = require('express-webhook');
app.use('hooks', webhook({
hooks: {
'/repo1': 'echo hello!'
}
}))
http://your.site/hooks/repo1
), and set the event you want to hook(usually push
).To use default config defined by others. Not prepared yet.
app.use('hooks', webhook('gogs', {...}))
FAQs
A HTTP/HTTPS endpoints(hooks) midware for express.
The npm package express-webhook receives a total of 1 weekly downloads. As such, express-webhook popularity was classified as not popular.
We found that express-webhook 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.