You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using `unregisterFunction(functionSelector, false)` to remove a function schema while roles still hold permissions for the selector, then attempting to create or execute new transactions using the stale selector.
2097
+
2098
+
**Attack Scenario**:
2099
+
```solidity
2100
+
// 1. Register function schema and grant role permission for EXECUTE_TIME_DELAY_REQUEST
Copy file name to clipboardExpand all lines: test/foundry/docs/FINAL_COVERAGE_REPORT.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# Final Fuzz Test Coverage Report
2
2
3
-
**Date**: February 21, 2026
3
+
**Date**: March 3, 2026
4
4
**Status**: ✅ **COMPREHENSIVE TEST SUITE COMPLETE**
5
5
**Goal**: 100% Coverage of All Attack Vectors
6
6
7
7
---
8
8
9
9
## Summary
10
10
11
-
A comprehensive fuzz test suite covers **all 207+ attack vectors** identified in the security analysis, plus **21 protocol-vulnerabilities-index-derived vectors** (see [Attack Vectors Codex §18](./ATTACK_VECTORS_CODEX.md#18-protocol-vulnerabilities-index-derived-vectors)). The suite consists of **14 comprehensive fuzz files** with **148 tests**, plus additional fuzz, invariant, and unit tests: **37 test suites, 309 tests** (all passing as of last full run).
11
+
A comprehensive fuzz test suite covers **all 207+ attack vectors** identified in the security analysis, plus **21 protocol-vulnerabilities-index-derived vectors** (see [Attack Vectors Codex §18](./ATTACK_VECTORS_CODEX.md#18-protocol-vulnerabilities-index-derived-vectors)). The suite consists of **14 comprehensive fuzz files** with **149 tests**, plus additional fuzz, invariant, and unit tests: **38 test suites, 308 tests** (all passing as of last full run, including `UnregisterFunctionFuzz.t.sol`).
12
12
13
13
---
14
14
@@ -97,8 +97,8 @@ A comprehensive fuzz test suite covers **all 207+ attack vectors** identified in
97
97
- ✅ Malicious forwarder isolation
98
98
- ✅ Gas exhaustion handling
99
99
100
-
### Target Whitelist & Function Schema (6 vectors)
101
-
- ✅ **100% coverage** - 8/8 tests passing
100
+
### Target Whitelist & Function Schema (7 vectors)
101
+
- ✅ **100% coverage** - 9/9 tests passing
102
102
- ✅ Empty whitelist denial
103
103
- ✅ Whitelist removal prevention
104
104
- ✅ Handler selector validation
@@ -154,22 +154,22 @@ A comprehensive fuzz test suite covers **all 207+ attack vectors** identified in
*Covered in other test files. §18: 17 vectors covered by comprehensive suite; 4 N/A (no delegatecall/approve-before-call/proxy pattern).
166
166
167
167
---
168
168
169
169
## Test Execution Results
170
170
171
-
### Current Status (February 2026)
172
-
- ✅ **37 test suites**, **309 tests** (all passing; includes 14 comprehensive fuzz files with 148 tests)
171
+
### Current Status (March 2026)
172
+
- ✅ **38 test suites**, **308 tests** (all passing; includes 14 comprehensive fuzz files with 149 tests and additional targeted fuzz like `UnregisterFunctionFuzz.t.sol`)
Copy file name to clipboardExpand all lines: test/foundry/docs/TEST_EXECUTION_GUIDE.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
11
11
This guide provides comprehensive instructions for executing the Bloxchain Protocol test suite, including comprehensive fuzz tests, unit tests, integration tests, and security tests.
12
12
13
-
**Test Suite Status**: ✅ **All tests passing** (37 test suites, 309 tests passed)
13
+
**Test Suite Status**: ✅ **All tests passing** (38 test suites, 308 tests passed)
14
14
15
15
---
16
16
@@ -41,7 +41,7 @@ forge test --match-test "testFuzz_BatchOperationAtomicity" -vv
41
41
## Test Suite Structure
42
42
43
43
### Full suite summary
44
-
-**37 test suites**, **309 tests** (all passing). Includes fuzz, unit, integration, and security tests.
44
+
-**38 test suites**, **308 tests** (all passing). Includes fuzz, unit, integration, and security tests.
45
45
46
46
### Comprehensive Fuzz Tests (10 files – subset of full suite)
0 commit comments