GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Potentially sensitive environment variables logged during build · Issue #8802 · RustPython/RustPython

Potentially sensitive environment variables logged during build #8802

New issue
Copy link
New issue
Copy link
Closed
#8813
Closed
Potentially sensitive environment variables logged during build#8802
#8813
Copy link

Description

@Eh2406
Eh2406
opened on Sep 23, 2026
Issue body actions

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 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.

If 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.

Activity

  1. youknowone commented on Sep 24, 2026

    @youknowone
    youknowone
    on Sep 24, 2026
    Member
    More actions

    Thank you so much. I will investigate it

  2. youknowone
    closed this as completedin #8813on Sep 24, 2026
  3. 1ndahous3
    added a commit that references this issue on Sep 25, 2026

    Stop embedding build-time environment variables in _sysconfigdata (Ru…

    This issue will close once commit 33182c4 is merged into the 'main' branch.
    33182c4
  4. youknowone commented on Oct 22, 2026

    @youknowone
    youknowone
    on Oct 22, 2026
    Member
    More actions

    RustPython 0.6.0 is released with this fix. Thank you for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.