Crateward

cp2k-spfft-sys 0.3.2

Done dynamic on Linux job 228061 crates.io SBOM Findings (VEX)

high severity downloader_pattern in build_script code: https://github.com/eth-cscs/SpFFT/archive/17ddf73fe65547f93a5439185baf10cd7b49532f.tar.gz at build.rs:74 with std::process::Command::new at build.rs:83

45
medium
Automated verdict. Nobody reviewed it. A score is a reason to look closer, not a finding.

Evidence

PointsSignalWhereWhat
30static:downloader_pattern
static · cp2k-spfft-sys
build.rs:74high severity downloader_pattern in build_script code: https://github.com/eth-cscs/SpFFT/archive/17ddf73fe65547f93a5439185baf10cd7b49532f.tar.gz at build.rs:74 with std::process::Command::new at build.rs:83
10network_lookup
network · cp2k-fftw3-sys
www.fftw.orgThe build looked up www.fftw.org.
5exec_downloader
trace · cp2k-fftw3-sys
/usr/bin/curlThe build ran /usr/bin/curl.
3 without points
SignalWhereWhat
static:build_script
static · cp2k-spfft-sys
build.rslow severity build_script in build_script code: build.rs
static:process_spawn
static · cp2k-spfft-sys
build.rs:83medium severity process_spawn in build_script code (4 places): std::process::Command::new
static:url_literal
static · cp2k-spfft-sys
build.rs:74low severity url_literal in build_script code: https://github.com/eth-cscs/SpFFT/archive/17ddf73fe65547f93a5439185baf10cd7b49532f.tar.gz

Behavior

Profile

exec:downloader net:www.fftw.org static:downloader_pattern static:process_spawn

Static findings

5 groups
high downloader_pattern build_script 1
  • https://github.com/eth-cscs/SpFFT/archive/17ddf73fe65547f93a5439185baf10cd7b49532f.tar.gz at build.rs:74 with std::process::Command::new at build.rs:83 build.rs:74
medium process_spawn build_script 4
low build_script build_script 1
low url_literal build_script 1
  • https://github.com/eth-cscs/SpFFT/archive/17ddf73fe65547f93a5439185baf10cd7b49532f.tar.gz build.rs:74
info native_link build_script 1

Run: check

failed
Ended
agent reported the end
Guest
exit code 101
Run time
52.5 s
VM restore
57 ms
Payload
527 files, 4.5 MiB
Files opened
1104

Processes 23

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 check --locked --offline 5 ms 52.4 s 25856
└rustc /usr/local/bin/rustc ×3 --crate-name build_script_build --edition=2021 /cw/vendor/libc-0.2.191/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --allow=unused_qualifications --warn=clippy::unnecessary_semicolon --allow=clippy::unnecessary_cast --warn=clippy::ptr_as_ptr --allow=clippy::non_minimal_cfg --allow=clippy::missing_safety_doc --warn=clippy::map_unwrap_or --warn=clippy::manual_assert --allow=clippy::identity_op --warn=clippy::explicit_iter_loop --cfg feature="default" --cfg feature="std" --check-cfg cfg(docsrs,test) --check-cfg cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std")) -C metadata=f2b3c09777387306 129 ms 856 ms 0
└toolchain /usr/bin/cc -m64 /work/target/debug/build/libc-24a0c765ebd7d3cb/rustcqCxsnU/symbols.o /work/target/debug/build/libc-24a0c765ebd7d3cb/build_script_build-24a0c765ebd7d3cb.build_script_build.2cf7c5ec755a4f39-cgu.0.rcgu.o /work/target/debug/build/libc-24a0c765ebd7d3cb/build_script_build-24a0c765ebd7d3cb.build_script_build.2cf7c5ec755a4f39-cgu.1.rcgu.o /work/target/debug/build/libc-24a0c765ebd7d3cb/build_script_build-24a0c765ebd7d3cb.build_script_build.2cf7c5ec755a4f39-cgu.2.rcgu.o /work/target/debug/build/libc-24a0c765ebd7d3cb/build_script_build-24a0c765ebd7d3cb.build_script_build.2cf7c5ec755a4f39-cgu.3.rcgu.o /work/target/debug/build/libc-24a0c765ebd7d3cb/build_script_build-24a0c765ebd7d3cb.9x3fp7esgkeb4azbnju054438.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/rus 815 ms 167 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/ccftGTok.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/libc-24a0c765ebd7d3cb/build_script_build-24a0c765ebd7d3cb /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/libc-24a0c765ebd7d3cb/rustcqCxsnU/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/lib/../li 822 ms 159 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/ccftGTok.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/libc-24a0c765ebd7d3cb/build_script_build-24a0c765ebd7d3cb /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/libc-24a0c765ebd7d3cb/rustcqCxsnU/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 825 ms 155 ms 0
└build_script libc 989 ms 9 ms 0
└rustc /usr/local/bin/rustc --version 990 ms 6 ms 0
└rustc /usr/local/bin/rustc ×3 --crate-name libc --edition=2021 /cw/vendor/libc-0.2.191/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --allow=unused_qualifications --warn=clippy::unnecessary_semicolon --allow=clippy::unnecessary_cast --warn=clippy::ptr_as_ptr --allow=clippy::non_minimal_cfg --allow=clippy::missing_safety_doc --warn=clippy::map_unwrap_or --warn=clippy::manual_assert --allow=clippy::identity_op --warn=clippy::explicit_iter_loop --cfg feature="default" --cfg feature="std" --check-cfg cfg(docsrs,test) --check-cfg cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std")) -C metadata=f380c4d05d342677 998 ms 841 ms 0
└build_script cp2k-fftw3-sys 2.3 s 50.1 s 25856
└other /usr/bin/curl ×4 -fL --retry 3 -o /work/target/debug/fftw3-stable/fftw-3.3.11.tar.gz https://www.fftw.org/fftw-3.3.11.tar.gz 2.3 s 64 ms 5632

Network 5

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 www.fftw.org

DestinationProtocolWhat was sentBytes
:443tlsSNI www.fftw.org, inside TLS: GET /fftw-3.3.11.tar.gz, host www.fftw.org, agent curl/8.14.11.5 KiB
:443tlsSNI www.fftw.org, inside TLS: GET /fftw-3.3.11.tar.gz, host www.fftw.org, agent curl/8.14.11.5 KiB
:443tlsSNI www.fftw.org, inside TLS: GET /fftw-3.3.11.tar.gz, host www.fftw.org, agent curl/8.14.11.5 KiB
:443tlsSNI www.fftw.org, inside TLS: GET /fftw-3.3.11.tar.gz, host www.fftw.org, agent curl/8.14.11.5 KiB
Sockets in the trace 12
WhenProgramHowAddressType
2.4 s/usr/bin/curlconnectunix:/var/run/nscd/socketstream
2.4 s/usr/bin/curlconnect:53datagram
2.4 s/usr/bin/curlconnect:443stream
7.4 s/usr/bin/curlconnectunix:/var/run/nscd/socketstream
7.4 s/usr/bin/curlconnect:53datagram
7.4 s/usr/bin/curlconnect:443stream
17.4 s/usr/bin/curlconnectunix:/var/run/nscd/socketstream
17.4 s/usr/bin/curlconnect:53datagram
17.4 s/usr/bin/curlconnect:443stream
32.4 s/usr/bin/curlconnectunix:/var/run/nscd/socketstream
32.4 s/usr/bin/curlconnect:53datagram
32.4 s/usr/bin/curlconnect:443stream

Files 0

Secrets opened

None.

Written outside the build directories

None.

Scratch disk 0

Files
59
Directories
44
Size
36.4 MiB
Compiled units
6

Nothing outside the build areas.

Output

Standard error
   Compiling libc v0.2.191
   Compiling num_cpus v1.17.0
   Compiling cp2k-build-utils v0.3.2
   Compiling cp2k-pugixml-sys v0.3.2
   Compiling cp2k-fftw3-sys v0.3.2
warning: cp2k-fftw3-sys@0.3.2: Downloading FFTW3 3.3.11 release tarball...
warning: cp2k-fftw3-sys@0.3.2: download attempt 1/4 for https://www.fftw.org/fftw-3.3.11.tar.gz failed; retrying
warning: cp2k-fftw3-sys@0.3.2: download attempt 2/4 for https://www.fftw.org/fftw-3.3.11.tar.gz failed; retrying
warning: cp2k-fftw3-sys@0.3.2: download attempt 3/4 for https://www.fftw.org/fftw-3.3.11.tar.gz failed; retrying
warning: cp2k-fftw3-sys@0.3.2: download attempt 4/4 for https://www.fftw.org/fftw-3.3.11.tar.gz failed; retrying
error: failed to run custom build command for `cp2k-fftw3-sys v0.3.2`

Caused by:
  process didn't exit successfully: `/work/target/debug/build/cp2k-fftw3-sys-9a89f6b053d1db8d/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs
  cargo:rerun-if-env-changed=CP2K_TARGET_ARCH
  cargo:warning=Downloading FFTW3 3.3.11 release tarball...
  cargo:warning=download attempt 1/4 for https://www.fftw.org/fftw-3.3.11.tar.gz failed; retrying
  cargo:warning=download attempt 2/4 for https://www.fftw.org/fftw-3.3.11.tar.gz failed; retrying
  cargo:warning=download attempt 3/4 for https://www.fftw.org/fftw-3.3.11.tar.gz failed; retrying
  cargo:warning=download attempt 4/4 for https://www.fftw.org/fftw-3.3.11.tar.gz failed; retrying

  --- stderr

  thread 'main' (647) panicked at /cw/vendor/cp2k-build-utils-0.3.2/src/lib.rs:285:5:
  Failed to download https://www.fftw.org/fftw-3.3.11.tar.gz after 4 attempts:   % 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

  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Timeline

6
WhenFromToEventWorker
2026-10-21 14:05 UTCDiscoveredFetchedfetchedfetcher-12688
2026-10-21 14:05 UTCFetchedReadyForSandboxstatic_analysis_completedstatic-12726
2026-10-21 14:06 UTCReadyForSandboxRunningsandbox_startedorchestrator-12760-slot2
2026-10-21 14:07 UTCRunningDynamicallyAnalyzedsandbox_completedorchestrator-12760-slot2
2026-10-21 14:07 UTCDynamicallyAnalyzedScoredscoredanalyzer-12816
2026-10-21 14:07 UTCScoredDonefinalizedanalyzer-12816