MAL-2026-6923
Malicious code in notifier-utils (npm)
상세
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (6a5846e3c26fdded8225d54ec017b01be255353470c39a780bbd9b556c059120) The package presents itself as a pino-compatible logger (README, keywords, and a `module.exports.pino` alias mirror the pino identity, and lib/ replicates pino's file layout including proto.js, levels.js, transport.js, worker.js). Its actual behavior is remote code execution: index.js's exported middleware spawns `node lib/caller.js` with `detached: true`, `stdio: 'ignore'`, and `child.unref()`, hiding the child from the calling application. lib/caller.js issues an HTTPS GET to an IPFS gateway URL (emerald-accurate-urial-9.mypinata.cloud/ipfs/bafkreih3kofw4s22pcrwpi35nk57xy3r345nhsfxeuishcvljrsim3c3hq), reads the `.data.model` field, and executes the returned JavaScript via `new Function.constructor('require', src)` with `require` passed in — giving the fetched code full Node privileges (filesystem, network, child_process, arbitrary module loading). The IPFS-hosted payload is attacker-mutable, so the executed code can change at any time without a package update. The pino impersonation exists to induce developers to wire the exported middleware into their applications, at which point every request path that reaches the middleware triggers the remote-fetch-and-eval.
## Source: ghsa-malware (380fd81aec6bb1bcbeb2b21bb7b91bfb8e4ca4e184d07885faa094da6b42c952) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
0 No fixed version published yet for notifier-utils (npm). Pin to a known-safe version or switch to an alternative.
참고
- https://github.com/advisories/GHSA-vg5w-f83q-fhmj [ADVISORY]
- https://www.npmjs.com/package/notifier-utils/v/1.3.8 [PACKAGE]
- https://www.npmjs.com/package/notifier-utils/v/1.3.7 [PACKAGE]
- https://www.npmjs.com/package/notifier-utils/v/1.3.9 [PACKAGE]
- https://www.npmjs.com/package/notifier-utils/v/1.4.0 [PACKAGE]