Repository navigation
Conversation
Member
|
Codex review: Please resolve the lockfile conflict and narrow the update to the remaining certifi pin. Main already has pytest 9.2.0 and pytest-asyncio 1.4.1; keep those versions and regenerate/verify the certifi hashes before rerunning |
certifi 2026.7.22 still ships emSign roots whose intermediates were revoked after a key compromise (GHSA-6q48-6c7w-9gw2). httpx builds its TLS context from that bundle, so the dev lock inherits it. Pin 2026.10.23, the current fixed release, which removes the compromised emSign roots and keeps the unaffected emSign Root CA - G1. Hashes match the wheel and sdist published on PyPI for 2026.10.23.
cursor
Bot
force-pushed
the
fix/audit-certifi-ca-bundle
branch
from
November 18, 2026 00:31
e4a9cbe to
bca233d
Compare
This branch has not been deployed
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.
Why
An automated dependency audit of this repository's lock reported three advisories. Only the ones that are actually reachable or shipped are addressed here; the remainder is listed under "Not changed" with the reasoning.
1.
certifi==2026.7.22— GHSA-6q48-6c7w-9gw2 (runtime-relevant)certifi before
2026.10.18ships theemSign ECC Root CA - G3root while eight eMudhra intermediate CA certificates chaining to it had their private keys compromised and were revoked. Anyone holding one of those intermediate keys can mint certificates that chain to a root still trusted by the bundle.That matters for this SDK specifically because
httpxbuilds its TLS context from certifi's bundle. A consumer runningpip install proofline-sdk[dev](or the lock in this repository) would trust that bundle, so an on-path attacker with one of the compromised keys could present a valid-looking certificate for the API host and read or rewrite review traffic. No attacker interaction with the SDK is required beyond being on path — the trust anchor is simply wrong. That is exactly the scenario the CA revocation was issued for.Bumped to
2026.10.23, the first release after the bundle update.2.
pytest==8.4.2— GHSA-6w46-j5rx-g56g (dev-only)pytest ≤ 9.0.2 creates
/tmp/pytest-of-{user}from a predictable name, which lets another local account pre-create it as a symlink and cause a denial of service or worse on shared CI hosts. Fixed in9.0.3; bumped to9.2.0.3.
pytest-asyncio(required by the above)pytest-asyncio 1.2.0pinspytest>=8.2,<9, so9.2.0needspytest-asyncio >= 1.4. Bumped to1.4.0(pytest<10,>=8.4), which is the smallest version that widens the constraint.Verification
python3 scripts/check.pypasses end to end on this branch: generation check, HTTP contracts, ruff, mypy, pytest, wheel and sdist builds, and the install smoke test against both artifacts.Not changed
Nothing else in the audit needed action. The remaining advisories it surfaced do not touch code this repository ships or runs.