Skip to content

Commit 3f7cb64

Browse files
deps: upgrade all dependencies (closes 12 Dependabot alerts) + add SECURITY.md (#784)
* docs: add SECURITY.md with reporting process and incident note * deps: upgrade all dependencies, closing 12 Dependabot security alerts 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> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 71b8d29 commit 3f7cb64

3 files changed

Lines changed: 1513 additions & 1581 deletions

File tree

SECURITY.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Security Policy
2+
3+
## Reporting a vulnerability
4+
5+
Please report security problems privately rather than in a public issue.
6+
7+
Use GitHub's private reporting form at
8+
https://github.com/BindsNET/bindsnet/security/advisories/new, or email
9+
hananel@hazan.org.il.
10+
11+
Please include what you found, how to reproduce it, and which version or commit
12+
you were on. We aim to acknowledge reports within a few days.
13+
14+
## Supported versions
15+
16+
Security fixes are applied to the `master` branch and to the most recent release
17+
on PyPI. Older releases are not patched.
18+
19+
## Repository integrity
20+
21+
BindsNET is a research library, and its git history is part of what users rely
22+
on. The following controls are in place on this repository:
23+
24+
- Force-pushes and branch deletions are blocked on every branch.
25+
- `master` requires a pull request with an approving review.
26+
27+
A supply-chain incident affecting this repository was reported and remediated in
28+
September 2026; see issue #781 for the full account. No PyPI release was
29+
affected. If you cloned this repository between 2026-08-29 and 2026-09-02 and
30+
opened it in Visual Studio Code, please read that issue.
31+
32+
## What we will never do
33+
34+
BindsNET does not contain, and will never contain, code that runs automatically
35+
when you open the project in an editor. There are no build hooks, no editor
36+
tasks that execute on folder open, and no post-install scripts. If you find
37+
anything of that shape in this repository, treat it as an incident and report it
38+
using the process above.

0 commit comments

Comments
 (0)