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.
Human-friendly message library for server and client side interaction responses
Human-friendly message library for server and client side interaction responses.
Includes the delightful http-status
Run npm install xenoglossy --save
Once required you may call it with either an HTTP code to use those provided by http-status or a message name using simple javascript object notation.
This means you can insert your code into API responses, template variables for engines such as EJS, Handlebars, Swig, etc. Use it anywhere you need a well formed, human-friendly message or suitable response.
These are just a few examples to get going, it is recommended to simply read the source JSON to see what is available.
Using HTTP codes:
var xenoglossy = require('xenoglossy');
// Print "Internal Server Error"
console.log(xenoglossy.http[500]);
// Print 500
console.log(xenoglossy.http.INTERNAL_SERVER_ERROR);
FAQs
Human-friendly message library for server and client side interaction responses
We found that xenoglossy 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.