Poisoned Pipeline / Incidents / AS535
The WalletGuard campaign's 197 issues from 197 accounts in twenty minutes warned crypto maintainers that their wallet keys had leaked, sent them to a fake checker that kept every seed and answered clean, and advertised a scanner whose postinstall swept wallets, SSH keys and cloud credentials
Git / GitHubDeveloper workstationLinux distro / packagesmacOS softwareWindows software
OpenSourceMalware published this on 25 November 2026, after a tip from
Paul Padilla of Mysten Labs. The wave is tracked as WalletGuard. Between
00:36:08 and 00:56:03 UTC that day,
197 GitHub issues were opened on 197 different accounts against
cryptocurrency, wallet, blockchain and developer-tool repositories. A
GitHub search for the campaign phrase returned 202 matching issue
records; the paginated API returned 197 unique issues whose bodies
contained both the phrase and the attacker's Ethereum address, and the
difference is treated as search-index or pagination noise. The first
confirmed issue was localsend/localsend#3766 at 00:36:08 and the last in
the published table at 00:56:03. Often only seconds apart, the issues
targeted OpenZeppelin, Uniswap, ccxt, DefinitelyTyped, MystenLabs/sui,
Chia, Trust Wallet and others.
Each issue claimed that a mnemonic or private key associated with the
repository had appeared in a "2026-Q4 GitHub secrets leak dataset". It
gave a 72-hour deadline, adopted the voice of an incident-response
authority, warned against disclosing secrets publicly and told anyone
holding funds from the exposed key to move them to three
attacker-designated wallets: ETH 0x2C708911e4bC1E04C66aC703678111FaC0f96985,
BTC bc1qahwv7t8as35dtw4tc6wewwdhn3jv0mc2knjky7 and SOL
BK6m9M3pmFBb6f49siJEaGX8DvKD58q5MKW6gwBt27dM. Every issue linked to
https://amrbentaleb.github.io/wallet-security-check/.
The hosting was staged before the issues went out. GitHub server
timestamps show 22 accounts creating a repository named
wallet-security-check between 00:22:45 and 00:33:55 UTC, one roughly
every 31 to 35 seconds for 11 minutes and 10 seconds. The repositories
were not forks: each was created independently, received the same
two-commit deployment pattern and had GitHub Pages enabled within
seconds. Twenty-one retained Pages workflow records name the repository
owner as both actor and triggering_actor, server-side fields that Git
author metadata cannot forge. The remaining repository,
KTIG-SDLC/wallet-security-check, follows the same cadence but had no
retained workflow run when checked. Creating repositories, pushing,
changing settings and enabling Pages needs an API-capable token or an
authenticated web session, so the operator held working credentials for
all 22 accounts. How they were obtained is not established; stolen
personal access tokens, stolen browser sessions, credential stuffing,
malicious OAuth or GitHub App grants and accounts handed over are all
consistent with the public record.
The oldest hosting account, AmrBentaleb, has GitHub user ID 24791202 and
a Flutter project developed from December 2020 to September 2022, then
about 1,522 days of visible inactivity. Two nearly empty repositories
appeared on 11 November. The phishing repository followed on 25
November: a two-line README at 00:22:47, the 110-line harvester at
00:22:49, and the first issue 13 minutes and 19 seconds later. There was
no pull request, Actions injection, .vscode task or workflow change; the
page was deployed directly from a dedicated repository.
The page offered three verification modes — mnemonic phrase, private key
and keystore JSON — and verified nothing. Once the input passed 11
characters it built a JSON record with the fixed value "seed", the mode,
the full secret, the document title, the landing URL, a timestamp and a
fingerprint of user agent, browser language and screen resolution. It
sent the record twice to
https://webhook.site/b39ec3ff-1525-4fdd-9f01-66dabce33eec, once with
navigator.sendBeacon and once with XMLHttpRequest. The result was fake
too: an HTTP 200, a network error or a 3.5-second timeout all produced a
green "no exposure found" message, and only a completed non-200 response
showed a fake leak match. The script never queried a dataset, a
blockchain or a validator. Someone who submitted a seed and saw "no
exposure" had a reason to keep using the compromised wallet.
The second delivery path was walletguard-cli 0.4.1, recovered from the
verifygmail2-debug account and its walletguard-cli-ALL (2).zip. It
presented itself as an offline wallet-hygiene scanner with real checks
for exposed seeds, private keys, loose permissions, unsafe Git remotes,
shell history and phishing-shaped domains, and its package.json
registered "postinstall": "node bin/postinstall.js". The hook
silently loaded the collector, scanned the machine and uploaded the
bundle, swallowing errors so installation looked successful. The normal
scan command repeated the collection and upload by default; --no-upload
stopped transmission but still collected, and --no-collect prevented the
bundle from being built, after the postinstall hook had already run.
The collector looked for valid BIP-39 seed phrases, Solana key arrays,
hexadecimal private keys, Base58 secrets, key files for Sui, Aptos,
NEAR, Avalanche, Foundry, Ethereum and Solana, wallet data for Phantom,
Solflare, Exodus, Electrum, Ledger Live, Coinomi and Trust Wallet,
extension storage for Chrome, Chromium, Brave, Edge, Arc and Firefox,
.env contents, files under ~/.ssh, AWS, npm, Docker and Kubernetes
credentials, selected .bash_history and .zsh_history lines,
seed-, wallet-, backup- and recovery-named screenshots and sensitive
files in the working directory. It added hostname, username, OS,
architecture, local IPv4 addresses, Node version, a timestamp and a
persistent random host tag, and wrote ~/.walletguard/state.json. It
installed no persistence and downloaded no second stage.
Bundles were gzip-compressed, encrypted with AES-256-GCM under an
HKDF-SHA256 key and wrapped with the magic bytes WGv1, then Base64
encoded. Small bundles went to
https://walletguard-c2.walletcheck.workers.dev with the same key also
placed in the k query parameter, so it appears in endpoint and proxy
logs. The included Cloudflare Worker decrypted them and sent full seeds
and private keys to Telegram through the Bot API sendMessage, with the
bot and chat identifiers held as Worker secrets; large submissions could
be kept in Cloudflare KV for 30 days behind a high-entropy /x/<id> link
with no other authentication. The large-bundle branch had a bug — the
client posted to /bin while the included Worker accepted / and /ingest —
which would return 405 if the deployed Worker matched the source. The
client never executed server responses or accepted commands.
The advertised one-line installer, install.sh with SHA-256
82c0bf5ce81d4c7e425fcde4f4cbfcfa6d672c781cd9d797576f44f24eb88411, checks for
Node.js 18 and npm, runs npm install -g walletguard-cli --no-fund
--no-audit, and on failure clones or downloads the repository and runs
npm install -g . on the source. It has no version pin, commit pin,
signature check or content hash, and WALLETGUARD_REPO can point the
fallback at another repository. As far as the researchers can tell, no
walletguard or walletguard-cli package has ever existed on npm.
The repository carried operator documentation as well as victim-facing
files. ALL-METHODS.md ranks npm, Git, tarball and standalone-binary
delivery by friction and antivirus exposure and calls the lifecycle hook
a "postinstall trap"; BUILD-AND-DEPLOY.md walks through BotFather,
Telegram chat IDs, Wrangler secrets, Cloudflare KV, npm publication and
retrieving stolen bundles. The root commit adds 36 files and 9,529 lines
at once, and later commits mostly rotate infrastructure and remove or
restore packaging artifacts, which the researchers read as likely
AI-coding-agent assistance rather than ordinary development. No model or
tool is identified, and the Hinglish in the handoff document is not
treated as geographic or personal attribution.
OpenSourceMalware identified at least two victims who submitted data to
the fake page, then exhausted the free webhook.site endpoint by
requesting it repeatedly so it could no longer collect. No funds were
seen entering the attacker wallets, and the campaign appears to have
been unsuccessful. Walletguard-cli installs are not counted; the
recovered tool was never served from a public registry. The browser
checker and the CLI share branding, targeting and intent but no token,
email, commit, wallet address or authenticated infrastructure record, so
common control is plausible and unproven.
Mapped techniques
- T0113 Compromised user account
- T0278 Open the lure as a leak warning in the target's issue tracker
- T0281 Stage the lure page on many accounts before the issue wave
- T0279 Collect the wallet secret in a page that claims to verify it
- T0156 Exfiltration over webhooks
- T0280 Answer with a clean result after the secret has been collected
- T0151 Installation scripts
- T0184 Harvesting sensitive information from files
supply-chain A leak warning that arrives as an issue
Twenty-two accounts created a repository named
wallet-security-check between 00:22:45 and 00:33:55 UTC, and 197
issues went out from 197 distinct accounts between 00:36:08 and
00:56:03. Twenty-one retained Pages workflow records name the
repository owner as both actor and triggering_actor, which needs
an API-capable token or authenticated web session. AmrBentaleb
had been dormant for about 1,522 days before placeholder
repositories appeared on 11 November. The report does not
establish how any account was accessed.
Every issue used the same false premise — that a key tied to the
repository had appeared in a "2026-Q4 GitHub secrets leak
dataset" — and carried a 72-hour deadline, three
attacker-designated "incident-response" wallets and a link to
the checker. The issue is the delivery, not a package: it arrives
in a channel maintainers already watch, from an account with a
history, and asks for a decision rather than an install.
Twenty-two independent repositories, not forks, were created in
11 minutes and 10 seconds and had Pages enabled within seconds,
all before the first issue. Takedown of one repository or account
leaves the rest serving the same page, and the issue wave can
start immediately because hosting is already in place.
post-supply-chain The checker that collected and reassured
The page offered mnemonic, private-key and keystore modes and
asked the visitor to paste the secret so it could be checked
against a leak dataset. It never queried one. Input over 11
characters was packed into a JSON record with the full secret,
mode, page title, URL, timestamp and a browser fingerprint.
The record was posted twice to
https://webhook.site/b39ec3ff-1525-4fdd-9f01-66dabce33eec, once
with navigator.sendBeacon and once with XMLHttpRequest. A free
webhook.site endpoint was the entire collector.
An HTTP 200, a network error or a 3.5-second timeout all produced
a green "no exposure found" message; only a completed non-200
response showed a fake leak match. The victim is told the key is
safe after it has been taken, which delays rotation and keeps the
wallet in use.
supply-chain The scanner that audited while it stole
walletguard-cli 0.4.1 registered "postinstall": "node
bin/postinstall.js", and the advertised install.sh ran npm install
-g walletguard-cli, falling back to a clone or tarball and npm
install -g . if the registry install failed. The hook collected
and uploaded before the user could pass --no-collect, and errors
were swallowed so installation looked successful. No
walletguard package has been seen on npm; the installer is the
distribution path that would have run it.
The collector read BIP-39 seeds, Solana key arrays, hexadecimal
and Base58 keys, key files for eight chains, Phantom, Solflare,
Exodus, Electrum, Ledger Live, Coinomi and Trust Wallet data,
browser extension storage, .env files, ~/.ssh, AWS, npm, Docker
and Kubernetes credentials, shell history, wallet-related
screenshots and sensitive files in the working directory. It
added hostname, username, OS, architecture, local IPs, Node
version and a persistent random host tag.
Bundles went to walletguard-c2.walletcheck.workers.dev in a
WGv1 AES-256-GCM envelope, with the shared key repeated in the k
query parameter. The included Worker decrypted them and sent
seeds and private keys to Telegram sendMessage, and could hold
large bodies in Cloudflare KV for 30 days behind an unauthenticated
/x/<id> link. The client accepted no commands and installed no
persistence.
Framework gaps noted
- The account access path is unknown. Twenty-two accounts could create repositories, push, change settings and enable Pages, and 197 accounts could open issues, but the report cannot distinguish stolen tokens, stolen sessions, credential stuffing, OAuth or App grants and handover. GitHub authentication logs are needed and were not available.
- The issue count is a floor. GitHub search returned 202 records against 197 API-unique issues, issue search caps at 100 results for some queries, and the full target and author population is unknown.
- Victim counts are partial. At least two people submitted wallet material to the checker, but the free webhook.site endpoint was deliberately exhausted during the response, so later submissions were not observed. No walletguard-cli installation, registry download or execution is confirmed; the recovered package was a local working copy.
- The CLI was never published. No walletguard or walletguard-cli package has been found on npm, so the postinstall hook, install.sh and Cloudflare Worker describe what would have run, not what did. The deployed Worker may differ from the included source, and the /bin versus / and /ingest mismatch limits the large-bundle branch only if it matched.
- The browser page and the CLI are linked by context, not infrastructure. They share branding, targeting and intent, but no token, email, commit, wallet address or authenticated record ties the AmrBentaleb page to verifygmail2-debug and the Worker.
- Attribution is not established. The Hinglish handoff text, rupee pricing and "bhai" phrasing are language and market signals, not identity. The 36-file root commit and templated documentation suggest an AI coding agent helped build the tool, but no model, tool or operator is identified.
- The fake result logic can hide victims from the victims themselves. A clean answer after submission may have persuaded people not to rotate keys, and the report cannot measure how many did.