← Back to Resources
Open Source NewsSeptember 21, 20262 min read

GitHub Actions Leaking Secrets When Miri Output Is Cached

By BIOS Founding Team

GitHub Actions Leaking Secrets When Miri Output Is Cached

The Rust Security Response Team disclosed that Miri writes all environment variables into target/, meaning secrets present as env vars can leak into GitHub Actions caches later readable by pull requests, including from contributors with no other repo write access.

A short-term fix landed in nightly, and the team recommends disabling caching for Miri jobs or rotating any potentially exposed secrets.

Full details: https://blog.rust-lang.org/2026/09/21/github-actions-leaking-secrets-when-miri-output-is-cached/