Skip to content

Make the security check of our packages actually block bad releases - #96

Open
ianktoo wants to merge 1 commit into
ci/least-privilege-permissionsfrom
ci/dependency-audit-gate
Open

ianktoo wants to merge 1 commit into
ci/least-privilege-permissionsfrom
ci/dependency-audit-gate

Conversation

@ianktoo

@ianktoo ianktoo commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Closes #88. Builds on #95 (this PR targets that branch and retargets to master automatically once #95 merges).

What was affected

The project already ran a check for known security problems in its packages, but only at publish time, and the step was set to ignore its own result. So the check could report problems and the release would still go out. It also never ran on pull requests, so a risky package could be added without anyone being told.

How it affects the app

Nothing changes for people using DataForge today. The gap was in the safety net: before this change, the 104 package problems found in the audit (#87) could have been published in a new release with no warning.

The fix

  • Added a dedicated "Dependency audit" check that runs on every pull request, on every change to master, and every Monday. Weekly runs catch problems that are announced later, even when nobody has touched the code.
  • Any finding now fails the check.
  • The publish workflow no longer ignores the result: a release cannot go out if the audit fails.
  • Two known findings (datasets and fsspec) are explicitly accepted and written down in the file with the reason. They can't be fixed yet because an optional add-on pins the older versions (deps: lockfile has 104 known vulnerabilities (aiohttp, litellm, soupsieve, filelock, urllib3, ...) #87). The list is meant to shrink, not grow.

Status

Refs #88

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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