
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
Control the macOS dark mode
Requires macOS 10.10 or later.
npm install dark-mode
import darkMode from 'dark-mode';
await darkMode.enable();
console.log('Enabled dark mode');
await darkMode.toggle();
console.log('Toggled between dark and light mode');
All the methods return a Promise, except for .watch().
Type: boolean
Force a specific mode. true for dark and false for light.
Returns a Promise<boolean> of whether you're in dark mode.
Watch for dark mode changes.
Type: (isDarkMode: boolean) => void
Function to call when dark mode changes.
Returns a watcher object with a stop method.
import darkMode from 'dark-mode';
const watcher = darkMode.watch(isDark => {
console.log('Dark mode is now:', isDark ? 'enabled' : 'disabled');
});
// Later, stop watching
watcher.stop();
FAQs
Control the macOS dark mode
We found that dark-mode 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
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.