cp2k-libvdwxc-sys 0.3.2
high severity downloader_pattern in build_script code: https://www.cp2k.org/static/downloads/libvdwxc-{ver}.tar.gz at build.rs:52 with std::process::Command::new at build.rs:58
45
medium
Automated verdict. Nobody reviewed it. A score is a reason to look closer, not a finding.
Evidence
| Points | Signal | Where | What |
|---|---|---|---|
| 30 | static:downloader_pattern static · cp2k-libvdwxc-sys | build.rs:52 | high severity downloader_pattern in build_script code: https://www.cp2k.org/static/downloads/libvdwxc-{ver}.tar.gz at build.rs:52 with std::process::Command::new at build.rs:58 |
| 10 | network_lookup network · cp2k-fftw3-sys | www.fftw.org | The build looked up www.fftw.org. |
| 5 | exec_downloader trace · cp2k-fftw3-sys | /usr/bin/curl | The build ran /usr/bin/curl. |
3 without points
| Signal | Where | What |
|---|---|---|
| static:build_script static · cp2k-libvdwxc-sys | build.rs | low severity build_script in build_script code: build.rs |
| static:process_spawn static · cp2k-libvdwxc-sys | build.rs:58 | medium severity process_spawn in build_script code (4 places): std::process::Command::new |
| static:url_literal static · cp2k-libvdwxc-sys | build.rs:52 | low severity url_literal in build_script code: https://www.cp2k.org/static/downloads/libvdwxc-{ver}.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://www.cp2k.org/static/downloads/libvdwxc-{ver}.tar.gz at build.rs:52 with std::process::Command::new at build.rs:58build.rs:52
medium process_spawn build_script 4
std::process::Command::newbuild.rs:58 build.rs:86 build.rs:123 build.rs:129
low build_script build_script 1
build.rsbuild.rs
low url_literal build_script 1
https://www.cp2k.org/static/downloads/libvdwxc-{ver}.tar.gzbuild.rs:52
info native_link build_script 1
links = "cp2k_libvdwxc"Cargo.toml
Run: check
failed- Ended
- agent reported the end
- Guest
- exit code 101
- Run time
- 52.4 s
- VM restore
- 63 ms
- Payload
- 520 files, 4.5 MiB
- Files opened
- 924
Processes 19
Siblings that ran the same program with the same result and the same processes below are folded into one row, with their number.
| Process | Arguments | Start | Took | Exit |
|---|---|---|---|---|
| cargo /usr/local/bin/cargo | check --locked --offline | 5 ms | 52.4 s | 25856 |
| └rustc /usr/local/bin/rustc ×2 | --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 | 115 ms | 763 ms | 0 |
| └toolchain /usr/bin/cc | -m64 /work/target/debug/build/libc-24a0c765ebd7d3cb/rustc3NDqre/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 | 716 ms | 156 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/cc5Ur8ZL.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/rustc3NDqre/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 | 725 ms | 146 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/cc5Ur8ZL.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/rustc3NDqre/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 | 728 ms | 142 ms | 0 |
| └build_script libc | 882 ms | 9 ms | 0 | |
| └rustc /usr/local/bin/rustc | --version | 883 ms | 7 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 | 892 ms | 955 ms | 0 |
| └build_script cp2k-fftw3-sys | 2.2 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.2 s | 62 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
| Destination | Protocol | What was sent | Bytes |
|---|---|---|---|
| :443 | tls | SNI www.fftw.org, inside TLS: GET /fftw-3.3.11.tar.gz, host www.fftw.org, agent curl/8.14.1 | 1.5 KiB |
| :443 | tls | SNI www.fftw.org, inside TLS: GET /fftw-3.3.11.tar.gz, host www.fftw.org, agent curl/8.14.1 | 1.5 KiB |
| :443 | tls | SNI www.fftw.org, inside TLS: GET /fftw-3.3.11.tar.gz, host www.fftw.org, agent curl/8.14.1 | 1.5 KiB |
| :443 | tls | SNI www.fftw.org, inside TLS: GET /fftw-3.3.11.tar.gz, host www.fftw.org, agent curl/8.14.1 | 1.5 KiB |
Sockets in the trace 12
| When | Program | How | Address | Type |
|---|---|---|---|---|
| 2.3 s | /usr/bin/curl | connect | unix:/var/run/nscd/socket | stream |
| 2.3 s | /usr/bin/curl | connect | :53 | datagram |
| 2.3 s | /usr/bin/curl | connect | :443 | stream |
| 7.3 s | /usr/bin/curl | connect | unix:/var/run/nscd/socket | stream |
| 7.3 s | /usr/bin/curl | connect | :53 | datagram |
| 7.3 s | /usr/bin/curl | connect | :443 | stream |
| 17.3 s | /usr/bin/curl | connect | unix:/var/run/nscd/socket | stream |
| 17.3 s | /usr/bin/curl | connect | :53 | datagram |
| 17.3 s | /usr/bin/curl | connect | :443 | stream |
| 32.3 s | /usr/bin/curl | connect | unix:/var/run/nscd/socket | stream |
| 32.3 s | /usr/bin/curl | connect | :53 | datagram |
| 32.3 s | /usr/bin/curl | connect | :443 | stream |
Files 0
Secrets opened
None.
Written outside the build directories
None.
Scratch disk 0
- Files
- 52
- Directories
- 38
- Size
- 27.2 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-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' (635) 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
| When | From | To | Event | Worker |
|---|---|---|---|---|
| 2026-10-21 14:07 UTC | Discovered | Fetched | fetched | fetcher-12688 |
| 2026-10-21 14:07 UTC | Fetched | ReadyForSandbox | static_analysis_completed | static-12726 |
| 2026-10-21 14:07 UTC | ReadyForSandbox | Running | sandbox_started | orchestrator-12760-slot2 |
| 2026-10-21 14:08 UTC | Running | DynamicallyAnalyzed | sandbox_completed | orchestrator-12760-slot2 |
| 2026-10-21 14:08 UTC | DynamicallyAnalyzed | Scored | scored | analyzer-12816 |
| 2026-10-21 14:08 UTC | Scored | Done | finalized | analyzer-12816 |