
Research
/Security News
Compromised npm Packages in the AsyncAPI Namespace Deliver Miasma Botnet Loader
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.
@akrc/electron-next
Advanced tools
This package lets you use Next.js for building the renderer of your Electron apps!
file:// protocol (which Electron uses to load your static assets in the renderer process) works properly with your Next.js bundle (generated by next export)This lib works well in every next release, see Next.js examples.
But:
Thanks for the original author's brilliant work, it save lots of time for me.
Firstly, install the package using any node package manager:
pnpm add electron-next
Then load it:
const prepareRenderer = require('electron-next')
As the final step, call the package:
<path>: The path to the directory containing the renderer (relative to the app's root directory). If the paths for development and production aren't the same, this can be an object holding a development and a production key with their respective paths (string|object).<port>: Used for running Next.js in development (number, optional, defaults to 8000).await prepareRenderer(<path>, <port>)
npm linknpm link electron-next. Instead of the default one from npm, it will now use your local clone of the package!FAQs
Build Electron apps using Next.js
The npm package @akrc/electron-next receives a total of 7 weekly downloads. As such, @akrc/electron-next popularity was classified as not popular.
We found that @akrc/electron-next 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
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.