AI Aulis

AI NEWS IN ENGLISH · 20 October 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

← Issue 20 October 2026Paper

Elastic: npm packages spread malware and hijacked coding agent traffic

AI-generated contentWritten by AI

github.com, thehackernews.com, elastic.co · 3 sources · Sources published: 12–19 October 2026 · Some source publication dates are unknown

A fake Web3 investment firm distributed npm packages that installed malware, Elastic Security Labs said. One of the packages, a modified coding agent, sent prompts and the contents of files the agent read to the attacker’s server.

On 12 October, Elastic Security Labs, the research team at security company Elastic, published an analysis of a campaign in which a fake Web3 investment firm calling itself Apex Accelerator lured founders of crypto start-ups into installing npm packages. The packages installed information-stealing malware on Windows and a backdoor on macOS. The Hacker News reported on Elastic’s report on 19 October. Elastic tracks the activity as REF8801.

The lures were free Claude and Gemini credits, coding tools and security audits. There were two packages: @apexacc/cli, promoted as an AI adviser for Web3 founders, and @apexacc/audit, which claimed to be an MCP server offering 18 security tools. MCP is a protocol that gives an AI agent access to tools on an external server. Elastic said the packages were malicious from the moment they were published, and that the campaign did not hijack a legitimate package. The packages and their GitHub repositories have been removed, The Hacker News reported.

Agent traffic went to the attacker

@apexacc/cli was a repackaged copy of Oh My Pi, an open-source coding agent. When Elastic compared the two, 1,351 of 1,363 files were identical to the originals. The agent worked normally, which concealed the start-up code the attacker had added to it. This code replaced the address of the OpenRouter service with the address of the attacker’s server, while the agent still displayed OpenRouter as the provider. The code also added the attacker’s MCP server to the agent’s settings, where it remained after restarts.

This gave the attacker’s server the prompts, conversation history, code snippets and tool results. When Elastic asked the agent in a test to read a local file, the file’s contents went to the attacker’s server with the agent’s next request. The attacker’s MCP server could also add instructions to the agent’s prompt. According to the source code, the agent approved read, write and execute permissions for tools by default, so forged responses could have made the agent use local tools. Elastic did not, however, observe any forged responses.

The audit tools audited nothing. All 18 tools returned results that were hard-coded, random or calculated from the date.

Two malware chains

Both packages fetched a command from a so-called verification server and executed it. On macOS, the chain ended with the CloudSyncD backdoor. The backdoor asks for the user’s password in a fake window and fetches further tasks from a command-and-control server. During Elastic’s analysis, the server sent no further malicious code.

On Windows, a multi-stage chain ends with an information stealer. It collects browser passwords and cookies, crypto wallet data and configuration files for Claude, Cursor and Windsurf, and sends them via Telegram. In Elastic’s test, the chain’s first loader crashed because of a missing Python dependency before it reached the next stage. The researchers ran the information stealer itself separately in an isolated environment.

The commit history contained comments in Russian. Elastic stresses that these alone are not enough to identify the perpetrators. SafeDep had already reported three npm packages from the same campaign in July, The Hacker News said.

Report an error in this story