Nightly fixtures · JavaScript/TypeScript and Python ecosystems #310

Closed
opened 2026-09-21 17:08:42 +00:00 by sharang · 0 comments
Owner

Part of #309.

Variants

  • npm: package-lock v2 and v3, yarn classic, yarn berry, pnpm, and no lockfile (lockfile generated with --ignore-scripts).
  • Python: pinned requirements.txt, poetry.lock, Pipfile.lock, uv.lock, and a bare pyproject.toml. Ruff must report.
  • Target types: web_app (JS/TS) and backend_service (Python). One of them also goes in as a source-archive upload, so the upload path is covered.

Every fixture plants what it should find:

  • a dependency pinned to a version with a published advisory, so a CVE must appear;
  • a flaw semgrep reports, a committed secret, and, where the language has them, GDPR and OAuth pattern hits.

Its golden baseline records the SBOM components (name, version, package manager) and the expected rule ids exactly, and the CVEs as at least these, because advisory data changes daily.

Acceptance: each variant has a fixture and a baseline, and the nightly asserts both; the code graph builds for JS, TS and Python.

Part of #309. **Variants** - **npm:** package-lock v2 and v3, yarn classic, yarn berry, pnpm, and no lockfile (lockfile generated with `--ignore-scripts`). - **Python:** pinned `requirements.txt`, `poetry.lock`, `Pipfile.lock`, `uv.lock`, and a bare `pyproject.toml`. Ruff must report. - **Target types:** `web_app` (JS/TS) and `backend_service` (Python). One of them also goes in as a source-archive upload, so the upload path is covered. Every fixture plants what it should find: - a dependency pinned to a version with a published advisory, so a CVE must appear; - a flaw semgrep reports, a committed secret, and, where the language has them, GDPR and OAuth pattern hits. Its golden baseline records the SBOM components (name, version, package manager) and the expected rule ids **exactly**, and the CVEs as **at least these**, because advisory data changes daily. **Acceptance:** each variant has a fixture and a baseline, and the nightly asserts both; the code graph builds for JS, TS and Python.
sharang added this to the Production MVP milestone 2026-09-21 17:08:42 +00:00
sharang added the enhancement label 2026-09-21 17:08:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#310