Skip to content

Update packages to fix 102 of 104 known security problems - #94

Merged
ianktoo merged 1 commit into
masterfrom
fix/dependency-refresh
Nov 15, 2026
Merged

ianktoo merged 1 commit into
masterfrom
fix/dependency-refresh

Conversation

@ianktoo

@ianktoo ianktoo commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Part of #87.

What was affected

A safety scan of the packages DataForge depends on found 104 known security problems across 15 of them. Most were in the libraries that fetch web pages and parse HTML (aiohttp, urllib3, lxml, soupsieve), plus the library that talks to AI providers (litellm), which had 26.

How it affects the app

These libraries handle everything DataForge pulls off the internet and sends to AI providers. A flaw in them could be triggered by a malicious web page or response during a normal scrape. Nobody has reported this happening, but the exposure was real, and the release process wasn't set up to catch it (tracked in #88).

The fix

Updated the project's package list to current versions. The scan now shows 2 remaining problems instead of 104.

Two packages deliberately stay on their current version. SQLAlchemy (the database layer) and pyarrow (data files) had no known problems, and their newest versions are bigger changes than a security refresh should carry. They can be updated on their own later.

What is not fixed

Status

  • Draft, not ready to merge. No application code changed, only the list of exact package versions.
  • Not yet tested. The upgraded versions could not be run on the development machine, because its security policy blocks one of the new packages' components. The full automated checks in this PR (Linux, Windows and macOS, Python 3.11 to 3.14) are the real test.
  • Next step: if the checks are green, mark as ready for review. If any fail, I'll fix or hold back the package causing it.

Upgrades the locked dependency set. The audit of the previous lockfile
reported 104 known vulnerabilities in 15 packages; this lockfile reports 2
(datasets, fsspec), both held back by the optional unsloth extra.

SQLAlchemy is held at 2.0.49 and pyarrow at 23.0.1: neither had advisories,
and their newest releases are a larger change than this security refresh
should carry. No source or pyproject changes.

Refs #87

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ianktoo
ianktoo marked this pull request as ready for review November 15, 2026 00:22
@ianktoo
ianktoo merged commit 4390931 into master Nov 15, 2026
21 checks passed
@ianktoo
ianktoo deleted the fix/dependency-refresh branch November 15, 2026 00:23
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