Poisoned Pipeline / Incidents / AS520

AS520 · 2026-11

Four npm accounts sharing one versioned Gmail root tie a Litecoin wallet library that sends every new private key to a Discord webhook to a three-package loader chain that ends in PureRAT, all published from one GitHub handle between March and August 2026 and still partly live in November

npmGit / GitHubWindows software

OpenSourceMalware published this on 17 November 2026 as an attribution
note that turned into a campaign record. The entry point is litecore-lib-ltc,
a working Litecoin wallet library first published to npm on 1 March 2026 by
an account named johnstone. From version 1.9.10 the library sends every
wallet it creates, in WIF form, to a Discord webhook. It does not sweep
funds and contains no attacker address: whoever holds the webhook has the
key and can move the money whenever they choose, which leaves no on-chain
trace at the moment of theft.

The link between that package and three loader packages published on 30
August 2026 is the maintainer email. All four npm accounts are built on one
Gmail root, ggghhh1122334455667788@gmail.com, with the later three adding
v2.0, v3.0 and v4.0 as suffixes; the suffixes follow account creation order
rather than publish order, since the v4.0 account published ten minutes
before the v3.0 account. npm records a maintainer address per package and
has no address lookup, so this is the only place the tie is visible. For the
three August packages there is more: their code names the GitHub account
directly. nextjsupdater hardcodes owner Acevatex, repo Testprogram, branch
main and file updater.hta; originaldevelopmentstelemetry reuses the same
exported downloadAndRunUpdate() function, the same URL and the same ending
version; developmentstelemetry is a 143-byte package whose package.json
lists originaldevelopmentstelemetry as a dependency and whose postinstall
script imports it and calls the loader, so installing it was enough.

The chain runs in the open and the timestamps are what hold it together.
nextjsupdater 1.0.0 went up at 02:30:29 UTC on 30 August and downloaded
updater.bat, which cmd.exe /c ran. Version 1.2.1 at 02:52:19 referenced
updater.hta — a file that was not uploaded to the repository until 02:55:15,
three minutes later. Version 1.2.2 at 03:15:09 dropped the batch wrapper and
ran the HTA through mshta directly. All three versions were unpublished at
03:41:34, and 62 minutes later originaldevelopmentstelemetry 1.2.2 appeared
from a second account with the same loader and the same version number the
previous package ended on. Ten minutes after that, the third account
published developmentstelemetry 1.0.1, and its 1.0.2 release at 09:58:56
depended on originaldevelopmentstelemetry 1.2.7, which was not published
until 10:01:13 — two minutes later. npm replaced
originaldevelopmentstelemetry with a security placeholder at 16:33:11 the
same day.

The layers after the HTA are Chi Tran's analysis, which OpenSourceMalware
summarises. The HTA hides its window, creates %TEMP%\WinSAT, uses Windows'
own curl.exe to fetch the next stage and starts it through WMI so the new
process is not a child of mshta and process-lineage detections do not fire.
The payload server at 79.110.49.129:8080/ayan/ serves three files under
random names, saved as purelast.exe, o.exe and ov.dat: a 6.6 MB PyInstaller
bundle carrying a 588 KB batch script whose commands hide behind 1,778
variables and Greek homoglyphs, which copies itself to
C:\ProgramData\IntelDriver\LwWN.cmd and copies powershell.exe to a hidden
HslPrompt.exe; the script reads two base64 payloads out of its own comment
lines and runs an AES-encrypted PowerShell injector into explorer.exe,
Donut shellcode that patches AMSI, ETW and WLDP, and a .NET loader that
decrypts PureRAT with TripleDES. PureRAT connects to 217.60.77.60 on ports
56001 to 56003 with a pinned certificate whose subject is CN=PureRAT Agent.
Persistence is a hidden scheduled task named fMug described as "IntelDriver
System Service", plus the RAT's own task that relaunches every five minutes.
Its hardcoded target list is 48 browser extensions including authenticator
apps, 35 browser profile paths, 10 desktop wallets, Telegram Desktop and
Foxmail; it also captures the screen and logs window titles. What o.exe and
ov.dat do is not established.

The same operator built three other tools in the same bursts, each sending
what it took to Discord. On 17 March 2025 an image.svg in the Acevatex/SVG
repository embedded JavaScript that reads document.cookie and posts it with
the label "Stolen Cookies:". On 4 August 2026 the Acevatex/Asar repository
held a modified copy of the Exodus desktop wallet's app.asar (about 79.7 MB)
and a patch tool, TestSwapper.exe, with instructions to drop the archive into
the wallet's resources directory: the patch changes passphrase:set to call
globalThis.sendPassword(e) first, which sends the plaintext passphrase and a
SHA-256 fingerprint of the machine to a Discord webhook before the original
event continues, so the wallet keeps working. Replacing app.asar needs access
to the victim's machine and nothing found shows how the operator planned to
get it there.

litecore-lib-ltc is the clearest example of the operator's working method.
Thirteen versions went up in under two hours on 1 March 2026: 1.0.0 was a
clean working library at 22:23; the Discord webhook that would receive keys
was created at 22:39:48; 1.9.8 at 23:18:43 added the theft but forgot to
import its HTTP client, so creating a wallet threw before anything was sent;
1.9.9 moved the call into wallet.js with the import still missing; 1.9.10 is
the first version that actually sends a key; 1.9.14 at 00:17 on 2 March cut
the payload down to the private key alone. A long version history also reads
as a maintained package, and anyone sampling an early version finds a clean
library.

The johnstone account predates this. In 2023 it published ttwehave, a
dependency-confusion bug-bounty test whose description reads "Hacked by
johnstone@wearehackerone.com"; that researcher's HackerOne profile is still
active and based in China, the package was reported as malicious in 2024, and
the account's address later changed to the Gmail root. npm keeps no account
history and a deleted username can be claimed after 30 days, so the most
likely reading is that the account changed hands rather than that the
researcher is the operator. Everything else the write-up attributes is
account-level: the GitHub account Acevatex, user ID 111625044, created 20
August 2022, whose commits carry UTC+13 offsets in March and April and UTC+12
from June onward; the same handle with the same avatar on CurseForge,
SpigotMC, YouTube, Reddit and Discord. OSV holds four advisories for the four
packages — MAL-2026-18442, MAL-2026-15631, MAL-2026-15586 and MAL-2026-17318 —
and none of them references another. As of publication litecore-lib-ltc and
developmentstelemetry were still live on npm and the GitHub account still
existed, despite the advisories; OpenSourceMalware reported the gap to npm
and GitHub.

Mapped techniques

supply-chain Four accounts under one address root

T0109 · Resource Development · Publish malicious artifact

litecore-lib-ltc from 1 March 2026 (13 versions in under two hours,
theft from 1.9.10), then nextjsupdater, originaldevelopmentstelemetry
and developmentstelemetry on 30 August 2026 between 02:30 and 10:01
UTC. Different accounts, one email root, and for the three August
packages the same GitHub owner hardcoded in the code, so the
replacement of one package by the next did not need a new identity
that looked new.

post-supply-chain The wallet library that ships the key

T0138 · Persistence · Backdoor in code

The library is a working Litecoin client: its calls to BlockCypher,
Binance, CoinGecko and CoinCap are ordinary library code. The
malicious part is one call on wallet creation that serialises the
private key in WIF and posts it. It survives review because the
package does what its name says; only the key handling is wrong.

T0156 · Exfiltration · Exfiltration over webhooks

Keys go to a Discord webhook created 16 minutes after the first
clean version was published. The same channel receives the SVG
cookie stealer's output and the Exodus passphrase with a machine
fingerprint, so one collection point serves three separate tools.

T0191 · Impact · Malicious code in artifacts

The artifact contains the theft rather than performing it: no sweep,
no attacker address, no transaction. Funds move later, at the
operator's choosing, and the on-chain record shows a transfer the
victim's own wallet made. There is no published count of affected
wallets.

post-supply-chain The postinstall wrapper and the HTA stage

T0151 · Execution · Installation scripts

developmentstelemetry is 143 bytes: a package.json that depends on
originaldevelopmentstelemetry and a postinstall script that imports
it and calls downloadAndRunUpdate(). Installing it runs the loader;
no function has to be called and nothing has to be imported by the
application.

T0197 · Initial Access · Use code from untrusted source

The second stage is fetched from a public GitHub repository at run
time — updater.bat, then updater.hta, from Acevatex/Testprogram —
so the payload that matters is not in the npm tarball at all and can
be replaced without touching the registry. 1.2.1 referenced
updater.hta three minutes before that file was uploaded, and the
repository now serves the same content as update.hta.

T0159 · Execution · Malicious artifact execution

cmd.exe /c in 1.0.0 and 1.2.1, mshta directly in 1.2.2. mshta runs
the HTA as a trusted local application, which is the point of using
it rather than a script host.

T0172 · Execution · Runtime backdoor

The final stage is a PureRAT implant reached through WMI-launched
processes, a hidden scheduled task named fMug and a second task that
relaunches every five minutes, with C2 at 217.60.77.60:56001-56003
behind a pinned CN=PureRAT Agent certificate. The RAT and the Donut
and de4dot tooling are bought or public, not built: the operator's
own work is the loader chain in front of it.

Framework gaps noted

Sources