Repository navigation
Upgrade vulnerable dependencies (Dependabot backlog, November 2026) - #1043
Merged
Merged
Conversation
Recompile requirements with --upgrade-package for every package with an open Dependabot alert (certifi, urllib3, idna, webob, black, pytest, pygments, soupsieve, wheel, pip with pip-tools 7.6.2, and setuptools in the tool-only files). Update the npm lockfile with `npm audit fix` and bump mocha to 12 so serialize-javascript can move to 7.x. setuptools stays at 78.1.1 where pyramid is installed because pyramid imports pkg_resources, which setuptools 82+ removed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
karenrasmussen
approved these changes
Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Consolidated upgrade of every package with an open Dependabot alert in this repo (Vanta SOC2 "packages checked for vulnerabilities" tests). One PR instead of the individual Dependabot PRs.
How
requirements/*.txtwas recompiled withpip-compile --allow-unsafe --upgrade-package <pkg>for each vulnerable package, plus the pins that blocked a fix (pathspec and pytokens for black, packaging for wheel). No blanket--upgrade. Compiled in apython:3.11.7linux/amd64 container (matches.python-version).stdlib_pkgswas removed), so pip-tools is bumped to 7.6.2 alongside pip.npm audit fix --package-lock-only(no--force) moved the transitive packages within their existing ranges.serialize-javascript6.0.2 is required by mocha 11 (^6.0.2), and no mocha 11 release moves off it, so mocha goes ^11.1.0 -> ^12.0.3 (devDependency; mocha 12 depends onserialize-javascript ^7.1.1). Nooverrideswere added.Versions
Production (
requirements/requirements.txt) changes certifi, urllib3, idna, webob and packaging (used by gunicorn).Alerts expected to close
115 of 123 open alerts: critical 4/4, high 56/56, medium 46/50, low 9/13.
Deferred
setuptoolsin the pyramid-dependent files (requirements, dev, tests, functests): 4 medium + 4 low. Fixed versions are >= 83.0.0 / 84.1.0, but setuptools 82+ no longer shipspkg_resources, which pyramid 2.0.2 imports at runtime, and pyramid 2.1 itself requiressetuptools<82. Same deferral as h and via. Both advisories are build/install-time only (sdist MANIFEST.in exclusion on macOS filesystems, and a Windows path escape during legacy wheel installs); neither is reachable from the running app on Linux. setuptools was upgraded to 84.2.1 in the tool-only files (checkformatting, coverage, format, lint).Testing (local)
tox -e checkformatting,lint,tests,functests,coverage: all pass (88 unit tests, 100% coverage, functests pass).make frontend-lintandmake frontend-test(karma + ChromeHeadless, mocha 12): pass, 11/11.docker build .: builds; pyramid still imports with setuptools 78.1.1.No code or test changes were needed.
🤖 Generated with Claude Code