Security context

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

latticexyz/mud
main @ 0e49b51
13
Fixes
0
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
packages/world/src/AccessControl.sol: most-fixed (2 issues). Treat as high-risk during review.
11 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: Inadequate namespace validation allows attackers to deploy namespaces containing underscores, causing function signature collisions and potential route hijacking of system-generated world contracts. This can lead to unauthenticated administrative actions.
Auth Bypass: Frontrunning vulnerabilities in registerSystem/registerTable allowed malicious actors to register target namespaces during implicit resource setup, creating unauthorized access controls before legitimate deployment.
Memory Corruption: Inlines assembly operations in Storage.load failed to truncate or mask memory words correctly when loading shorter slices of data than a single storage slot, exposing memory corruption or dirty reads.