Security context

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

meshplus/bitxhub
master @ babba66
43
Fixes
0
CVEs
HIGH
Peak severity
56.8%
Coverage
Highlights
Auth Bypass: 23 prior fixes. Scrutinize any change in this area.
internal/executor/contracts/appchain_manager.go: most-fixed (7 issues). Treat as high-risk during review.
27 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: Attackers can bypass administrative checks during appchain registration and state modification due to missing CrossInvoke checks to verify roles and direct address identities instead of public keys. This allows unauthorized actors to register appchains or hijack identities.
Cryptographic Signature Verification Bypass: Validation performed on incomplete serialization payloads instead of full IBTP envelopes allows forged validation proofs to be injected into the proof pool.
Denial of Service: Executing WASM smart contracts without active gas metering enables untrusted code execution to fall into infinite loops, consuming host CPU resources and stalling validators.