Repository navigation
Description
What happened
uv run devops ci fails the audit check on a branch that does not touch uv.lock. uv audit reports 5 known vulnerabilities in 2 locked packages:
graphql-core 3.3.0: GHSA-mpqx-q82w-9x46, denial of service by a memory leak in aborted validations.pyasn1 0.6.4: GHSA-9m75-vc3g-4x39, GHSA-mm57-4v3p-rchx, GHSA-fm9c-5rcf-2q5p and GHSA-2qm8-x737-gmw5, all denial of service in decoders.
What should happen
The lock file moves to a fixed version of each package, or the issue records why a fix does not exist yet. The audit check passes on main.
Evidence
Run of uv run devops ci on 2026-10-30 in the worktree of #2806. The summary shows audit fail. All other checks pass.
Proposed design
Problem statement
The uv audit check fails because two locked packages carry known vulnerabilities. graphql-core 3.3.0 has one denial-of-service advisory. pyasn1 0.6.4 has four denial-of-service advisories. The lock file must move to fixed versions so that uv run devops ci passes the audit check on main.
Acceptance criteria
Requirement: graphql-core version is fixed
The lock file SHALL pin a version of graphql-core that is not affected by GHSA-mpqx-q82w-9x46.
Scenario: audit reports no graphql-core finding
- WHEN uv audit runs against the updated uv.lock
- THEN no advisory for graphql-core appears in the output
Requirement: pyasn1 version is fixed
The lock file SHALL pin a version of pyasn1 that is not affected by GHSA-9m75-vc3g-4x39, GHSA-mm57-4v3p-rchx, GHSA-fm9c-5rcf-2q5p, or GHSA-2qm8-x737-gmw5.
Scenario: audit reports no pyasn1 finding
- WHEN uv audit runs against the updated uv.lock
- THEN no advisory for pyasn1 appears in the output
Requirement: audit check passes
The uv run devops ci command SHALL report a passing audit check.
Scenario: ci audit check is green
- WHEN a developer runs
uv run devops cion a branch that includes the lock file change - THEN the
auditcheck reports pass and the overall CI run succeeds
Existing Tool Considered
No alternatives check has run. The project already uses uv as its package manager. uv audit detects the vulnerabilities and uv lock --upgrade-package bumps the locked versions. No separate library is needed. The change is a lock file update with no new code to build, keep or fix.
Key questions
- How should the lock file be updated to the fixed versions?: Run
uv lock --upgrade-package graphql-core --upgrade-package pyasn1to bump only those two packages. This keeps all other locked versions unchanged and minimises the diff. (best practice) [sources: uv.lock]- Chosen: uv lock --upgrade-package for the two packages. Bumps only the vulnerable packages. Smallest diff. Preserves all other pinned versions.
- Rejected: uv lock --upgrade (full re-resolve). Re-resolves every package. Larger diff. Higher risk of unrelated breakage.
- Rejected: Edit pyproject.toml to pin exact versions, then uv lock. Adds a hard pin that will need removal later. The lock file already records the exact version.
- Do the fixed versions of graphql-core and pyasn1 support Python >=3.14 as declared in uv.lock?: Not yet determined. The package metadata for the fixed versions must be checked for a
requires-pythonthat includes 3.14. [sources: uv.lock]
Open questions
- What is the minimum version of graphql-core that fixes GHSA-mpqx-q82w-9x46? (missing verified source)
- What is the minimum version of pyasn1 that fixes GHSA-9m75-vc3g-4x39, GHSA-mm57-4v3p-rchx, GHSA-fm9c-5rcf-2q5p, and GHSA-2qm8-x737-gmw5? (missing verified source)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Oct 30, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(deps)scope of the title gives the scope.Five known security vulnerabilities block the audit check on every branch.The advisory GHSA-mpqx-q82w-9x46 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.Unblocks CI and removes five known denial-of-service vulnerabilities from the dependency tree.The fix is a lock file version bump for two packages.update the locked versions of graphql-core and pyasn1 to fixed releases so that uv audit passesas the change that both ask for.Both items ask to update graphql-core 3.3.0 and pyasn1 0.6.4 in the lock file to fixed releases so that the uv audit check passes.A person closes one of the two if that is so.fix(security): lock graphql-core at 3.3.1 and pyasn1 at 0.6.5 (#2814)
dan-petty commentedon Oct 31, 2026
Dupe of #2808
devops-cli-service commentedon Oct 31, 2026
Refine cannot set this item to Ready at 35e6172 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
docs(agents): check the open issues before filing a failing command (#…