Hivello V1

Hivello V1 Smart Contract Audit Report

Share
Share
SolanaSolana
DePINToken Lock
SolanaSolana
DePINToken Lock

QuillAudits audited the Hivello V1 smart contracts on Solana between Oct 1, 2024 and Oct 11, 2024. The audit found 9 issues: 1 high, 1 medium, 1 low, 6 informational, of which 8 resolved and 1 acknowledged.

Project Description

The token-contract program facilitates SPL token operations such as creation, transfer, burning, and metadata management by interacting with the SPL token program and token metadata standards on Solana. The staking-contract provides staking functionality, allowing users to stake tokens into different tiers with various token requirements and commitment times, using price feed data for token valuation. Together, these contracts offer a complete solution for token management and staking with built-in validation and tiered staking systems.

Timeline

S1
Oct 1, 2024
S2
Oct 11, 2024

Scope of Audit

The Scope of the Audit Was to Analyse the Code Security, Quality and Correctness of Hivello Rust Programs.

Methodology: the QuillAudits smart contract audit process.

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

High

Medium

Low

Informational

open0000
acknowledged0001
partially resolved0000
resolved1115
Hivello V1

Hivello V1

High Severity Issues

Potential for Admin to Halt Operations by Closing Vault

Resolved
arrow-right
Description

In the close_vault function, the admin has the ability to close the vault, which could prematurely halt all staking operations. This creates a significant risk, as the vault is central to managing the staking tiers, total staked tokens, and staker profiles. If the vault is closed while there are still active stakers or unclaimed rewards, it could result in unintended consequences, such as the loss of user funds, halted staking processes, and the inability to unstake or claim rewards.
    pub fn close_vault(_ctx: Context) -> Result<()> {
        let payer = _ctx.accounts.identity.key();
        require!(payer != ADMIN_PUBKEY, state::ErrorCode::AdminAccountOnly);
        Ok(())
    }

Contract

state.rs

Recommendation

Implement additional validation checks before allowing the vault to be closed. For example, ensure that there are no active staker profiles and that all staked tokens have been unstaked or claimed before the vault can be closed.

Medium Severity Issues

Low Severity Issues

Informational Issues

Appendix

Disclaimer

Hivello V1

Hivello V1

High Severity Issues
Medium Severity Issues
Low Severity Issues
Informational 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