Repository navigation
Vuln fixes - #8
Open
deveshgupta30 wants to merge 2 commits into
Open
deveshgupta30 wants to merge 2 commits into
deveshgupta30 wants to merge 2 commits into
Conversation
…filelock, urllib3 and requests
- Updated cryptography from >=40.0.4 to >=50.0.0 - Updated setuptools from >=78.1.1 to >=83.0.0 - Updated poetry from >=2.0.0 to >=2.3.4 - Updated pytest from ^8.0.0 to ^9.0.3
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.
Summary
Fixes every known vulnerability in the dependency tree and bumps the release to 1.2.2. The branch raises the floors of the four direct dependencies that had advisories (cryptography, setuptools, poetry, pytest) and fully regenerates
poetry.lockso transitive packages (urllib3, dulwich, virtualenv, anyio, and others) also land on patched releases. There are no source changes.Scanned with Trivy 0.76.0 and Grype against the repo (
poetry.lock+pyproject.toml):mainChanges
pyproject.tomlversion: 1.2.0 -> 1.2.2cryptography:>=40.0.4->>=50.0.0setuptools:>=70.0.0->>=83.0.0poetry:>=2.0.0->>=2.3.4pytest(dev):^8.0.0->^9.0.3Python support is unchanged (
>=3.10, <3.14). Every patched version below still supports 3.10.poetry.lockregenerated withpoetry lock --regenerate. Packages that carried advisories:mainOther notable moves from the regeneration: cython 3.1.2 -> 3.3.0, typer 0.16.0 -> 0.27.3, rich 14.0.0 -> 15.0.0, poetry-core 2.1.3 -> 2.5.0, pyinstaller 6.14.2 -> 6.22.3. Typer no longer depends on
click, soclick,sniffioandzstandarddrop out of the lock;annotated-doc,backports-zstdandpython-discoveryare new transitive entries.Compatibility notes
cryptographyis only used throughAESGCM, whose API is unchanged across 45 -> 50.poetryis invoked over subprocess (poetry build,poetry run), not imported, so the major bump has no code impact.unittest.TestCaseclasses, so pytest 9 needs no test changes.poetry checkpasses. It still prints deprecation warnings about the[tool.poetry]metadata table; those predate this branch and are left alone.Verification
ruff check .passes.python:3.12Docker container with the new lock: 3 of 4 tests pass, includingtest_obfuscate, which exercises the upgraded Cython, setuptools, poetry build, cryptography and typer end to end.test_obfuscate_with_expiration, fails identically onmainin the same container (3 of 3 attempts on each lock). Its 5 second expiry window elapses during the Cython build, so it is a pre-existing timing issue, not a regression from this branch.*.sowhile MSVC emits.pyd. This is pre-existing and unrelated.Test plan
codeenigma obfuscate tests/example_module/example_module -o /tmp/outbuilds the runtime wheel and the obfuscated module runs