Repository navigation
fix: resolve Snyk dependency findings (urllib3, certifi, setuptools, unused dev deps) - v2.8.1 - #224
Conversation
back merge
Brings back-merge branch up to date with development so master can be back-merged cleanly (DX-20927). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DX-20927 | Back-merge master into development
Bump urllib3, certifi and setuptools to fixed versions and remove unused dev packages (twython, tox, utils, astroid, pytest-html, black) that caused the remaining vulnerability and licence findings. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
The dev requirements no longer include pytest-html, but the pre-push and test-runner hooks ran pytest --html. Pass --html only when pytest-html is installed so the hooks work either way. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Summary
Resolves the open Snyk SCA tickets for this repo (v2.8.1). Only
requirements.txt(dev/CI install list) changes; the runtime requirements insetup.pyare unchanged.Version bumps
urllib3~=2.7.0→~=2.8.0(DX-27845, DX-27846, DX-27851)certifi→>=2026.10.19(critical improper certificate validation)setuptools→>=84.1.0(directory traversal)Removed unused packages (none imported by the SDK) and the findings they caused
tox(+virtualenv,chardet,distlib,filelock,platformdirs,cachetools): DX-27847, DX-27848, DX-27849, DX-27852, DX-23125twython(+oauthlib): DX-27844, DX-27850utils(LGPL-3.0): DX-23129astroid(LGPL-2.1): DX-23123pytest-html(+pytest-metadata): DX-23127, DX-23128black(+pathspec): DX-23126Not fixed: DX-23124 (
certifiMPL-2.0) —certifiis a hard dependency ofrequests; needs a policy exception, not a code change.Version bumped to 2.8.1 with a CHANGELOG entry.
Verification
pip install -r requirements.txtresolves;pip checkreports no broken requirements.snyk test --file=requirements.txt: 0 vulnerabilities; only thecertifiMPL-2.0 licence note remains.Stackon urllib3 2.8.0.config.pywith live credentials).🤖 Generated with Claude Code