trailofbits / trailofbits/fickling

stdlib check depends on the scanner's Python version

Open
#311 0 comments 0 reactions 1 assignee View on GitHub

@thomas-chauchefoin-tob is already working on this.

Since Jul 29, 2026.

Dominant language
Python
Stars
670
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Since we don't know in advance which Python version the pickles will be loaded in (e.g., scanned by a CI but loaded on a developer machine), we need the union of all stdlib module names across supported Python versions and use that instead. On the other hand, there's also the risk that a PyPI package was created with the same name as a previously-standard module.

Either generate the table with top-level modules ourselves and check it in, or add stdlib_list back and merge their lists (they contain submodules as well), give some control to the user over the target version, and document the defaults and the associated risks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.