OgLong

OgLong Smart Contract Audit Report

Share
Share
SolanaSolana
Runes
SolanaSolana
Runes

QuillAudits audited the OgLong smart contracts on Solana between Jul 20, 2024 and Jul 22, 2024. The audit found 6 issues: 1 high, 5 low, of which 5 resolved and 1 acknowledged.

Project Description

Oglong Bridge is a decentralized application (dApp) built on the Solana blockchain, designed to manage token minting, and burning operations securely. It ensures that only authorized accounts can perform these operations, maintaining the integrity and security of user-owned token accounts.

Timeline

S1
Jul 20, 2024
S2
Jul 22, 2024

Scope of Audit

The scope of this audit was to analyse the OgLong Programs for quality, security, and correctness.

Methodology: the QuillAudits smart contract audit process.

speedometer
0
50%
60%
70%
90%
100%
98.5%
AUDIT SCORE
icon

High

Medium

Low

Informational

open0000
acknowledged0010
partially resolved0000
resolved1040

High Severity Issues

Improper Token Validation in Burn Function

Resolved
arrow-right
Description

The current implementation of the Burn function does not validate if the user is attempting to burn the correct token. This flaw allows users to burn any token, including valueless ones, which is then accounted for by the off-chain logic. Consequently, this can lead to significant financial loss as users could receive tokens on the other side of the bridge without burning the correct tokens.

Contract

programs/oglong-bridge/src/lib.rs

Recommendation

Implement proper token validation within the Burn function to ensure that only the specific bridge token can be burned. This can be achieved by checking the token's mint address and ensuring it matches the bridge token's mint address before proceeding with the burn operation. Additionally, add comprehensive unit tests to verify the correct implementation and prevent similar issues in the future.

Low Severity Issues

Appendix

Disclaimer

OgLong

OgLong

High Severity Issues
Low Severity Issues
Appendix
Disclaimer
View Report PDF

Get an Audit done today for your Smart Contract

Join 1500+ leaders who secured themselves from losing Billion Dollars

cta-banner
cta-banner-bgcta-banner-bg-mobile

Related audits

WE SECURE EVERYTHING YOU BUILD.

From day-zero risk mapping to exchange-ready audits, QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance: secured end to end.

QuillAudits Logo


ISO 27001Circle Alliance Program
Uniswap FoundationAethiropt-collectivePolygon SPNBNB Chain Kickstart

All Rights Reserved. © 2026. QuillAudits - LLC