
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
https://github.com/ilharp/ipcman/assets/20179549/71d4f999-cf24-4936-8eab-7e77b465cc44
| Package | Contents |
|---|---|
| ipcman | ~3KB core module, providing Electron IPC hook with request/response tagging |
| @ipcman/devtools | Devtools backend, providing an HTTP/WebSocket API |
| @ipcman/devtools-fe | Devtools frontend, providing real-time IPC monitoring, history playback, request/response binding and inspector |
First, download IpcMan Devtools from Releases and extract.
Next, inject IpcMan Devtools into the target electron app. There are several ways to do this, the simplest of which is to directly modify the entry JavaScript file. We'll take Waves Central as an example.
Open resources folder under app directory. If there's no app folder in it but only app.asar file, run following command to extract app folder:
npx asar extract app.asar app
mv app.asar app.asar.bak
Next, open package.json inside app, you'll see the entrypoint of the app:
{
// ...
"main": "src/main.js",
// ...
}
Open src/main.js and insert the line below at the top of the file:
require('/path/to/downloaded/ipcman.js').ipcManDevtools({})
Finally, directly run the app. Once the app starts, head to http://127.0.0.1/9009 and you'll see the Devtools frontend. Happy hacking!
ipcman ReferenceipcMan: <IpcArgs extends unknown[] = unknown[]>(config: IpcManConfig<IpcArgs>) => IpcManContextThe ipcMan() function.
IpcManConfigOptions for ipcMan().
handler: (data: IpcManData) => unknownThe event handler. Required.
getId?: (p: IpcArgs) => string | undefinedID detect logic for resoving wrapped request/response of target app. Optional.
@ipcman/devtools ReferenceipcManDevtools: (config: IpcManDevtoolsConfig) => Promise<void>Start IpcMan Devtools.
IpcManDevtoolsConfig extends Omit<IpcManConfig, 'handler'>Options for ipcManDevtools(). Same as IpcManConfig but without handler.
MIT
FAQs
Electron IPC Hook/Devtools
We found that ipcman 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 discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.