Title: Potentially sensitive environment variables logged during build · Issue #8802 · RustPython/RustPython · GitHub
Open Graph Title: Potentially sensitive environment variables logged during build · Issue #8802 · RustPython/RustPython
X Title: Potentially sensitive environment variables logged during build · Issue #8802 · RustPython/RustPython
Description: We noticed that your build.rs saves all environment variables. Some of which may be sensitive. The output of build.rs is saved in the target directory. If someone uses your project as a dependency and reuses the cash between environment ...
Open Graph Description: We noticed that your build.rs saves all environment variables. Some of which may be sensitive. The output of build.rs is saved in the target directory. If someone uses your project as a dependency ...
X Description: We noticed that your build.rs saves all environment variables. Some of which may be sensitive. The output of build.rs is saved in the target directory. If someone uses your project as a dependency ...
Opengraph URL: https://github.com/RustPython/RustPython/issues/8802
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Potentially sensitive environment variables logged during build","articleBody":"We noticed that your [build.rs](https://github.com/RustPython/RustPython/blob/c6c1b1ce6c39894b351b3ca9f68cdd3a8aacd4d6/crates/vm/build.rs#L58) saves all environment variables. Some of which may be sensitive. The output of build.rs is saved in the target directory. If someone uses your project as a dependency and reuses the cash between environment that has access to sensitive variables and in environment controlled by users, your build.rs can be used to exfiltrate those secrets. We came across this while investigating a similar issue in MIRI https://blog.rust-lang.org/2026/09/21/github-actions-leaking-secrets-when-miri-output-is-cached/ Before we made the blog post about MIRI, The Rust Security Response Group scanned all crates for related patterns. I am starting to reach out to the projects found by that scan.\n\nIf this is not a problem relevant to your users, then I'm sorry for the noise, please feel free to close. Just wanted to make sure you are aware of this situation.","author":{"url":"https://github.com/Eh2406","@type":"Person","name":"Eh2406"},"datePublished":"2026-09-23T17:25:37Z","url":"https://github.com/RustPython/RustPython/issues/8802"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b52f9a18-dd53-f4da-04bc-85d3d6e5f5e8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B1F8:14EB6E:FCA6EF:14CB5F2:6B01D7D2 |
| html-safe-nonce | 3695523e5e1480ce4cfd88d5763755cf717053d3006b2f8cc6e6c2437b743080 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUY4OjE0RUI2RTpGQ0E2RUY6MTRDQjVGMjo2QjAxRDdEMiIsInZpc2l0b3JfaWQiOiI0MzA5ODE0OTUyNDkyOTE0NjQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 18d8fbebc9c85dd8eacc6d787ae235c8b38f205164ad54883776a5ff7bb0b7e4 |
| hovercard-subject-tag | issue:5557012928 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RustPython/RustPython/8802/issue_layout |
| twitter:image | https://opengraph.githubassets.com/945cc570d6620d188a97fbac8d555c540d5eb35bba7bfbf0e00a3067bbb18d85/RustPython/RustPython/issues/8802 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/945cc570d6620d188a97fbac8d555c540d5eb35bba7bfbf0e00a3067bbb18d85/RustPython/RustPython/issues/8802 |
| og:image:alt | We noticed that your build.rs saves all environment variables. Some of which may be sensitive. The output of build.rs is saved in the target directory. If someone uses your project as a dependency ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Eh2406 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width