Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@agenthub-ai/agentnpm

@agenthub-ai/agent is a confirmed malicious npm package (MAL-2026-12312) that executes malicious code on install (malicious versions 0.1.0, 0.1.1, 0.1.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @agenthub-ai/agent (npm)

MAL-2026-12312
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @agenthub-ai/agent

What this malware does

Package installs a long-running daemon that opens a persistent WebSocket to wss://agenthub-agent.fyenet.com and dispatches command envelopes from the paired remote peer directly onto the installer host. MessageSend envelopes are fed as prompts into a Claude Code SDK session started with permissionMode 'bypassPermissions' (via a detected local claude executable), enabling the remote peer to drive Claude's autonomous Bash/Edit/Write tool loop on the local machine without confirmation. FileRead, FileWrite, FileTree, and FileSearch envelopes are executed directly against the local filesystem with peer-supplied paths, providing an independent remote read/write channel. AgentUpdate envelopes spawn a detached child process (node <argv1> update) that stops the daemon, runs npm install, and restarts, letting the remote peer trigger package-manager operations and process restarts. The install subcommand registers OS-level auto-start entries (HKCU Run key on Windows, a systemd user unit on Linux, a launchd plist on macOS) so the daemon re-launches at every login, providing persistent reachability for the remote-control channel. The WebSocket endpoint is a first-party server matching the package's advertised purpose (a remote agent bridge to a paired mobile app), and the daemon runs only when the operator explicitly starts it, but any party who controls or compromises that server, or MITMs the connection, obtains full-host RCE and arbitrary filesystem read/write on every installer running the daemon.

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.

Malicious versions

31 flagged
0.1.00.1.10.1.20.1.30.2.00.2.10.3.00.4.00.5.00.5.10.6.00.6.10.6.20.8.00.8.10.8.20.8.30.8.40.8.50.8.60.8.70.9.00.9.10.9.20.9.30.9.40.9.50.10.10.12.20.14.10.14.2

Indicators of compromise (SHA-256)

28e08267a2537aca30ae3d57d2a8a6dc21563d5d4925eda3f5464109676d052e
e289f586c3c926cc0b51bec7989d3a94598d26da289aaef9d89c3de598ecdca3
ebc37975a427916a53e540e0d1bdcf6af66c169f6d4d6b008d186a2e64912ac8
296fea3dfb581df0d194e896a1ccbc68003fae7963f35d864b54b11a2333fb64
414b4ce8b8265c82368cdcd0882bda7e196185b3203bdc13c5897eef3be7aeca
536ee7155c4b7e2d1291f64baae4c626443b1c17c00a2b94da9abacfa80745fb
759e28e403a082017b33bb95bcc8c1d7abd229a59375b8a4a3de9841c89d3379
b3e74c02b4e22fe03b6ce643ca6a10a8c9d128f3bbb9f63df338f51fd2879d17
ba3a3ed488cbb4b0324011ef0aef95c0e920da429dae727e43d3685e7557975d
f296859b0f94acd584022bf709141df4ff5aad7088308c31d2bff873ef1df660
0a0697492d73fc4c593affbb5181b22213ade4ab2e705f12b299bdc0c0c89cbc
776f6f6cc28aaaee9fd00df6fa4f0c3b6a2ba91f448a162100226020fa802370
d0809b1ddd46810f1669167744d4e549f566d4a4ecadeca325e33ebdbeb05bf0
ee15d496b57e860d21f41e73bddb3ae6a6f1a9e02e4c41b25486d53dd447d88a
7fed5bca91340086e68577d087cfc0180ebf2dbdbabf9dfa0b2c7dad9ffb7409
3b30017d9f19103200e49919834c1c10baf24317b0a264310c98c36131d99730
abb3628d835399da20e24fcea2359059c176056b97491fa3f66712260071fa57
be0ad3cc1d9d15829648fc71b7d5d01e1ff173dab0ed4fc08e171e9676d0a43c
d786f5f3ddf82a15336bcc4cd02b7a1078662c5f7ca29d901ff6c4465359bd69
0271733d23be88c5e73ab671c2fa559a56dceace28501b91740a8cd4b4d679a9
a75a544a92ec4bbe18c936dc8b0ffadf88c50d505cd24bf558cbfb24c6dca68d
df82e9741191e7fe6ddd8e47d9ef842367a001b8a1189aee63a612ce1b19b535
50b11eac754fff1ea0a7007b91a28745a6deb4e1dd9e169bf259d202dc354fa8
bb578426065278e589de0c469c8a6c2b47ddeda1e9eb81eee8bd994defbc87cb
e7bc7d00f2fd4b128697d3f24abbac15a4fb9609122c935e37535a7cff4e75c4
c2a59ef4bf28d08ae50d46e5e04a5975c68c105df892dbb795b5184e8454ae3e
0dd927fa5109c80454528f097ad73fb7a9496376b13511992a37a98265a3f9cd
45d5d7b77583357757ed941b63851a7de027493a2babc182f8de44a7511d6c86
d9ac9377c0caa13fe4a16ffd550a60142afbd3e6237c18e674fc2ff853c13ef5
420b95e791dccccea36e871dcabf35daeec06c0e67bfde3c9a72424b288d2a49
ee64ffa7cbfc1771fde2a187508155d904fa20beb7154fd3a0bf2bdfd348354c
a18947222cef80ae58dcc186eb57858f1b695d0f32d10b0028903a488fcc2a9e

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for @agenthub-ai/agent (31 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging @agenthub-ai/agent across your stack and pipelines.

  2. If you installed it — respond

    Remove @agenthub-ai/agent from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If @agenthub-ai/agent was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks @agenthub-ai/agent before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. @agenthub-ai/agent on npm has been identified as a malicious package (versions 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.3.0, 0.4.0, and 23 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-014816IN-MAL-2026-014778GHSA-p2hv-cfx8-pv93IN-MAL-2026-016036IN-MAL-2026-016025IN-MAL-2026-016022IN-MAL-2026-016028IN-MAL-2026-016012IN-MAL-2026-016023IN-MAL-2026-016014IN-MAL-2026-016039IN-MAL-2026-016024IN-MAL-2026-016026IN-MAL-2026-016021IN-MAL-2026-015995IN-MAL-2026-016038IN-MAL-2026-016020IN-MAL-2026-016035IN-MAL-2026-016027IN-MAL-2026-016029IN-MAL-2026-016007IN-MAL-2026-016032IN-MAL-2026-016016IN-MAL-2026-016037IN-MAL-2026-016019IN-MAL-2026-015998IN-MAL-2026-016030IN-MAL-2026-016013IN-MAL-2026-016015IN-MAL-2026-016031IN-MAL-2026-016017IN-MAL-2026-016034

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @agenthub-ai/agent-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

@agenthub-ai/agent (npm) malicious package — MAL-2026-12312 | O3 Security