trailofbits / trailofbits/fickling
stdlib check depends on the scanner's Python version
@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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.