
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Capture, Reproduce, and Debug Node.js Errors
:star: We appreciate your star, it helps!
Errsole is a Node.js module. You can install this module using the npm install
command:
npm install errsole
Click on the button below to get the Errsole code snippet. Put the code snippet at the top of your app's main file.
/**
* Put the Errsole code snippet at the top of your app's main file
*/
const errsole = require('errsole');
errsole.initialize({
framework: 'express',
token: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
});
/**
* Your app code starts here
*/
const express = require('express');
const app = express();
app.get('/', function (req, res) {
res.send('Hello World');
});
app.listen(3000);
Name | Type | Default | Description |
---|---|---|---|
framework | string | Required. Your Node.js framework name. | |
token | string | Required. Click here to generate a unique token | |
enableDebugger | boolean | true | Optional. If false, the debugger is disabled. |
editCode | boolean | false | Optional. If true, you can edit code while debugging an error. Setting true in staging and production environments is not recommended because your developers can run arbitrary code on your production server. |
evalExpression | boolean | false | Optional. If true, you can evaluate JavaScript expressions while debugging an error. Setting true in staging and production environments is not recommended because your developers can run arbitrary code on your production server. |
/**
* Put the Errsole code snippet at the top of your app's main file
*/
const errsole = require('errsole');
errsole.initialize({
framework: 'express',
token: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
enableDebugger: true,
editCode: false, // Set true in development and testing environments
evalExpression: false // Set true in development and testing environments
});
/**
* Your app code starts here
*/
const express = require('express');
const app = express();
app.get('/', function (req, res) {
res.send('Hello World');
});
app.listen(3000);
Errsole captures all Node.js errors raised in your servers and the HTTP requests that triggered the errors. You can view all your Node.js errors and the root cause of each error in one place.
Errsole creates a clone of your Node.js app in your server and reproduces errors in the app clone. You can reproduce errors in the same environment where they occurred and do it any number of times without affecting your app.
Errsole connects a feature-rich debugger to the app clone in your server. You can reproduce errors and debug your server code without affecting your app.
You can invite developers to your app team and assign errors to them. Your teammates can view, reproduce, and debug your app errors without conflicting with each other.
We appreciate your star, it helps!
If you run into any issues, please email us at support@errsole.com.
For bug reports, please open an issue on GitHub.
FAQs
Collect, Store, and Visualize Logs with a Single Module
We found that errsole demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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 researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.