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.
dpd-router-event
Advanced tools
Deployd module to create a router event which runs always before target events are run.
A fork to dpd-event-callback to create events that run before target events are run.
It works with a router middleware to ensure this happens.
$ npm install dpd-router-event dpd-router-middleware --save
The following methods have been provided to indicate intent:
skip
: Only available the ON BEFOREREQUEST
event and indicates that the method event should be skipped and the actual resource request event should be executed.proceed
: Available on all events except the ON BEFOREREQUEST
and indicates that the actual resource request event should be run. It takes not parameters.kill
: Terminates the routing and sends a response. Parameters are error and response.killIf
: Calls the kill method if the logic is true. Parameters are logic, error and response.NOTE: method setResult
has been removed to mark a major difference between router events and normal events.
Apart from the apis provided by dpd-event-callback
(body
, query
, etc), resource
has also been added and holds the actual resource requested.
FAQs
Deployd module to create a router event which runs always before target events are run.
The npm package dpd-router-event receives a total of 0 weekly downloads. As such, dpd-router-event popularity was classified as not popular.
We found that dpd-router-event 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.