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 2026. All rights reserved.

Background

// Security Assessment

08.05.2025 - 08.27.2025

Binding Machine Program

Xitadel

Halborn logotext
← Back to Audits

Binding Machine Program - Xitadel


Prepared by:

Halborn Logo

HALBORN

Last Updated 10/17/2025

Date of Engagement: August 5th, 2025 - August 27th, 2025

Summary

100% of all REPORTED Findings have been addressed

All findings

8

Critical

2

High

2

Medium

0

Low

1

Informational

3


Table of Contents

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

1. INTRODUCTION

Xitadel engaged Halborn to conduct a security assessment on their Solana programs beginning on August 5th, 2025, and ending on August 20th, 2025. The security assessment was scoped to the Solana Programs provided in xitadel-svm GitHub repository. Commit hashes and further details can be found in the Scope section of this report.


Xitadel is pioneering a new standard for capital formation in the Web3 space. As a decentralized LTT protocol, it enables projects to issue over-collateralized LTTs - unlocking capital without selling off native tokens or resorting to risky OTC deals. This model offers a structured, compliant, and sustainable path to financing within the decentralized economy.


NOTE: The codebase in scope (xitadel-svm-audit) was provided as a snapshot from the original repository (xitadel-svm) for the purpose of the review. After the fixes were implemented, they were verified in the original repository at the client’s request through the following pull requests: #106

and #125.

It is important to note that only the fixes addressing the findings identified in the audit report were reviewed. Any functionality or changes beyond the verification of these specific fixes are out of scope for this audit. Similarly, any other modifications not directly related to resolving the reported issues are also considered out of scope.

2. ASSESSMENT SUMMARY

Halborn was provided 10 days 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 improvements to reduce the likelihood and impact of risks, which were addressed by the Xitadel team. The main recommendations were the following:

    • Update the 'activate_ltt' instruction to remove the user supplied 'liquidity' and 'sqrt_price' parameters, and instead compute these values internally.

    • Remove the 'Active' arm from the 'refresh_status' function and ensure all transitions from 'Active' occur only via the 'maturate' instruction.

    • Add a constraint that verifies the provided 'chainlink_program' account matches the expected Chainlink program ID.

    • Require that the entire LP position is withdrawn from the pool and enforce repayment of the full 'token_interest_amount' before allowing the LTT to transition to the 'Matured' state.

    • Make 'token_interest_mint' optional during LTT initialization in 'register_ltt'.


3. SCOPE

REPOSITORY
(a) Repository: xitadel-svm-audit
(b) Assessed Commit ID: e9d4718
(c) Items in scope:
  • programs/xitadel/Cargo.toml
  • programs/xitadel/Xargo.toml
  • programs/xitadel/src/constants.rs
  • programs/xitadel/src/error.rs
  • programs/xitadel/src/lib.rs
  • programs/xitadel/src/processor/harvest_processor.rs
  • programs/xitadel/src/processor/deactivate_ltt_processor.rs
  • programs/xitadel/src/processor/maturate_processor.rs
  • programs/xitadel/src/processor/update_ltt_status_processor.rs
  • programs/xitadel/src/processor/activate_liquidation_processor.rs
  • programs/xitadel/src/processor/fund_ltt_processor.rs
  • programs/xitadel/src/processor/stop_liquidation_processor.rs
  • programs/xitadel/src/processor/mod.rs
  • programs/xitadel/src/processor/withdraw_usdc_processor.rs
  • programs/xitadel/src/processor/execute_liquidation_processor.rs
  • programs/xitadel/src/processor/init_config_processor.rs
  • programs/xitadel/src/processor/activate_ltt_processor.rs
  • programs/xitadel/src/processor/redeem_processor.rs
  • programs/xitadel/src/processor/withdraw_collateral_processor.rs
  • programs/xitadel/src/processor/register_ltt_processor.rs
  • programs/xitadel/src/state/config.rs
  • programs/xitadel/src/state/funding.rs
  • programs/xitadel/src/state/ltt_configuration.rs
  • programs/xitadel/src/state/mod.rs
  • programs/xitadel/src/external_programs.rs
  • programs/xitadel/src/utils.rs
  • programs/xitadel/Cargo.toml
  • programs/xitadel/Xargo.toml
  • programs/xitadel/src/constants.rs
↓ Expand ↓
Out-of-Scope: Economic attack vectors and external dependencies.
Remediation Commit ID:
  • 3e546d1
  • fc6e92d
  • 64bf8ca
  • 18fca60
  • 4e71323
  • 49f9a15
  • a8687a1
  • 90c12be
Out-of-Scope: New features/implementations after the remediation commit IDs.

4. Findings Overview

Security analysisRisk levelRemediation
Unvalidated Pool Parameters in activate_ltt Allow fund drainageCriticalSolved - 09/09/2025
Missing Oracle Program Ownership Check Enables Unintended or Forced Liquidation CriticalSolved - 08/29/2025
Missing Principal Check and Race Condition in update_ltt_status Allow Unsafe Transition to Matured/DefaultedHighSolved - 09/22/2025
Missing Validation in maturate Allows Incomplete Liquidity Withdrawal and Unpaid Token InterestHighSolved - 10/13/2025
Invalid or misconfigured token_interest_mint blocks LTT maturityLowSolved - 09/21/2025
Position NFT and Collateral Permanently Locked in Harvest Vault After DeactivationInformationalSolved - 09/16/2025
Collateral Cannot Be Withdrawn When LTTStatus Is CancelledInformationalSolved - 09/04/2025
Incomplete and Missing Validations of Inputs in register_ltt and redeem instructionsInformationalSolved - 09/18/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

Binding Machine Program

* Use Google Chrome for best results

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