Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
electron-local-crash-reporter
Advanced tools
Simplifies running mini-breakpad-server in local development, alongside your electron app.
The goal of this module is to simplify running mini-breakpad-server
in local development. Basically, it makes Electron's crashReporter
API work easily out of the box for you, so you don't have to bother running mini-breakpad-server in a separate terminal window, download the symbols and move them to the right folder, etc.
Add this module as a dev dependency and only run it in local development, and it will:
This module is helpful if you do not have a remote crash report server running yet, or do not want to send crash reports created in local development to it.
npm install --save-dev electron-local-crash-reporter
All you really do is require('electron-local-crash-reporter').start();
, but here's a fuller example:
// this is your main process
const { app, BrowserWindow } = require('electron');
let mainWindow = null;
// only run it in local development (check for this however you like)
if(process.execPath.indexOf('electron') > -1) {
// it handles shutting itself down automatically
require('electron-local-crash-reporter').start();
}
app.on('ready', function() {
mainWindow = new BrowserWindow({ /* ... */ });
});
FAQs
Simplifies running mini-breakpad-server in local development, alongside your electron app.
We found that electron-local-crash-reporter 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.