Solutions

Company

Resources

Blog

Contact

Login

    • Assurance

      Smart Contract Assessment

      Securing code integrity, protecting digital assets

      Blockchain Layer 1 Assessment

      Assessing protocols, securing blockchain foundations

      Code Security Audit

      Uncovering flaws, strengthening software integrity

      Web Application Penetration Testing

      Exposing weaknesses, fortifying digital defenses

      Cloud Infrastructure Penetration Testing

      Securing configurations, protecting critical environments

      Red Team Exercise

      Simulating real-world attacks, strengthening defenses

      AI Red Teaming

      Testing AI systems against real threats

      AI Security Assessment

      Securing AI models, data, and pipelines

    • Advisory

      AI Advisory

      Guiding secure, strategic AI adoption forward

      Risk Assessment

      From unknown threats to actionable insights

      Blockchain Architecture Assessment

      Optimizing architecture for tomorrow’s networks

      Compliance Readiness

      Stay ready as regulations evolve

      Custody and Key Management Assessment

      Securing the heart of digital custody

      Technical Due Diligence

      See the risks before you invest

      Technical Training

      Empower your teams to secure what matters

    • Who We Are

      The best security engineers in the world

      Careers

      Work with the elite

      Who Trusts Us

      The trusted security advisor for blockchain and financial services industries

      Brand

      Access official logos, fonts, and guidelines

      Service Commitments

      Committed to Protecting Your Data

    • Audits

      In-depth evaluations of smart contracts and blockchain infrastructures

      BVSS

      Blockchain Vulnerability Scoring System

      Disclosures

      All the latest vulnerabilities discovered by Halborn

      Case Studies

      How Halborn’s solutions have empowered clients to overcome security issues

      Reports

      Comprehensive reports and data

  • Blog

  • Contact

  • Login

THIS WEBSITE USES COOKIES

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you've provided to them or that they've collected from your use of their services. You consent to our cookies if you continue to use our website. Learn More.

STAY CURRENT WITH HALBORN

Subscribe to the monthly Halborn Digest for our top blogs and videos, major company announcements, new whitepapers, webinar and event invites, and one exclusive interview.

ADVISORY SERVICES

AI AdvisoryRisk AssessmentBlockchain Architecture AssessmentCompliance ReadinessCustody and Key Management AssessmentTechnical Due DiligenceTechnical Training

ASSURANCE SERVICES

AI Security AssessmentAI Red TeamingSmart Contract AssessmentBlockchain Layer 1 AssessmentCode Security AuditWeb Application Penetration TestingCloud Infrastructure Penetration TestingRed Team Exercise

COMPANY

Who We AreWho Trusts UsService CommitmentsCareersBrandBlogContact

RESOURCES

AuditsDisclosuresReportsBVSSCase Studies
Halborn Logo
Privacy PolicyTerms of UseVulnerability Disclosure Policy

© Halborn 2025. All rights reserved.

Background

// Security Assessment

09.29.2025 - 10.16.2025

Glow Margin Vaults

Blueprint Finance

Halborn logotext
← Back to Audits

Glow Margin Vaults - Blueprint Finance


Prepared by:

Halborn Logo

HALBORN

Last Updated 11/26/2025

Date of Engagement: September 29th, 2025 - October 16th, 2025

Summary

100% of all REPORTED Findings have been addressed

All findings

10

Critical

1

High

1

Medium

0

Low

2

Informational

6


Table of Contents

  • 1. Introduction
  • 2. Assessment summary
  • 3. Scope
  • 4. Findings overview

1. Introduction

The Glow team engaged Halborn to conduct a security assessment on their Glow Vault Solana program beginning on September 29 2025, and ending on October 16, 2025. The security assessment was scoped to the Solana Programs provided in glow-v1 GitHub repository. Commit hashes and further details can be found in the Scope section of this report.


The Glow Vault program allows users to deposit funds that are then operated by designated parties to earn returns. Users deposit funds via direct deposits or margin account transfers into the vault, and are minted a vault token representing shares of the vault. The program charges management and performance fees at the time of withdrawal.

2. Assessment Summary

Halborn was provided 2.5 weeks for the engagement and assigned one full-time security engineer to review the security of the Solana Programs in scope. The engineer is a blockchain and smart contract security expert with advanced smart contract hacking skills, and deep knowledge of multiple blockchain protocols.

The purpose of the assessment is to:

    • Identify potential security issues within the Solana Programs.

    • Ensure that smart contract functionality operates as intended.


In summary, Halborn identified some opportunities to reduce the likelihood and impact of risks, and the Glow team implemented improvements to address them. The main ones were the following:

    • Ensure both management and performance fees accounting is correctly handled.

    • Ensure the performance fees are charged on actual profit at the time of withdrawal.

    • Validate that operators have correct permissions.

The recommendation rated as low-risk to validate potentially dangerous or incompatible Token2022 extensions has been partially addressed, with a comprehensive solution already planned by the Glow team for upcoming releases.

3. SCOPE

REPOSITORY
(a) Repository: glow-v1
(b) Assessed Commit ID: https://github.com/Blueprint-Finance/glow-v1/pull/2437/commits/afde596e321892f23f396e4887cff1c5db3b2aff
(c) Items in scope:
  • Anchor.toml
  • programs/margin-pool/src/instructions/withdraw.rs
  • programs/margin/src/adapter.rs
  • programs/margin/src/instructions.rs
  • programs/margin/src/instructions/close_account.rs
  • programs/margin/src/instructions/configure/configure_account_constraints.rs
  • programs/margin/src/instructions/configure/mod.rs
  • programs/margin/src/instructions/positions/transfer_deposit.rs
  • programs/margin/src/lib.rs
  • programs/margin/src/seeds.rs
  • programs/margin/src/state/account.rs
  • programs/margin/src/state/config.rs
  • programs/vault/Cargo.toml
  • programs/vault/Xargo.toml
  • programs/vault/src/events.rs
  • programs/vault/src/instructions.rs
  • programs/vault/src/instructions/admin/accept_account_change.rs
  • programs/vault/src/instructions/admin/accrue_performance_fees.rs
  • programs/vault/src/instructions/admin/assign_vault_operator_admin.rs
  • programs/vault/src/instructions/admin/configure_vault.rs
  • programs/vault/src/instructions/admin/create_vault.rs
  • programs/vault/src/instructions/admin/mod.rs
  • programs/vault/src/instructions/admin/propose_account_change.rs
  • programs/vault/src/instructions/operator/close_operator_margin_account.rs
  • programs/vault/src/instructions/operator/create_operator_margin_account.rs
  • programs/vault/src/instructions/operator/mod.rs
  • programs/vault/src/instructions/operator/operator_deposit_to_vault.rs
  • programs/vault/src/instructions/operator/operator_transfer_from_margin.rs
  • programs/vault/src/instructions/operator/operator_transfer_to_margin.rs
  • programs/vault/src/instructions/operator/operator_withdraw_from_vault.rs
  • programs/vault/src/instructions/user/cancel_vault_pending_withdrawal.rs
  • programs/vault/src/instructions/user/create_vault_pending_withdrawal.rs
  • programs/vault/src/instructions/user/deposit.rs
  • programs/vault/src/instructions/user/execute_vault_withdrawal.rs
  • programs/vault/src/instructions/user/initiate_withdrawal.rs
  • programs/vault/src/instructions/user/mod.rs
  • programs/vault/src/instructions/valuation/mod.rs
  • programs/vault/src/instructions/valuation/update_operator_margin_account_position.rs
  • programs/vault/src/instructions/valuation/update_operator_wallet_position.rs
  • programs/vault/src/instructions/valuation/update_vault_balances.rs
  • programs/vault/src/lib.rs
  • programs/vault/src/seeds.rs
  • programs/vault/src/state/mod.rs
  • programs/vault/src/state/operator.rs
  • programs/vault/src/state/operator_position.rs
  • programs/vault/src/state/pending_withdrawals.rs
  • programs/vault/src/state/proposal.rs
  • programs/vault/src/state/vault.rs
  • programs/vault/src/state/vault_user.rs
  • programs/vault/src/utils/margin_accounts.rs
  • programs/vault/src/utils/mod.rs
  • programs/vault/src/utils/tokens.rs
  • Anchor.toml
  • programs/margin-pool/src/instructions/withdraw.rs
  • programs/margin/src/adapter.rs
↓ Expand ↓
Out-of-Scope: Changes that are not part of the Pull Request 2437, third party dependencies and economic attacks.
Remediation Commit ID:
  • 0299a8a
  • fa1b70f
  • 1ef1ff7
  • fef8113
  • 6a40da6
  • 4839576
  • 295c8a7
  • f6d76b1
Out-of-Scope: New features/implementations after the remediation commit IDs.

4. Findings Overview

Security analysisRisk levelRemediation
Incorrect fees handlingCriticalSolved - 11/07/2025
Users may pay performance fees from unrealized profitsHighSolved - 11/07/2025
Missing Token 2022 extensions validationLowPartially Solved - 10/22/2025
Insuffient operator permissions checkLowSolved - 10/22/2025
Incorrect pending withdrawal shares calculationInformationalSolved - 10/22/2025
Reliance on Manual or Off-Chain ActionsInformationalAcknowledged - 11/05/2025
Incorrect redundant position freshness validationInformationalSolved - 11/23/2025
Missing instructions to withdraw uncollected feesInformationalFuture Release - 10/24/2025
Unnecessary Token program resolutionInformationalSolved - 11/23/2025
Passing unnecessary accountsInformationalSolved - 10/22/2025

Halborn strongly recommends conducting a follow-up assessment of the project either within six months or immediately following any material changes to the codebase, whichever comes first. This approach is crucial for maintaining the project’s integrity and addressing potential vulnerabilities introduced by code modifications.

Table of Contents

  • 1. Introduction
  • 2. Assessment summary
  • 3. Scope
  • 4. Findings overview

// Download the full report

Glow Margin Vaults

* Use Google Chrome for best results

** Check "Background Graphics" in the print settings if needed