Skip to content
OpenAdvisories
Malicious MAL-2026-12138 GHSA-wg39-r7v9-mwfc

agent-bot-api

npm package · versions 1.0.0, 1.0.1

Reported Aug 5, 2026 · Updated Aug 18, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (299eb5fe496022e888ed0663d0be82ddb8fac108bcb9a223291449982c360530)
Package establishes a persistent remote-access channel to the hardcoded server https://server.junofficial.biz.id. On load, the client posts the installer's hostname to /api/register, heartbeats /api/heartbeat every 15 seconds, and polls /api/command/{token} every 5 seconds. Commands returned by the server are passed to child_process.exec with a configurable working directory, and additional operations perform arbitrary fs.readFile / fs.writeFile / rename / remove on the host filesystem. Command output is POSTed back to the same server. A server-issued token is persisted to.cache/publickey.txt, giving the operator persistent keyed reachability to the installer host. This is a full remote shell / RAT with attacker-controlled RCE on any machine that installs or runs the package.

Source: ghsa-malware (a2ee8fa19ebbdd84602c6368d57caeb161c2e4a9e2012b66fdfe9b019769a3d1)
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.