MAL-2026-4628
Dashboard / Malicious Package / MAL-2026-4628
MAL-2026-4628
Summary: Malicious code in open-agents-ai (npm)
Details: Source: amazon-inspector (ecd54a57bfc95ce17e9e2279808810d09bb3285a15af6198f9f40f7a8f5307f7) package.json declares both preinstall and postinstall lifecycle hooks that invoke curl, and ships dist/postinstall-daemon.cjs — a Node script that loads child_process, fs, http, and os, calls execSync and http.request, reads os.userInfo() (lines 150, 385), checks for files via fs.existsSync, and executes ping commands at multiple call sites (lines 174, 288, 455, 681, 727). The combination of a postinstall-triggered Node daemon that harvests user/host identity (os.userInfo), probes the network (ping, http.request GET), and lifecycle scripts that additionally shell out to curl is the structural shape of an installer-side host-fingerprinting and exfiltration component, not a documented build step or vendor SDK fetch. There is no shipped native source tree, no publisher-pinned binary download, and no advertised purpose that would justify a postinstall daemon performing system-info collection and outbound HTTP from the installer's machine.
References: https://www.npmjs.com/package/open-agents-ai/v/0.187.591, https://www.npmjs.com/package/open-agents-ai/v/0.187.593, https://www.npmjs.com/package/open-agents-ai/v/0.187.596, https://www.npmjs.com/package/open-agents-ai/v/0.187.594, https://www.npmjs.com/package/open-agents-ai/v/0.187.590, https://www.npmjs.com/package/open-agents-ai/v/0.187.588, https://www.npmjs.com/package/open-agents-ai/v/0.187.595, https://www.npmjs.com/package/open-agents-ai/v/0.187.592, https://www.npmjs.com/package/open-agents-ai/v/0.187.587, https://www.npmjs.com/package/open-agents-ai/v/0.187.589
Affected packages
Package
Name: open-agents-ai
Purl: pkg:npm/open-agents-ai
Affected ranges
Type: N/A
Events:
