Build script fetched what the build compiled, linked or ran
Unexpected network connection
- Subject
- proc-macro1 0.1.0
- Destination
- 18.238.80.69:443, 18.238.80.121:80
- Reaches
- arrayref_demo-aae5e5ef1789e531build
- Jobs
- build
- Rule
- egress
Evidence
Connection outside the process’s allowed destinationscause
connection to 18.238.80.69:443, opened by curl
subject 18.238.80.69:443
by curl --disable --fail --silent --show-error --noproxy * --proto =https --connect-timeout 5 --max-time 20 --max-filesize 1048576 --header Host: example.com --out…
Connection outside the process’s allowed destinationscause
connection to 18.238.80.121:80, opened by rust-setup
subject 18.238.80.121:80
by /home/bb/work/arrayref-0.3.10/target/direct/debug/build/proc-macro1-3e25e002586d1ae8/out/fixture-2058/rust-setup example.com:80
What a build script's fetch becamesupport
1 file came down; the build compiled or linked and ran rust-setup
Data sent; no reply recordedsupport
subject 18.238.80.121:80
by /home/bb/work/arrayref-0.3.10/target/direct/debug/build/proc-macro1-3e25e002586d1ae8/out/fixture-2058/rust-setup example.com:80
Connection opened by a build script or child processsupport
the opener descends from the build script at /home/bb/work/arrayref-0.3.10/target/direct/debug/build/proc-macro1-32ce5f297d03aac0/build_script_build-32ce5f297d03aac0
Tool commandsupport
Command: curl --disable --fail --silent --show-error --noproxy * --proto =https --connect-timeout 5 --max-time 20 --max-filesize 1048576 --header Host: example.com --out…
by curl --disable --fail --silent --show-error --noproxy * --proto =https --connect-timeout 5 --max-time 20 --max-filesize 1048576 --header Host: example.com --out…
Tool commandsupport
Command: /home/bb/work/arrayref-0.3.10/target/direct/debug/build/proc-macro1-3e25e002586d1ae8/out/fixture-2058/rust-setup example.com:80
by /home/bb/work/arrayref-0.3.10/target/direct/debug/build/proc-macro1-3e25e002586d1ae8/out/fixture-2058/rust-setup example.com:80
Processes
build
systemd›sshd:›sshd-session:›…›build-script-build›curl
- Ran
- curl --disable --fail --silent --show-error --noproxy * --proto =https --connect-timeout 5 --max-time 20 --max-filesize 1048576 --header Host: example.com --out…
- Invoked by
- /usr/lib/systemd/systemd
Lineage · 12 processes
- systemd/usr/lib/systemd/systemd1
- sshd:sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups1084
- sshd-session:sshd-session: bb [priv]1844
- sshd-session:sshd-session: bb@notty1912
- sudosudo1913
- shsh1915
- runuserrunuser -u bb -- sh -c cd '/home/bb/work/arrayref-0.3.10' && HOME='/home/bb/work' python3 scenario.py --variant direct1946
- shsh -c cd '/home/bb/work/arrayref-0.3.10' && HOME='/home/bb/work' python3 scenario.py --variant direct1947
- python3python3 scenario.py --variant direct1948
- cargocargo build --offline --locked --manifest-path /home/bb/work/arrayref-0.3.10/Cargo.toml --target-dir /home/bb/work/arrayref-0.3.10/target/direct1952
- build-script-build/home/bb/work/arrayref-0.3.10/target/direct/debug/build/proc-macro1-32ce5f297d03aac0/build-script-build2058
- curlcurl --disable --fail --silent --show-error --noproxy * --proto =https --connect-timeout 5 --max-time 20 --max-filesize 1048576 --header Host: example.com --out…2060
Remediation
A dependency's build downloaded files the build then compiled, linked or ran, outside anything the registry checksums. Review what came down, pin or replace the dependency, or record the download as accepted once it is reviewed.