You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
security(ci): managed ci.yml passes the Cachix push token to same-repo pull_request runs (cache poisoning) #1881
Security: the managed ci.yml gives the Cachix push token to pull-request runs from branches in the same repository. Code in those runs is unreviewed and runs on a runner with sudo, so it can push arbitrary store paths into the consumer's binary cache.
Cachix signs uploads with the cache's own key, so whatever is pushed is trusted. That includes fake contents under a real dependency's store path, which a later release build would install. Found in vig-os/stepv while wiring Cachix for vig-os/stepv#81. The managed file can't be fixed downstream, because devkit regenerates it.
Observed
In vig-os/stepv, the devkit-managed .github/workflows/ci.yml passes secrets.CACHIX_AUTH_TOKEN to the nix setup step on pull_request events from same-repo branches. As a result, skipPush is false and ~/.config/cachix/cachix.dhall is written, readable by every later step.
Activity
perf(kernel): build OCCT with the FixSelfIntersectWire hoist patch (#81)
fix(toolchain): release-lane cache parity, bounded realisation, fail-…