
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
electronade
Advanced tools
It's a framework helper for the electron projects.
npm install electronade
See electronade.netlify.app for details.
main.ts
import { app } from "electron";
import { setHandles } from "electronade";
import { handles as someHandles } from "electronade-some";
import { handles as otherHandles } from "electronade-other";
app.whenReady().then(() => {
setHandles({
someHandles,
otherHandles
});
});
get ready for generation of preload file, base file should exist
preload_base.ts
import {
contextBridge,
ipcRenderer,
IpcRendererEvent
} from "electron";
contextBridge.exposeInMainWorld("ownAPI", {
mine: {
work: (message: string) =>
ipcRenderer.invoke("mine:work", message)
}
});
initialize config file for preload preparation.
electronade.config.js will be generated.
npx electronade --init
edit electronade.config.js
const { preloadObject: somePreload } = require("electronade-some");
const { preloadObject: otherPreload } = require("electronade-other");
module.exports = {
input: {
baseFile: "path/to/preload_base.ts",
exposingName: "electronade",
preloadObjects: {
somePreload,
otherPreload
}
},
output: {
file: "path/to/preload.ts"
}
};
prepare merged preload file.
npx electronade --prepare-preload --config electronade.config.js
const result1 = await electronade.some.work(params);
const result2 = await electronade.other.anotherWork();
const result3 = await ownAPI.mine.work("message");
FAQs
electronade is a framework helper for the electron projects.
We found that electronade 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.