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.
http-trigger
Advanced tools
Listen to HTTP POST requests to trigger executions of a command
Requires Node.js
npm install (-g) http-trigger
http-trigger
Available options (and default values) :
--command <COMMAND>
Command to execute on every POST request. Required argument. Environment vars are forwarded. Request body is passed via stdin
. stdout
and stderr
are forwarded to http-trigger
's ones.
--port 1515
Listen on this port.
--concurrency 3
Maximum number of parallel executions. When reached, a HTTP 429 (Too Many Requests) is sent.
--timeout 150
Timeout after which the command is killed (SIGTERM) and a HTTP 504 (Gateway Timeout) is sent.
MIT
FAQs
Listen to HTTP POST requests to trigger executions of a command
We found that http-trigger 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.