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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Maintainers merge contributions at their discretion. Opening a PR does not creat
58
58
59
59
## Core Contracts (`contracts/core/`)
60
60
61
-
The core protocol library under `contracts/core/` is the **audited source of truth** for Bloxchain behavior. It has undergone **external security review**; changes affect deployed security assumptions and require controlled release management.
61
+
The core protocol library under `contracts/core/` is the **audited source of truth** for Bloxchain behavior. It has been independently audited by **Nethermind** (report [NM_0828](audits/nethermind/)); see **[contracts/core/AUDIT.md](contracts/core/AUDIT.md)** for scope, the published report, and change policy. Changes affect deployed security assumptions and require controlled release management.
62
62
63
63
### Who may change core
64
64
@@ -151,7 +151,7 @@ By signing off, you certify the DCO terms (original work or right to submit, per
151
151
152
152
Before contributing, ensure you have:
153
153
154
-
-**Node.js**(v16 or higher)
154
+
-**Node.js****>=22.12.0** for monorepo development (root `engines`; matches `@commitlint/cli` 21.x). SDK **consumers** need **>=18.20.5** at runtime per `sdk/typescript/package.json`.
155
155
-**npm** (v8 or higher)
156
156
-**Truffle** (v5.15 or higher)
157
157
-**Git** (latest version)
@@ -391,7 +391,7 @@ npm run test:coverage
391
391
392
392
## Documentation
393
393
394
-
**Source of truth:** Solidity contracts are the source of truth for protocol API and behavior. The `docs/` directory is generated from contract NatSpec; do not edit those generated files by hand. For the full documentation map, updating process, and audit checklist, see **[CODEBASE_DOCUMENTATION.md](CODEBASE_DOCUMENTATION.md)**.
394
+
**Source of truth:** Solidity contracts are the source of truth for protocol API and behavior. The `docs/` directory is generated from contract NatSpec; do not edit those generated files by hand. For reviewer context and audit scope, see **[TECHNICAL_OVERVIEW.md](TECHNICAL_OVERVIEW.md)** and **[contracts/core/AUDIT.md](contracts/core/AUDIT.md)**; published third-party reports live under **[audits/](audits/README.md)**.
> **Security audit status:**A third-party security audit of the protocol smart contracts is in progress; no independent audit report has been published yet.
@@ -131,7 +131,7 @@ Two workflow patterns share the same **PENDING → EXECUTING → terminal** prog
131
131
132
132
## 🚀 Quick Start
133
133
134
-
**Prerequisites:** Node.js **>=18.20.5**(required for published `@bloxchain/sdk` ESM JSON import attributes; enforced via `engines` + `.npmrc``engine-strict=true`)
134
+
**Prerequisites:** Node.js **>=22.12.0** for this monorepo (dev tooling, CI, `npm ci`; enforced via root `engines` + `.npmrc``engine-strict=true`). Published **`@bloxchain/sdk`** consumers still need **>=18.20.5** at runtime (see `sdk/typescript/package.json`).
Requires Node.js **>=18.20.5**(maintenance/security floor for SDK ESM; see `engines`in `package.json`).
216
+
Requires Node.js **>=22.12.0** for repo development (see root `package.json``engines`). SDK runtime floor for npm consumers remains **>=18.20.5**in `sdk/typescript/package.json`.
217
217
218
218
```bash
219
219
npm run compile:foundry # compile; add :size for 24KB check
@@ -228,7 +228,7 @@ npm run docgen # docs
228
228
229
229
## 📚 Documentation
230
230
231
-
-**[Codebase documentation process & audit checklist](CODEBASE_DOCUMENTATION.md)** – Source of truth, how to update docs, audit-ready checklist
231
+
-**[Core audit & change policy](contracts/core/AUDIT.md)**· **[Nethermind report](audits/nethermind/)** · **[Technical overview](TECHNICAL_OVERVIEW.md)**– Source of truth, reviewer context, published audit
Copy file name to clipboardExpand all lines: SECURITY.md
+33-17Lines changed: 33 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,18 @@
2
2
3
3
## Supported Versions
4
4
5
-
**⚠️ IMPORTANT: Bloxchain Protocol is currently in testing phase and not yet live on mainnet.**
5
+
**⚠️ IMPORTANT: Bloxchain Protocol is not yet live on Ethereum mainnet.** Testnet validation continues; **mainnet deployment is planned soon.**
6
6
7
7
We actively maintain security updates for the following versions:
8
8
9
9
| Version | Supported | Status |
10
10
| ------- | ------------------ | ------ |
11
-
| 1.0.x |:white_check_mark:|Testing phase (third-party audit in progress) |
11
+
| 1.0.x |:white_check_mark:|Pre-mainnet; core audited by Nethermind (see below) |
12
12
| < 1.0 |:x:| End of life |
13
13
14
-
**Note**: A third-party security audit of the protocol smart contracts is in progress; no independent audit report has been published yet. This security policy will become fully effective after third-party audit completion, which will mark the official launch of version 1.0.0.
14
+
**Core smart contracts (`contracts/core/`):** Independently audited by **Nethermind** ([audit index](audits/README.md), [report PDF](audits/nethermind/Nethermind-Bloxchain-Core-NM_0828.pdf), [core policy](contracts/core/AUDIT.md)). The audit applies to the commit recorded in [audits/nethermind/README.md](audits/nethermind/README.md) (see the report PDF for the exact SHA). Later changes to core are outside that report until a re-audit or addendum.
15
+
16
+
Examples, community contracts, and application code under `contracts/examples/` and `contracts/community/` are **not** covered by that engagement.
15
17
16
18
## Reporting a Vulnerability
17
19
@@ -72,36 +74,49 @@ Our State Abstraction framework implements multiple layers of security:
72
74
### Security Best Practices
73
75
74
76
#### For Developers
75
-
- Always use the latest version of our contracts
77
+
- Always use the latest supported version of our contracts
76
78
- Implement proper access controls using our RBAC system
77
79
- Follow our secure development guidelines
78
80
- Test thoroughly using our provided test suites
81
+
- Pin releases and verify them against the [audited core commit](audits/nethermind/README.md) before production use
79
82
80
83
#### For Auditors
81
-
-Review our security architecture documentation
82
-
-Focus on the EngineBlox library core functions
84
+
-Start with [contracts/core/AUDIT.md](contracts/core/AUDIT.md) and the [Nethermind report](audits/nethermind/)
85
+
-Review [TECHNICAL_OVERVIEW.md](TECHNICAL_OVERVIEW.md) and the EngineBlox library
83
86
- Verify multi-signature workflow implementations
84
87
- Check meta-transaction signature validation
85
88
86
89
## Security Audit Status
87
90
88
-
A third-party security audit of the protocol smart contracts is in progress; no independent audit report has been published yet.
|**Mainnet**| Not live yet; deployment planned soon |
105
+
|**Development**| Testing and validation on testnets (e.g. Sepolia) |
106
+
|**Bug bounty**| Program details to be announced around mainnet launch |
89
107
90
-
### Current Status
91
-
-**Development Phase**: Testing and validation ongoing
92
-
-**Third-Party Security Audit**: In progress (report not yet published)
93
-
-**Official Launch**: After third-party audit completion
108
+
### Completed reviews
94
109
95
-
### Completed Reviews
96
-
-**Internal Security Review**: Completed (v1.0.0)
97
-
-**Code Review**: Ongoing with each release
110
+
-**Nethermind (core):**Completed — see [audits/nethermind/](audits/nethermind/)
111
+
-**Internal security review:** Ongoing with releases
112
+
-**Code review:** Ongoing with each release
98
113
99
114
## Bug Bounty Program
100
115
101
-
We are developing a bug bounty program for security researchers. Details will be announced after third-party audit completion and the official launch of version 1.0.0.
116
+
We are developing a bug bounty program for security researchers. Details will be announced in coordination with **mainnet deployment**.
102
117
103
118
### Scope
104
-
- Smart contract vulnerabilities
119
+
- Smart contract vulnerabilities in **audited core** (`contracts/core/`) at the published commit
105
120
- Protocol design flaws
106
121
- Implementation bugs
107
122
- Cryptographic weaknesses
@@ -111,6 +126,7 @@ We are developing a bug bounty program for security researchers. Details will be
111
126
- Physical security issues
112
127
- Issues in third-party dependencies
113
128
- Issues in experimental features
129
+
- Example and community contracts unless explicitly listed in a future program scope
114
130
115
131
## Security Updates
116
132
@@ -145,4 +161,4 @@ We appreciate the security research community's efforts to help keep Bloxchain P
145
161
146
162
*This security policy is subject to updates. Please check back regularly for the latest information.*
Copy file name to clipboardExpand all lines: TECHNICAL_OVERVIEW.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,10 @@ This document provides:
34
34
35
35
**For AI auditors**: Use this as the primary context document. Cross-reference each invariant and restriction with the Codex (section and vector ID) to confirm test coverage and protection status.
36
36
37
+
### Published third-party audit (core)
38
+
39
+
`contracts/core/` was independently audited by **Nethermind** (report NM_0828). Index: [audits/nethermind/README.md](audits/nethermind/README.md) · PDF: [Nethermind-Bloxchain-Core-NM_0828.pdf](audits/nethermind/Nethermind-Bloxchain-Core-NM_0828.pdf) · Policy: [contracts/core/AUDIT.md](contracts/core/AUDIT.md). Record the audited git commit from the report on the engagement README; changes after that commit are outside the report until re-audit.
@@ -265,6 +269,8 @@ The file **test/foundry/docs/ATTACK_VECTORS_CODEX.md** is the authoritative list
265
269
266
270
Use **ATTACK_VECTORS_CODEX.md** for the full list of vector IDs, locations, and related tests.
267
271
272
+
For the formal third-party report, see **[audits/nethermind/](audits/nethermind/README.md)** (complements this document; does not replace it).
273
+
268
274
---
269
275
270
-
*This technical overview is the single source of context for the Bloxchain core protocol. For threat coverage and test references, always cross-check with the Attack Vectors Codex.*
276
+
*This technical overview is the single source of context for the Bloxchain core protocol. For threat coverage and test references, cross-check with the Attack Vectors Codex; for Nethermind engagement scope and report, see [audits/](audits/README.md).*
|`access/RuntimeRBAC.sol`| Dynamic roles and batch config |
24
+
|`execution/GuardController.sol`| Guarded execution and config |
25
+
|`pattern/Account.sol`| Composition of core components |
26
+
|`lib/utils/SharedValidation.sol`| Shared errors and validation |
27
+
|`*/lib/definitions/*Definitions.sol`| Function schemas and default permissions |
28
+
|`*/interface/*.sol`| Core interfaces |
29
+
30
+
## Out of scope
31
+
32
+
Examples, community contracts, components, standards, SDK, and deployment tooling — see [`../README.md`](../README.md).
33
+
34
+
## Using this audit
35
+
36
+
1. Read [`Nethermind-Bloxchain-Core-NM_0828.pdf`](./Nethermind-Bloxchain-Core-NM_0828.pdf) for findings, severities, and the **exact commit** audited.
37
+
2. Update the **Audited commit** line above with that SHA.
38
+
3. Compare your deployment or fork to that commit; changes to `contracts/core/` after that commit are **outside** the report until a re-audit or addendum.
39
+
4. For maintainer change policy and vulnerability reporting, see [`../../contracts/core/AUDIT.md`](../../contracts/core/AUDIT.md) and [`../../SECURITY.md`](../../SECURITY.md).
40
+
41
+
## Related documentation
42
+
43
+
-[`../../contracts/core/AUDIT.md`](../../contracts/core/AUDIT.md) — core audit notice and contribution alignment
44
+
-[`../../TECHNICAL_OVERVIEW.md`](../../TECHNICAL_OVERVIEW.md) — technical map for reviewers
45
+
-[`../../test/foundry/docs/ATTACK_VECTORS_CODEX.md`](../../test/foundry/docs/ATTACK_VECTORS_CODEX.md) — internal test-backed threat catalog (separate from this third-party report)
0 commit comments