crates.io / memmap2 / 0.9.12

memmap2 0.9.12

Source
https://github.com/RazrFalcon/memmap2-rs
Artifact scanned
memmap2-0.9.12.crate (crate · 38.2 KB · SHA-256 6b0ca1155a9e…)
Compared with
memmap2-0.9.11.crate (3 signals introduced since)
Files
10 scanned, 7 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 3 info
Scan time
2.8 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 3 of 3 warn and critical signals; 3 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-11-09 09:42

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info warn → info by review dynamic-import .github/workflows/main.yml:123:11 new in this release

    [embedded bash] `source` called with a dynamic path — sourcing a variable script path (ast pass, confidence 0.75)

              . $HOME/.cargo/env
              cargo +nightly update -Zminimal-versions
    likely benign LLM, confidence 0.95 A CI step sources the rustup cargo environment file from $HOME before running cargo commands.
    Reasoning

    Sourcing $HOME/.cargo/env is the standard rustup installation idiom in CI workflows; the path is a well-known user-home file, not attacker-controlled input. The flag is a generic dynamic-path heuristic firing on a benign pattern.

  2. info warn → info by review dynamic-import .github/workflows/main.yml:128:11 new in this release

    [embedded bash] `source` called with a dynamic path — sourcing a variable script path (ast pass, confidence 0.75)

              . $HOME/.cargo/env
              cargo build --locked --all-features
    likely benign LLM, confidence 0.95 A CI step sources $HOME/.cargo/env before running a cargo build.
    Reasoning

    Identical standard rustup env sourcing before a cargo build; no untrusted input or remote fetch is involved in the sourced path.

  3. info warn → info by review dynamic-import .github/workflows/main.yml:133:11 new in this release

    [embedded bash] `source` called with a dynamic path — sourcing a variable script path (ast pass, confidence 0.75)

              . $HOME/.cargo/env
              cargo test --locked --all-features
    likely benign LLM, confidence 0.95 A CI step sources $HOME/.cargo/env before running cargo test.
    Reasoning

    Same benign rustup environment sourcing preceding cargo test; the dynamic path is only the home directory's cargo env file.

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
curl -fsSL -o memmap2-0.9.12.crate 'https://static.crates.io/crates/memmap2/memmap2-0%2E9%2E12.crate'
printf '%s  %s\n' 6b0ca1155a9ecc25aa12e8313a119f32edf0255fea2f44839c4ac0a12b2ac157 memmap2-0.9.12.crate | shasum -a 256 -c -
mkdir pkg && tar -xzf memmap2-0.9.12.crate -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg