Crateward

gmsh_ffi 0.2.2

Done dynamic on Linux job 127714 crates.io SBOM Findings (VEX) Compare with 0.2.1

high severity shell_command in build_script code: curl failed

55
high
False positive. A person reviewed this verdict and found the crate benign. The evidence below is what the analysis saw.

Evidence

PointsSignalWhereWhat
30static:shell_command
static · gmsh_ffi
build.rs:196high severity shell_command in build_script code: curl failed
10disk_outside_build
disk
/work/home/.cacheThe build left /work/home/.cache (dir) and 3 entries below it.
10network_lookup
network · gmsh_ffi
gmsh.infoThe build looked up gmsh.info.
5exec_downloader
trace · gmsh_ffi
/usr/bin/curlThe build ran /usr/bin/curl.
4 without points
SignalWhereWhat
static:build_script
static · gmsh_ffi
build.rslow severity build_script in build_script code: build.rs
static:downloader_pattern
static · gmsh_ffi
build.rs:139high severity downloader_pattern in build_script code: https://gmsh.info/bin/Linux/gmsh-{}-Linux64-sdk.tgz at build.rs:139 with std::process::Command::new at build.rs:185
static:process_spawn
static · gmsh_ffi
build.rs:185medium severity process_spawn in build_script code (5 places): std::process::Command::new
static:url_literal
static · gmsh_ffi
build.rs:139low severity url_literal in build_script code (3 places): https://gmsh.info/bin/Linux/gmsh-{}-Linux64-sdk.tgz

Behavior

Profile

disk:outside exec:downloader net:gmsh.info static:downloader_pattern static:process_spawn static:shell_command

Static findings

8 groups
high downloader_pattern build_script 1
  • https://gmsh.info/bin/Linux/gmsh-{}-Linux64-sdk.tgz at build.rs:139 with std::process::Command::new at build.rs:185 build.rs:139
high shell_command build_script 1
medium process_spawn build_script 5
low foreign_functions library 383
low url_literal build_script 3
  • https://gmsh.info/bin/Linux/gmsh-{}-Linux64-sdk.tgz build.rs:139
  • https://gmsh.info/bin/Windows/gmsh-{}-Windows64-sdk.zip build.rs:147
  • https://gmsh.info/bin/MacOSX/gmsh-{}-{}-sdk.tgz build.rs:161
low build_script build_script 1
info native_link build_script 1
info unsafe_code library 1

Run: full

failed

The full build covers everything the earlier cargo check run did, so only the full run is shown.

Ended
agent reported the end
Guest
exit code 101
Run time
985 ms
VM restore
68 ms
Payload
15 files, 462.8 KiB
Files opened
269

Processes 7

Siblings that ran the same program with the same result and the same processes below are folded into one row, with their number.

ProcessArgumentsStartTookExit
cargo /usr/local/bin/cargo build --locked --offline 5 ms 973 ms 25856
└rustc /usr/local/bin/rustc --crate-name build_script_build --edition=2021 /cw/vendor/gmsh_ffi-0.2.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --cfg feature="default" --check-cfg cfg(docsrs,test) --check-cfg cfg(feature, values("default")) -C metadata=1a37f26015ec715b -C extra-filename=-3ccc165c8996d33d --out-dir /work/target/debug/build/gmsh_ffi-3ccc165c8996d33d -L dependency=/work/target/debug/deps --cap-lints allow 116 ms 787 ms 0
└toolchain /usr/bin/cc -m64 /work/target/debug/build/gmsh_ffi-3ccc165c8996d33d/rustcoXCFZf/symbols.o /work/target/debug/build/gmsh_ffi-3ccc165c8996d33d/build_script_build-3ccc165c8996d33d.build_script_build.41102262fb5348ed-cgu.0.rcgu.o /work/target/debug/build/gmsh_ffi-3ccc165c8996d33d/build_script_build-3ccc165c8996d33d.build_script_build.41102262fb5348ed-cgu.1.rcgu.o /work/target/debug/build/gmsh_ffi-3ccc165c8996d33d/build_script_build-3ccc165c8996d33d.2ch1bzkuwjm19hfmahi99pzl3.rcgu.o -Wl,--as-needed -Wl,-Bstatic /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-64f5f36fb0927694.rlib /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-549498e8b2e4d924.rlib /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7ff85ea729a864ff.rlib /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-0e3477fb2664a277.rlib /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-09755979c57b7e64.rlib /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-9a1fede77fbbf2f0.rlib /usr/local/l 752 ms 148 ms 0
└toolchain /usr/libexec/gcc/x86_64-linux-gnu/14/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cc0Qc7bI.res --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -fuse-ld=lld -o /work/target/debug/build/gmsh_ffi-3ccc165c8996d33d/build_script_build-3ccc165c8996d33d /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o -L/work/target/debug/build/gmsh_ffi-3ccc165c8996d33d/rustcoXCFZf/raw-dylibs -L/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib -L/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/l 759 ms 141 ms 0
└toolchain /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld -flavor gnu -plugin /usr/libexec/gcc/x86_64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cc0Qc7bI.res --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o /work/target/debug/build/gmsh_ffi-3ccc165c8996d33d/build_script_build-3ccc165c8996d33d /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o -L/work/target/debug/build/gmsh_ffi-3ccc165c8996d33d/rustcoXCFZf/raw-dylibs -L/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib -L/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linu 762 ms 137 ms 0
└build_script gmsh_ffi 907 ms 70 ms 25856
└other /usr/bin/curl -L -f -A Mozilla/5.0 https://gmsh.info/bin/Linux/gmsh-4.15.2-Linux64-sdk.tgz -o /work/home/.cache/gmsh-sdk/4.15.2/linux-x86_64/gmsh-4.15.2-Linux64-sdk.tgz 908 ms 68 ms 5632

Network 2

The VM has no internet. Every name it looks up resolves to 10.0.2.1, the fake internet, which accepts every connection and records what was sent. Below, it is shown by its port alone, such as :443. The name the build wanted is in the lookups, the HTTP host and the TLS SNI.

Looked up gmsh.info

DestinationProtocolWhat was sentBytes
:443tlsSNI gmsh.info, inside TLS: GET /bin/Linux/gmsh-4.15.2-Linux64-sdk.tgz, host gmsh.info, agent Mozilla/5.01.5 KiB
Sockets in the trace 3
WhenProgramHowAddressType
953 ms/usr/bin/curlconnectunix:/var/run/nscd/socketstream
955 ms/usr/bin/curlconnect:53datagram
956 ms/usr/bin/curlconnect:443stream

Files 0

Secrets opened

None.

Written outside the build directories

None.

Scratch disk 4

Files
19
Directories
26
Size
9.2 MiB
Compiled units
0
WhyPathKindSizeMode
outside the build areas/work/home/.cachedir4.0 KiB755
outside the build areas/work/home/.cache/gmsh-sdkdir4.0 KiB755
outside the build areas/work/home/.cache/gmsh-sdk/4.15.2dir4.0 KiB755
outside the build areas/work/home/.cache/gmsh-sdk/4.15.2/linux-x86_64dir4.0 KiB755

Output

Standard error
   Compiling gmsh_ffi v0.2.2
warning: gmsh_ffi@0.2.2: Downloading Gmsh SDK from https://gmsh.info/bin/Linux/gmsh-4.15.2-Linux64-sdk.tgz...
error: failed to run custom build command for `gmsh_ffi v0.2.2`

Caused by:
  process didn't exit successfully: `/work/target/debug/build/gmsh_ffi-3ccc165c8996d33d/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs
  cargo:warning=Downloading Gmsh SDK from https://gmsh.info/bin/Linux/gmsh-4.15.2-Linux64-sdk.tgz...

  --- stderr
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  curl: (22) The requested URL returned error: 404

  thread 'main' (592) panicked at /cw/vendor/gmsh_ffi-0.2.2/build.rs:198:13:
  Download failed
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Timeline

9
WhenFromToEventWorker
2026-10-11 03:33 UTCDiscoveredFetchedfetchedfetcher-1896447
2026-10-11 03:33 UTCFetchedReadyForSandboxstatic_analysis_completedstatic-1896495
2026-10-11 03:33 UTCReadyForSandboxRunningsandbox_startedorchestrator-1898673-slot1
2026-10-11 03:33 UTCRunningDynamicallyAnalyzedsandbox_completedorchestrator-1898673-slot1
2026-10-11 03:33 UTCDynamicallyAnalyzedReadyForSandboxscoredanalyzer-1898703
2026-10-11 03:33 UTCReadyForSandboxRunningsandbox_startedorchestrator-1898673-slot2
2026-10-11 03:33 UTCRunningDynamicallyAnalyzedsandbox_completedorchestrator-1898673-slot2
2026-10-11 03:33 UTCDynamicallyAnalyzedScoredscoredanalyzer-1898703
2026-10-11 03:33 UTCScoredDonefinalizedanalyzer-1898703