Audit report published Sep 2024. Fuel · Sway.
| Severity | Count |
|---|---|
| High | 2 |
| Low | 7 |
| Total | 9 |
Safe Edges reviewed RedStone's Fuel SDK between 24 August and 5 September 2024, focusing on the integrity of the price feed mechanism and the timestamp validation implemented in Sway. Nine issues were identified: two High and seven Low. The most significant, H-01, allows an updater to submit an empty feed_ids vector and advance the oracle timestamp without updating prices, so stale prices can be reported as fresh.
H-01 Lack of Validation for Empty feed_ids Allows Oracle Timestamp ManipulationH-02 Missing SRC-5 Ownership Standard ImplementationL-01 SRC-2 Documentation Not FollowedL-02 Redundant join() Function on BytesL-03 Commented Out Code Left in ProductionL-04 Custom FromBytes Trait Instead of From<Bytes>L-05 Unnecessary Payload StructL-06 Use of Magic Numbers in Timestamp LogicL-07 Near Duplicate Functions Across Multiple FilesSend the repository and a commit hash through the contact form, message @bugtester25 on Telegram, or book a 30-minute scoping call. 200+ protocols audited · $4B+ secured · 0 hacks post-audit. Prefer email? info@safeedges.in.