Overview
In the swiftly advancing digital realm, SDKs security has emerged as a crucial aspect for any technology-driven entity. Recognizing the paramount significance of ironclad security, Mysten Labs directed Blaize, a leader in the blockchain technology security domain, to ensure that their SDKs are not just compliant but also impeccable in terms of security standards.
Task
During our audit, we scrutinized the codebase for various vulnerabilities in several stages:
1) Standard vulnerabilities checklists, including but not limited to:
- Transaction-ordering dependence
- Validation of input data
- Vulnerability for Denial-of-Service (DoS) attacks
- Malicious libraries and injections
- Storage issues (uninitialized, unused, etc) and incorrect local variables usage
- Correct processing of raw data (bitmaps and bytearrays)
- Cryptographic primitives review
and other potential vulnerabilities and attack vectors;
2) Business logic decompositions to find loopholes, deadlocks, hidden backdoors, incorrect math and calculations, malicious code injections and other flow related issues;
3) Review of dependencies, integrations and 3rd parties, verified with appropriate integration tests;
4) Our own internal security checklists, additionally verified during the testing stage. The team had the main focus on sustainability of the multisigs implementations against the incorrect data, on checks of correctness of cryptographic primitives usage, testing the cross-compatibility between Rust and TS multisig implementations, detection of deviations in multisig creation process.