
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@livesession/electron-cookies
Advanced tools
Electron's environment doesn't come with built in support for a `document.cookie` API. By using this package, you can use the same `Document cookie` API within Electron.
Electron's environment doesn't come with built in support for a document.cookie
API.
By using this package, you can use the same Document cookie
API within Electron.
First, install the package:
npm install @livesession/electron-cookies
import ElectronCookies from '@livesession/electron-cookies';
// enable
ElectronCookies.enable({
origin: 'https://example.com',
}); // or ElectronCookies.enable() for default
// disable
ElectronCookies.disable();
If your Electron app has the nodeIntegration
preference set to false
, you can include the dist via a <script>
tag:
<script src='./node_modules/@livesession/electron-cookies/dist/main.js'></script>
And inside JavaScript:
window.ElectronCookies.enable();
FAQs
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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.