Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

opentensor/bittensor
master @ c4dca6b
39
Fixes
0
CVEs
CRITICAL
Peak severity
Highlights
Auth Bypass: 17 prior fixes. Scrutinize any change in this area.
bittensor/_axon/__init__.py: most-fixed (5 issues). Treat as high-risk during review.
24 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: The Axon server suffered from multiple critical authentication bypasses where empty, missing, or improperly structured signatures bypassed signature validation entirely. This allowed remote attackers to impersonate arbitrary validator hotkeys and spoof network identities.
Denial of Service: Validators are highly vulnerable to Denial of Service (DoS) from remote peers. This includes missing read/write timeouts when querying sluggish peer miners in the dendrite pool, and CUDA device-side assertion crashes caused by un-truncated input sequences or unexpected tensors in the reward models.
Auth Bypass: The gRPC transport and metadata interceptors previously fell victim to signature replay, downgrade attacks, and loose metadata parsing. Attackers could manipulate serialized headers or utilize older protocol versions to execute unauthorized actions.