
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.
@exodus/await-proxy
Advanced tools
@exodus/await-proxyProxies a module and delays all module calls until the specified promise resolves.
This is an example of desktop RPC usage:
import awaitProxy from '@exodus/await-proxy'
import { createClient } from '#/electron-rpc-broadcast'
import Handshake from '#/handshake'
const handshake = new Handshake({
sendMessage: (message) => ipc.targeted('core', 'handshake', message),
attachListener: (listener) => ipc.on('handshake', listener),
})
// calls to some-module will be queued until the RPC server is initialized (as indicated by the handshake)
export default awaitProxy({
object: createClient('core', 'some-module'),
delayUntil: handshake.awaitDone(),
})
awaitProxy({ object, delayUntil, synchronousMethods })object is the module to be proxied (should only have functions/methods; no properties)delayUntil is the Promise to await before calling methods on objectsynchronousMethods is an optional array of strings, denoting methods names on object that are synchronous, but return an object with async methods. Calls to synchronous methods will return a Proxy, with async functions that await promise before actually executing. The underlying synchronous method will only be called after promise resolves.
sFAQs
Proxies a module and delays all module calls
The npm package @exodus/await-proxy receives a total of 1,646 weekly downloads. As such, @exodus/await-proxy popularity was classified as popular.
We found that @exodus/await-proxy 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.