chore(ci): ignore disputed PYSEC-2025-183 in pip-audit#130
Merged
Conversation
PyJWT 2.12.1 (current latest) is flagged by PYSEC-2025-183 for not
enforcing a minimum HMAC key length. Upstream disputes the advisory
("the key length is chosen by the application that uses the
library") and no patched version exists. mnemon's only pyjwt use is
`src/mnemon/oauth_as.py`, which signs/verifies with RS256 against a
2048-bit RSA keypair — algorithm hard-locked, no HS-allowance — so
the advisory describes no condition that applies here.
Adds `--ignore-vuln PYSEC-2025-183` with the rationale inline next
to the existing workflow comment that prescribes this exact pattern
for no-fix advisories. Daily scheduled run on main went green-then-
red on 2026-05-20 as the advisory landed in the OSV database; this
restores the workflow without weakening the audit (any new advisory
on any dep still fails it).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
pip-auditworkflow began failing onmain(4915af3) on 2026-05-20 when a new advisory, PYSEC-2025-183, landed in the OSV database against PyJWT 0.1.1–2.12.1 with no fix version.src/mnemon/oauth_as.py, which signs and verifies with RS256 against a 2048-bit RSA keypair, algorithm hard-locked, no HS-allowance. The advisory describes no condition that applies to this usage.--ignore-vuln PYSEC-2025-183to the workflow with the rationale inline, exactly as the existing workflow comment prescribes for no-fix advisories. Any new advisory on any dep still fails the workflow.Test plan
🤖 Generated with Claude Code