Skip to content

Security: BCOS Attestation Integrity Fix#2882

Closed
MichaelSovereign wants to merge 21 commits intoScottcjn:mainfrom
MichaelSovereign:security-fix/bcos-commitment-validation
Closed

Security: BCOS Attestation Integrity Fix#2882
MichaelSovereign wants to merge 21 commits intoScottcjn:mainfrom
MichaelSovereign:security-fix/bcos-commitment-validation

Conversation

@MichaelSovereign
Copy link
Copy Markdown
Contributor

Summary

This PR addresses a critical security flaw in the BCOS attestation endpoint where the report content was not being verified against the provided cryptographic commitment during submission.

Changes

  1. Mandatory Commitment Verification: Added a call to in the route. This ensures that the report body being stored on-chain actually hashes to the commitment that was signed by the reviewer.
  2. Tamper Prevention: Prevents attackers from submitting a validly signed commitment while swapping the report content for malicious or fraudulent data.

Closes #7442

@MichaelSovereign MichaelSovereign requested a review from Scottcjn as a code owner May 2, 2026 05:19
@github-actions github-actions Bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) node Node server related tests Test suite changes size/XL PR: 500+ lines labels May 2, 2026
@Scottcjn Scottcjn closed this May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) node Node server related size/XL PR: 500+ lines tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants