deps: upgrade all dependencies (closes 12 Dependabot alerts) + add SECURITY.md - #784
Merged
Conversation
Closes all 12 open Dependabot alerts (7 high, 3 moderate, 2 low): gitpython 3.1.57 -> 3.1.61 (6 alerts: 5 high, 1 moderate) tornado 6.5.7 -> 6.5.8 (3 alerts: 1 high, 1 moderate, 1 low) mistune 3.3.0 -> 3.3.4 (1 high) setuptools 81.0.0 -> 84.0.0 (1 moderate) torch 2.11.0 -> 2.14.0 (1 low) The gitpython alerts had stayed open even though PR #779 claimed to bump it to 3.1.58. That branch had been force-pushed to the malicious commit 9cb1eab, so merging it delivered malware instead of the dependency fix (see #781). Two changes were needed to move torch at all: - The CUDA wheel index moves from cu128 to cu130. The cu128 index stops at torch 2.11.0, so the vulnerable version could not be fixed on it. This raises the NVIDIA driver requirement for users installing the GPU build. - torchaudio is removed. Its newest release anywhere is 2.11.0 and it pins torch==2.11.0, so it blocks every torch upgrade. Nothing in BindsNET imports it; 'grep -rn torchaudio --include=*.py' returns no matches. The rest of the lock file is a full re-resolve to current versions. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Two things, both wanted on master.
1. SECURITY.md (commit fe320fd)
Adds a security policy: how to report privately, which versions are supported, what repository-integrity controls are now in place, and a pointer to #781.
2. Dependency upgrade (commit 77fe156)
Closes all 12 open Dependabot security alerts (7 high, 3 moderate, 2 low).
The rest of
poetry.lockis a full re-resolve to current versions.Why the gitpython alerts were still open
PR #779 claimed to bump gitpython to 3.1.58 and was merged on 2026-08-31. It did not. That branch had been force-pushed to the malicious commit
9cb1eab5, so merging it delivered malware instead of the dependency fix. See #781.Breaking: the CUDA wheel index moves from cu128 to cu130
The cu128 index stops at torch 2.11.0, the vulnerable version, so this alert cannot be fixed without changing the index.
Verified on an RTX 2070 (Turing, sm_75):
Turing and newer are fine. Pascal (GTX 10-series) and Volta (V100) are not in the arch list and lose GPU support. This is a deliberate, accepted trade-off.
Breaking: torchaudio is removed
Its newest release anywhere is 2.11.0 and it pins
torch==2.11.0, so it blocks every torch upgrade. Nothing in BindsNET imports it (grep -rn torchaudio --include='*.py' .returns no matches), so it was a declared dependency that was never used. Removing it also cuts install size.Testing
Full suite on Python 3.11 against torch 2.14.0+cu130, numpy 2.4.6, pandas 3.0.5, scipy 1.17.1, numba 0.67.0, matplotlib 3.11.1:
The three warnings are pre-existing or come from dependencies, not BindsNET.
🤖 Generated with Claude Code