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.
@sryden/matrix
Advanced tools
Matrix is a Node.js module for HTTP GET and POST requests within SRYDEN products.
Matrix is a Node.js module for HTTP GET and POST requests within SRYDEN products.
Install Matrix using npm:
npm install @sryden/matrix
const Matrix = require('@sryden/matrix');
const request = Matrix();
// Example GET request
request.get({
url: 'https://example.com',
})
.then((response) => {
console.log('GET response:', response);
})
.catch((error) => {
console.error('GET error:', error.message);
});
// Example POST request
request.post({
url: 'https://example.com',
data: { title: '1', body: '2', userId: 1 },
})
.then((response) => {
console.log('POST response:', response);
})
.catch((error) => {
console.error('POST error:', error.message);
});
matrix(config)
Creates a new instance of the SRYDEN Matrix module.
config
(optional): Configuration object for the Matrix instance.get(options)
Performs an HTTP GET request.
options
: Object with the following properties:
url
(required): The URL for the GET request.params
(optional): Query parameters for the request.post(options)
Performs an HTTP POST request.
options
: Object with the following properties:
url
(required): The URL for the POST request.data
(optional): Data to be sent in the request body.config
(optional): Additional configuration for the request.FAQs
Matrix is a Node.js module for HTTP GET and POST requests within SRYDEN products.
The npm package @sryden/matrix receives a total of 0 weekly downloads. As such, @sryden/matrix popularity was classified as not popular.
We found that @sryden/matrix demonstrated a healthy version release cadence and project activity because the last version was released less than 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.