Build script reached github.com +1
Unexpected network connection
- Subject
- barretenberg-rs 7.0.0-nightly.20261014
- Destination
- github.com:443, release-assets.githubusercontent.com:443
- Reaches
- Jobs
- build-test
- Rule
- egress
Evidence
Connection outside the process’s allowed destinationscause
connection to github.com:443, opened by curl
subject github.com:443
by curl -L -f -o /home/runner/work/aztec-packages/aztec-packages/target/release/build/barretenberg-rs-acba2dd3131f1a09/out/barretenberg-static.tar.gz https://githu…
Connection outside the process’s allowed destinationscause
connection to release-assets.githubusercontent.com:443, opened by curl
subject release-assets.githubusercontent.com:443
by curl -L -f -o /home/runner/work/aztec-packages/aztec-packages/target/release/build/barretenberg-rs-acba2dd3131f1a09/out/barretenberg-static.tar.gz https://githu…
What a build script's fetch becamesupport
1 file came down; nothing the build compiled, linked or ran
Connection opened by a build script or child processsupport
the opener descends from the build script at /home/runner/work/aztec-packages/aztec-packages/target/release/build/barretenberg-rs-b157000b37933d76/build_script_build-b157000b37933d76
Build script fetched what its crate documents it fetchessupport
barretenberg-rs's build script fetches a prebuilt barretenberg from github.com, release-assets.githubusercontent.com: aztec-packages' build.rs fetches the barretenberg binary from its GitHub release
Tool commandsupport
Command: curl -L -f -o /home/runner/work/aztec-packages/aztec-packages/target/release/build/barretenberg-rs-acba2dd3131f1a09/out/barretenberg-static.tar.gz https://githu…
by curl -L -f -o /home/runner/work/aztec-packages/aztec-packages/target/release/build/barretenberg-rs-acba2dd3131f1a09/out/barretenberg-static.tar.gz https://githu…
Processes
build-test
cargo›cargo›build-script-build›curl
- Ran
- curl -L -f -o /home/runner/work/aztec-packages/aztec-packages/target/release/build/barretenberg-rs-acba2dd3131f1a09/out/barretenberg-static.tar.gz https://githu…
- Invoked by
- cargo build --release --locked --message-format=json-render-diagnostics
Lineage · 4 processes
- cargocargo build --release --locked --message-format=json-render-diagnostics2458
- cargo/home/runner/.rustup/toolchains/1.99.0-x86_64-unknown-linux-gnu/bin/cargo build --release --locked --message-format=json-render-diagnostics2458
- build-script-build/home/runner/work/aztec-packages/aztec-packages/target/release/build/barretenberg-rs-b157000b37933d76/build-script-build3048
- curlcurl -L -f -o /home/runner/work/aztec-packages/aztec-packages/target/release/build/barretenberg-rs-acba2dd3131f1a09/out/barretenberg-static.tar.gz https://githu…3060
Remediation
The crate's build script reached the network at compile time, outside the registry's checksums. Build it from what the registry ships (the crate's own environment variable or from-source feature), or record the download as accepted once it is reviewed.