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.
node-red-contrib-securedhttp
Advanced tools
Node-RED nodes similar to http in and http out from the default installation but with security built into it. If secured field is set to false, it has the same features as http in in the default installation. It uses a predefined OAuth endpoint to validate the token in authorization header in a request and to check if the user with the token has privilege to access this node.
Install from npm
npm install node-red-contrib-securedhttp
This package contains two nodes similar to the default http in and http out nodes but securedhttp in node must be authenticated with a token in Authorization header or access_token query string for privileged user to access it if the "Secured" field is set to true. When "Secured" field is set to true, user will need to have the privilege specified in "Privileges" field. If the "Privileges" is not set but "Secured" field is set to true, an access token will need to be validated. The OAuth user endpoint will need to specify in the settting.js file with "oauth2UserUrl" key. For example,
oauth2UserUrl: "https://localhost:8080/oauth/user",
You will need to fill in the following fields:
-- Ignore the "Start" field.
-- Secured field is set to true to enable security. False to disable.
-- User will need to have privilege to access this endpoint even if the token is valid if this field is set to non-empty string. Multiple privileges can be specified with comma delimiters but user will need to have one of thoese specified privilege to access this endpoint.
FAQs
Node-RED node to create secured http endpoint
The npm package node-red-contrib-securedhttp receives a total of 1 weekly downloads. As such, node-red-contrib-securedhttp popularity was classified as not popular.
We found that node-red-contrib-securedhttp 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.