Skip to content

Raise dependency floors to OSV-clean versions - #1

Open
tosfos wants to merge 1 commit into
masterfrom
SLOP-449-dependency-floors
Open

Raise dependency floors to OSV-clean versions#1
tosfos wants to merge 1 commit into
masterfrom
SLOP-449-dependency-floors

Conversation

@tosfos

@tosfos tosfos commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Fixes SLOP-449 (https://wikiteq.atlassian.net/browse/SLOP-449)

Summary

  • requirements.txt used open-ended floors (jinja2>=3.0.0, pytest>=7.0.0) that admit versions with known OSV advisories: pytest < 9.0.3 is affected by CVE-2025-71176 / PYSEC-2026-1845 (predictable /tmp/pytest-of-{user} dirs; local DoS/privilege risk), and Jinja2 3.0.0–3.1.5 each carry advisories.
  • Raise floors to jinja2>=3.1.6 and pytest>=9.0.3, with a pytest<9.0.3 ; python_version < "3.10" escape hatch so older interpreters keep working (pytest 9.x requires Python ≥ 3.10).
  • PyYAML >=6.0 verified clean against OSV and left unchanged.

Verification

  • api.osv.dev per-version queries: jinja2 3.1.6 → 0 advisories; pytest ≥ 9.0.3 unaffected by GHSA-6w46-j5rx-g56g.
  • Fresh venv install of the updated file resolves to pytest 9.1.1 / Jinja2 3.1.6 / PyYAML 6.0.3.
  • Full test suite (6 passed), template validation, and an end-to-end generation run all pass on the resolved versions.

Audit context: org-wide audit of WikiTeq repositories.

pytest>=7.0.0 and jinja2>=3.0.0 allow installs of versions with known
advisories (pytest < 9.0.3: CVE-2025-71176; Jinja2 < 3.1.6). Raise the
floors, keeping a pytest < 9.0.3 escape hatch for Python < 3.10.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9a431c81-6289-4e90-988d-adc5095da320


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant