security: bump setuptools to 83.0.0 (GHSA-h35f-9h28-mq5c) - #74
Merged
Conversation
Resolves the open Dependabot alert on poetry.lock. setuptools is a transitive dev-group dependency (pyinstaller requires >=42.0.0), used when building the standalone binaries. GHSA-h35f-9h28-mq5c: MANIFEST.in exclude/prune directives are matched byte-for-byte with no Unicode normalization, so on macOS APFS/HFS+ an NFC-written rule fails to match an NFD-written filename and the file is silently packed into the sdist. Lock-only change; no pyproject constraint needed since 83.0.0 already satisfies pyinstaller's >=42.0.0.
This was referenced Jul 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the one open Dependabot alert on this repo: #35,
setuptools < 83.0.0(GHSA-h35f-9h28-mq5c, medium).The vulnerability
MANIFEST.inexclusion directives (exclude,global-exclude,recursive-exclude,prune) are matched against on-disk filenames byte-for-byte, with no Unicode normalization. On macOS APFS/HFS+ a rule saved in NFC does not match a filename written in NFD even though the filesystem treats them as the same file, so a file the maintainer meant to exclude gets packed into the sdist and, if published, uploaded to the immutable PyPI index. Pure-ASCII rules are unaffected.The change
poetry.lockonly — setuptools81.0.0→83.0.0. setuptools is a transitive dev-group dependency (pyinstaller requires>=42.0.0) used when building the standalone binaries; it is not shipped to CLI users. Nopyproject.tomlconstraint was added because83.0.0already satisfies pyinstaller's existing range.Verification (no regression)
poetry check --lockclean; lock diff is isolated to the setuptools block (no other package, nocontent-hash/lock-versionchurn).--help/--version/info,scanin terminal/markdown/JSON/SPDX form,--strict,--lint,--no-fail-on-risk,diff, and the missing-target and bad-flag error paths — byte-identical after normalizing inherently volatile fields (timestamps, randombom-refs, SPDX ids).scripts/build_binaries.shwas run end-to-end: 17M arm64 binary produced, and the frozen binary still flagsmock_malware.ptasCRITICAL (RCE posix.system)and exits2.