Omniscia Bluejay Finance Audit
Manual Review
Manual Review
A thorough line-by-line review was conducted on the codebase to identify potential malfunctions and vulnerabilities in the novel bond and price stabilization mechanism introduced by Bluejay Finance.
As the project at hand implements a bond implementation and price stabilization mechanism, intricate care was put into ensuring that the flow of funds within the system conforms to the specifications and restrictions laid forth within the protocol's specification and that all protocol integrations have been performed correctly.
We validated that all state transitions of the system occur within sane criteria and that all rudimentary formulas within the system execute as expected. We pinpointed multiple misbehaviours within the system which could have had moderate-to-severe ramifications to its overall operation, however, they were conveyed ahead of time to the Bluejay Finance team to be promptly remediated.
Additionally, the system was investigated for any other commonly present attack vectors such as re-entrancy attacks, mathematical truncations, logical flaws and ERC / EIP standard inconsistencies. The documentation of the project was satisfactory to a great extent.
A total of 40 findings were identified over the course of the manual review of which 18 findings concerned the behaviour and security of the system. The non-security related findings, such as optimizations, are included in the separate Code Style chapter.
The finding table below enumerates all these security / behavioural findings:
ID | Severity | Addressed | Title |
---|---|---|---|
BBD-01M | Inexistent Validation of Bond Existence | ||
BTN-01M | Fluid Token Minting System | ||
BGR-01M | Inexistent Sanitization of Adjustment Duration | ||
BRR-01M | Inexistent Validation of Bond Existence | ||
BRR-02M | Inexplicable Capability of Re-Invocation | ||
PSR-01M | Insufficiently Protected Capability of Oracle Adjustment | ||
SBD-01M | Inexistent Enforcement of Security Note | ||
SBD-02M | Inexplicable Capability of Oracle Adjustment | ||
SEE-01M | Inherent Race Condition of Pair Creation | ||
SEE-02M | Inexplicable Capability for Arbitrary Mints | ||
STE-01M | Fluid Token Minting System | ||
STN-01M | Improper Conformity to ERC-20 Standard | ||
TRE-01M | Inherent Race Condition of Limit Decrease | ||
TBD-01M | Inexplicable Capability of Governor Adjustment | ||
TOE-01M | Improper Calculation of Cumulative Delta | ||
PAC-01M | Inexistent Sanitization of Vesting Start | ||
PAC-02M | Inexistent Price Validation of Purchases | ||
WSP-01M | Inexistent Price Validation of Purchases |